Re: [PATCH -next] drm/etnaviv: remove unneeded if-null-free check

2021-04-09 Thread Christian Gmeiner
eck before some freeing functions is not needed. > > Signed-off-by: Qiheng Lin Reviewed-by: Christian Gmeiner -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy

Re: [PATCH] drm/etnaviv: Remove redundant NULL check

2021-03-23 Thread Christian Gmeiner
it.c:618:2-8: WARNING: NULL > check before some freeing functions is not needed. > > ./drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:616:2-8: WARNING: NULL > check before some freeing functions is not needed. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong R

[PATCH] drm/etnaviv: provide more ID values via GET_PARAM ioctl.

2020-12-16 Thread Christian Gmeiner
Make it possible for the user space to access these ID values. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 12 include/uapi/drm/etnaviv_drm.h| 3 +++ 2 files changed, 15 insertions(+) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b

Re: [PATCH 0/4] drm/etnaviv: add total hi bandwidth perf counters

2020-09-11 Thread Christian Gmeiner
Hi Lucas, almost one month has passed since I sent this little patch series - is there any update on this? Am Fr., 14. Aug. 2020 um 11:05 Uhr schrieb Christian Gmeiner : > > This little patch set adds support for the total bandwidth used by HI. The > basic hi bandwidth read-out is qui

Re: [PATCH] drm/etnaviv: fix external abort seen on GC600 rev 0x19

2020-08-23 Thread Christian Gmeiner
; Uhh.. okay.. just send a V2 - thanks for testing :) -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy

[PATCH v2] drm/etnaviv: fix external abort seen on GC600 rev 0x19

2020-08-23 Thread Christian Gmeiner
these two registers on the affected GPU core. Signed-off-by: Christian Gmeiner Reported-by: Josua Mayer Fixes: 815e45bbd4d3 ("drm/etnaviv: determine product, customer and eco id") Cc: sta...@vger.kernel.org --- Changelog: V2: - use correct register for conditional reads. --- drive

[PATCH] drm/etnaviv: fix external abort seen on GC600 rev 0x19

2020-08-21 Thread Christian Gmeiner
these two registers on the affected GPU core. Signed-off-by: Christian Gmeiner Reported-by: Josua Mayer Fixes: 815e45bbd4d3 ("drm/etnaviv: determine product, customer and eco id") Cc: sta...@vger.kernel.org --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 11 +-- 1 file changed, 9

[PATCH 4/4] drm/etnaviv: add pipe_select(..) helper

2020-08-14 Thread Christian Gmeiner
Replace the open coded pixel pipe selection pattern with a function. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 24 +++ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/drivers

[PATCH 2/4] drm/etnaviv: call perf_reg_read(..)

2020-08-14 Thread Christian Gmeiner
Replace the open coded access pattern with a function call. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c

[PATCH 3/4] drm/etnaviv: add total hi bandwidth perfcounter

2020-08-14 Thread Christian Gmeiner
These two perf counters represent the total read and write GPU bandwidth in terms of 64bits. The used sequence was taken from Vivante kernel driver. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 35 ++- 1 file changed, 34 insertions(+), 1

[PATCH 0/4] drm/etnaviv: add total hi bandwidth perf counters

2020-08-14 Thread Christian Gmeiner
This little patch set adds support for the total bandwidth used by HI. The basic hi bandwidth read-out is quite simple but I needed to add some little clean-ups to make it nice looking. Christian Gmeiner (4): drm/etnaviv: rename pipe_reg_read(..) drm/etnaviv: call perf_reg_read(..) drm

[PATCH 1/4] drm/etnaviv: rename pipe_reg_read(..)

2020-08-14 Thread Christian Gmeiner
pipe_reg_read(..) iterates over all pixel pipes, selects a perf counter register and sums the actual perf counter value. Rename the function to reflect more what it is actual doing. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 30 +++ 1

Re: [PATCH 0/4] Add support for GPU load values

2020-07-10 Thread Christian Gmeiner
Hi Lucas, Am Fr., 10. Juli 2020 um 10:44 Uhr schrieb Christian Gmeiner : > > Hoi Lucas > > Am Fr., 10. Juli 2020 um 10:31 Uhr schrieb Lucas Stach > : > > > > Hi Christian, > > > > Am Freitag, den 10.07.2020, 09:41 +0200 schrieb Christian Gmeiner: > >

Re: [PATCH 2/4] drm/etnaviv: add loadavg accounting

2020-07-10 Thread Christian Gmeiner
Hoi Lucas, Am Fr., 10. Juli 2020 um 10:19 Uhr schrieb Lucas Stach : > > Hi Christian, > > Am Freitag, den 10.07.2020, 09:41 +0200 schrieb Christian Gmeiner: > > The GPU has an idle state register where each bit represents the idle > > state of a sub-GPU compone

Re: [PATCH 0/4] Add support for GPU load values

2020-07-10 Thread Christian Gmeiner
Hoi Lucas Am Fr., 10. Juli 2020 um 10:31 Uhr schrieb Lucas Stach : > > Hi Christian, > > Am Freitag, den 10.07.2020, 09:41 +0200 schrieb Christian Gmeiner: > > This patch series add support for loadavg values for GPU > > sub-components. I am adding a SMA algorithm as I

[PATCH 3/4] drm/etnaviv: show loadavg in debugfs

2020-07-10 Thread Christian Gmeiner
Might be helpful to see the loadavg in debugfs. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c index

[PATCH 4/4] drm/etnaviv: export loadavg via perfmon

2020-07-10 Thread Christian Gmeiner
Make it possible to access the sub-GPU component load value from user space with the perfmon infrastructure. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 79 +++ 1 file changed, 79 insertions(+) diff --git a/drivers/gpu/drm/etnaviv

[PATCH 1/4] drm/etnaviv: add simple moving average (SMA)

2020-07-10 Thread Christian Gmeiner
This adds a SMA algorithm inspired by Exponentially weighted moving average (EWMA) algorithm found in the kernel. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_sma.h | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 drivers/gpu/drm

[PATCH 2/4] drm/etnaviv: add loadavg accounting

2020-07-10 Thread Christian Gmeiner
with a percentage based load of each sub-GPU component. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 14 drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 32 +++ drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 29 3 files changed, 75

[PATCH 0/4] Add support for GPU load values

2020-07-10 Thread Christian Gmeiner
This patch series add support for loadavg values for GPU sub-components. I am adding a SMA algorithm as I was not really sure if EWMA would be a good fit for this use case. Christian Gmeiner (4): drm/etnaviv: add simple moving average (SMA) drm/etnaviv: add loadavg accounting drm/etnaviv

[PATCH v2] drm/etnaviv: fix perfmon domain interation

2020-05-18 Thread Christian Gmeiner
at all. The fix for this off-by-one error is quite simple. Reported-by: Paul Cercueil Tested-by: Paul Cercueil Fixes: ed1dd899baa3 ("drm/etnaviv: rework perfmon query infrastructure") Cc: sta...@vger.kernel.org Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv

Re: [PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-18 Thread Christian Gmeiner
Hi Lucas, Am So., 17. Mai 2020 um 14:03 Uhr schrieb Lucas Stach : > > Hi Christian, > > Am Montag, den 11.05.2020, 14:37 +0200 schrieb Christian Gmeiner: > > The GC860 has one GPU device which has a 2d and 3d core. In this case > > we want to expose perfmon in

Re: [PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-15 Thread Christian Gmeiner
Am Fr., 15. Mai 2020 um 12:33 Uhr schrieb Lucas Stach : > > Am Freitag, den 15.05.2020, 12:27 +0200 schrieb Christian Gmeiner: > > Am Fr., 15. Mai 2020 um 12:24 Uhr schrieb Lucas Stach > > : > > > Am Freitag, den 15.05.2020, 12:12 +0200 schrieb Paul Cer

Re: [PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-15 Thread Christian Gmeiner
Am Fr., 15. Mai 2020 um 12:24 Uhr schrieb Lucas Stach : > > Am Freitag, den 15.05.2020, 12:12 +0200 schrieb Paul Cercueil: > > Hi Christian, > > > > Le ven. 15 mai 2020 à 12:09, Christian Gmeiner > > a écrit : > > > Am Mo., 11. Mai 2020

Re: [PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-15 Thread Christian Gmeiner
Hi Paul Am Fr., 15. Mai 2020 um 12:12 Uhr schrieb Paul Cercueil : > > Hi Christian, > > Le ven. 15 mai 2020 à 12:09, Christian Gmeiner > a écrit : > > Am Mo., 11. Mai 2020 um 14:38 Uhr schrieb Christian Gmeiner > > : > >> > >> The GC860

Re: [PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-15 Thread Christian Gmeiner
Am Mo., 11. Mai 2020 um 14:38 Uhr schrieb Christian Gmeiner : > > The GC860 has one GPU device which has a 2d and 3d core. In this case > we want to expose perfmon information for both cores. > > The driver has one array which contains all possible perfmon domains > with some met

Re: [PATCH] drm/etnaviv: Fix the pm_domain lookup

2020-05-14 Thread Christian Gmeiner
out that it's because pm_domain() returns a pointer outside any > any of the etnaviv_pm_domains. Unless I'm mistaken, the algorithm in > pm_domain() is entirely botched when GPU's features match more than one > domain. This tries to remedy it. > > Tested with kmscube with mesa 20 on om

[PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-11 Thread Christian Gmeiner
at all. The fix for this off-by-one error is quite simple. Reported-by: Paul Cercueil Tested-by: Paul Cercueil Fixes: ed1dd899baa3 ("drm/etnaviv: rework perfmon query infrastructure") Cc: sta...@vger.kernel.org Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_per

[PATCH] drm/etnaviv: fix perfmon domain interation

2020-05-11 Thread Christian Gmeiner
at all. The fix for this off-by-one error is quite simple. Reported-by: Paul Cercueil Tested-by: Paul Cercueil Fixes: ed1dd899baa3 ("drm/etnaviv: rework perfmon query infrastructure") Cc: sta...@vger.kernel.or Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_per

[PATCH] arm64: defconfig: CONFIG_DRM_ETNAVIV=m

2019-08-02 Thread Christian Gmeiner
For imx8 we want to enable etnaviv, let's enable it in defconfig, it will be useful to have it enabled for KernelCI boot and runtime testing. Signed-off-by: Christian Gmeiner --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch

Re: [PATCH 1/2] input: touchscreen: ar1021_i2c: enable touch mode during open

2018-02-16 Thread Christian Gmeiner
2018-02-06 2:20 GMT+01:00 Dmitry Torokhov <dmitry.torok...@gmail.com>: > On Mon, Feb 05, 2018 at 11:07:08AM +0100, Christian Gmeiner wrote: >> Hi all. >> >> 2017-04-27 14:22 GMT+02:00 Martin Kepplinger >> <martin.kepplin...@ginzinger.com>: >>

Re: [PATCH 1/2] input: touchscreen: ar1021_i2c: enable touch mode during open

2018-02-16 Thread Christian Gmeiner
2018-02-06 2:20 GMT+01:00 Dmitry Torokhov : > On Mon, Feb 05, 2018 at 11:07:08AM +0100, Christian Gmeiner wrote: >> Hi all. >> >> 2017-04-27 14:22 GMT+02:00 Martin Kepplinger >> : >> > The device could as well be in command mode, in which this driver cannot

Re: [PATCH 1/2] input: touchscreen: ar1021_i2c: enable touch mode during open

2018-02-16 Thread Christian Gmeiner
inger.com > > > > > On 2018-02-05 11:07, Christian Gmeiner wrote: >> Hi all. >> >> 2017-04-27 14:22 GMT+02:00 Martin Kepplinger >> <martin.kepplin...@ginzinger.com>: >>> The device could as well be in command mode, in which this driver cannot >>

Re: [PATCH 1/2] input: touchscreen: ar1021_i2c: enable touch mode during open

2018-02-16 Thread Christian Gmeiner
2018-02-05 11:40 GMT+01:00 Martin Kepplinger : > > > > > Martin Kepplinger | Entwicklung Software > > GINZINGER ELECTRONIC SYSTEMS GMBH > > Tel.: +43 7723 5422 157 > Mail: martin.kepplin...@ginzinger.com > Web: www.ginzinger.com > > > > > On 2018

Re: [PATCH 1/2] input: touchscreen: ar1021_i2c: enable touch mode during open

2018-02-05 Thread Christian Gmeiner
eof(cmd_enable_touch)); > + if (error < 0) > + return error; > > enable_irq(client->irq); > > -- > 2.1.4 > -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info

Re: [PATCH 1/2] input: touchscreen: ar1021_i2c: enable touch mode during open

2018-02-05 Thread Christian Gmeiner
0x01, /* number of bytes after this */ > + AR1021_CMD_ENABLE_TOUCH }; > + > + error = i2c_master_send(ar1021->client, cmd_enable_touch, > + sizeof(cmd_enable_touch)); > + if (error < 0) > + return error; > > enable_irq(client->irq); > > -- > 2.1.4 > -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info

Re: [PATCH] Input: ar1021 - do not force raising edge IRQ trigger

2017-04-14 Thread Christian Gmeiner
not try to kick > the controller after requesting/enabling IRQ. > > Signed-off-by: Dmitry Torokhov <dmitry.torok...@gmail.com> Reviewed-By: Christian Gmeiner <christian.gmei...@gmail.com> greets -- Christian Gmeiner, MSc https://www.youtube.com/user/AloryOFFICIAL https://soundcloud.com/christian-gmeiner

Re: [PATCH] Input: ar1021 - do not force raising edge IRQ trigger

2017-04-14 Thread Christian Gmeiner
roller after requesting/enabling IRQ. > > Signed-off-by: Dmitry Torokhov Reviewed-By: Christian Gmeiner greets -- Christian Gmeiner, MSc https://www.youtube.com/user/AloryOFFICIAL https://soundcloud.com/christian-gmeiner

Re: [PATCH v2] Input: ar1021-i2c - fix too long name in driver's device table

2017-04-13 Thread Christian Gmeiner
chscreen") > Signed-off-by: Dmitry Torokhov <dmitry.torok...@gmail.com> Reviewed-By: Christian Gmeiner <christian.gmei...@gmail.com> greets -- Christian Gmeiner, MSc https://www.youtube.com/user/AloryOFFICIAL https://soundcloud.com/christian-gmeiner

Re: [PATCH v2] Input: ar1021-i2c - fix too long name in driver's device table

2017-04-13 Thread Christian Gmeiner
r uses capitals, and > the manufacturer name is normally not included, except in very rare cases > of incompatible name collisions. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=116211 > Fixes: dd4cae8bf166 ("Input: Add Microchip AR1021 i2c touchscreen") > Signed-off-b

Re: imx-drm: vblank wait timed out

2017-04-05 Thread Christian Gmeiner
2017-04-05 12:05 GMT+02:00 Philipp Zabel <p.za...@pengutronix.de>: > On Tue, 2017-04-04 at 14:50 +0200, Christian Gmeiner wrote: > [...] >> > Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch >> > fixes (commits 5d283b083800, 03d576f202e8

Re: imx-drm: vblank wait timed out

2017-04-05 Thread Christian Gmeiner
2017-04-05 12:05 GMT+02:00 Philipp Zabel : > On Tue, 2017-04-04 at 14:50 +0200, Christian Gmeiner wrote: > [...] >> > Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch >> > fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)? >> >>

Re: imx-drm: vblank wait timed out

2017-04-04 Thread Christian Gmeiner
2017-04-04 10:14 GMT+02:00 Philipp Zabel <p.za...@pengutronix.de>: > Hi Christian, > > On Mon, 2017-04-03 at 17:16 +0200, Christian Gmeiner wrote: >> 2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.za...@pengutronix.de>: >> > Hi Christian, >> > >> >

Re: imx-drm: vblank wait timed out

2017-04-04 Thread Christian Gmeiner
2017-04-04 10:14 GMT+02:00 Philipp Zabel : > Hi Christian, > > On Mon, 2017-04-03 at 17:16 +0200, Christian Gmeiner wrote: >> 2017-03-31 14:57 GMT+02:00 Philipp Zabel : >> > Hi Christian, >> > >> > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner w

Re: imx-drm: vblank wait timed out

2017-04-03 Thread Christian Gmeiner
2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.za...@pengutronix.de>: > Hi Christian, > > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote: >> Hi >> >> I get this from time to time on a 4.9.17 kernel: >> >> [3.353387] [ cut here

Re: imx-drm: vblank wait timed out

2017-04-03 Thread Christian Gmeiner
2017-03-31 14:57 GMT+02:00 Philipp Zabel : > Hi Christian, > > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote: >> Hi >> >> I get this from time to time on a 4.9.17 kernel: >> >> [3.353387] [ cut here ] >> [3

imx-drm: vblank wait timed out

2017-03-31 Thread Christian Gmeiner
-- Christian Gmeiner, MSc https://www.youtube.com/user/AloryOFFICIAL https://soundcloud.com/christian-gmeiner

imx-drm: vblank wait timed out

2017-03-31 Thread Christian Gmeiner
-- Christian Gmeiner, MSc https://www.youtube.com/user/AloryOFFICIAL https://soundcloud.com/christian-gmeiner

Re: [PATCH] drm/etnaviv: Remove duplicate header file include

2017-01-31 Thread Christian Gmeiner
2017-01-31 19:56 GMT+01:00 Liviu Dudau <li...@dudau.co.uk>: > etnaviv_gem.h header gets included twice. Remove duplicate. > > Signed-off-by: Liviu Dudau <li...@dudau.co.uk> Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com> > --- > drivers/gpu/drm/etna

Re: [PATCH] drm/etnaviv: Remove duplicate header file include

2017-01-31 Thread Christian Gmeiner
2017-01-31 19:56 GMT+01:00 Liviu Dudau : > etnaviv_gem.h header gets included twice. Remove duplicate. > > Signed-off-by: Liviu Dudau Reviewed-by: Christian Gmeiner > --- > drivers/gpu/drm/etnaviv/etnaviv_drv.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a

Re: [PATCH] Input: ar1021-i2c - fix too long name in driver's device table

2016-12-12 Thread Christian Gmeiner
static SIMPLE_DEV_PM_OPS(ar1021_i2c_pm, ar1021_i2c_suspend, > ar1021_i2c_resume); > > static const struct i2c_device_id ar1021_i2c_id[] = { > - { "MICROCHIP_AR1021_I2C", 0 }, > + { "MICROCHIP_AR1021", 0 }, > { }, > }; > MODULE_DEVICE_TABLE(i2c, ar1021_i2c_id); > -- > 2.8.0.rc3.226.g39d4020 > Reviewed-By: Christian Gmeiner <christian.gmei...@gmail.com>

Re: [PATCH] Input: ar1021-i2c - fix too long name in driver's device table

2016-12-12 Thread Christian Gmeiner
_i2c_suspend, > ar1021_i2c_resume); > > static const struct i2c_device_id ar1021_i2c_id[] = { > - { "MICROCHIP_AR1021_I2C", 0 }, > + { "MICROCHIP_AR1021", 0 }, > { }, > }; > MODULE_DEVICE_TABLE(i2c, ar1021_i2c_id); > -- > 2.8.0.rc3.226.g39d4020 > Reviewed-By: Christian Gmeiner

Re: [PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-07-02 Thread Christian Gmeiner
Hi Mark, 2016-07-01 17:01 GMT+02:00 Mark Brown <broo...@kernel.org>: > On Fri, Jul 01, 2016 at 02:32:58PM +0200, Christian Gmeiner wrote: >> In some rare cases I see the following 'task blocked' information. It >> looks like the PIO transfer has some problems and never

Re: [PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-07-02 Thread Christian Gmeiner
Hi Mark, 2016-07-01 17:01 GMT+02:00 Mark Brown : > On Fri, Jul 01, 2016 at 02:32:58PM +0200, Christian Gmeiner wrote: >> In some rare cases I see the following 'task blocked' information. It >> looks like the PIO transfer has some problems and never succee

[PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-07-01 Thread Christian Gmeiner
In some rare cases I see the following 'task blocked' information. It looks like the PIO transfer has some problems and never succeeds. Make use of wait_for_completion_timeout(..) to detect this case and return -ETIMEDOUT. v2: remove backtrace from commit message Signed-off-by: Christian Gmeiner

[PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-07-01 Thread Christian Gmeiner
In some rare cases I see the following 'task blocked' information. It looks like the PIO transfer has some problems and never succeeds. Make use of wait_for_completion_timeout(..) to detect this case and return -ETIMEDOUT. v2: remove backtrace from commit message Signed-off-by: Christian Gmeiner

[PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-06-21 Thread Christian Gmeiner
6:4000 r5: r4:b495d018 Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com> --- drivers/spi/spi-imx.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index 50769078..d2b96b1 100644 --- a/dr

[PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-06-21 Thread Christian Gmeiner
6:4000 r5: r4:b495d018 Signed-off-by: Christian Gmeiner --- drivers/spi/spi-imx.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index 50769078..d2b96b1 100644 --- a/drivers/spi/spi-imx.c +++ b/drivers/

Re: [RESEND PATCH v2] pwm-backlight: Avoid backlight flicker when probed from DT

2015-10-15 Thread Christian Gmeiner
int pwm_backlight_probe(struct platform_device > *pdev) > } > > bl->props.brightness = data->dft_brightness; > + bl->props.power = initial_blank; > backlight_update_status(bl); > > platform_set_drvdata(pdev, bl); > -- > 2.6.

Re: [RESEND PATCH v2] pwm-backlight: Avoid backlight flicker when probed from DT

2015-10-15 Thread Christian Gmeiner
t = PTR_ERR(pb->pwm); > @@ -321,6 +343,7 @@ static int pwm_backlight_probe(struct platform_device > *pdev) > } > > bl->props.brightness = data->dft_brightness; > + bl->props.power = initial_blank; > backlight_update_status(bl); > >

Re: Regression: at24 eeprom writing

2015-10-05 Thread Christian Gmeiner
Hi Peter. Sorry for the late answer - I am currently on my way to Dublin. Maybe it helps if you enable I2C_DEBUG_CORE and I2C_DEBUG_BUS. In theory you should see a little bit better what happens on the bus. Greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner 2015-10-04

Re: Regression: at24 eeprom writing

2015-10-05 Thread Christian Gmeiner
Hi Peter. Sorry for the late answer - I am currently on my way to Dublin. Maybe it helps if you enable I2C_DEBUG_CORE and I2C_DEBUG_BUS. In theory you should see a little bit better what happens on the bus. Greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner 2015-10-04

Re: [PATCH] gpio: pca953x: Fix warning when HW interrupts are rescheduled by the softirq tasklet

2015-07-07 Thread Christian Gmeiner
Hi Grygorii 2015-07-07 12:00 GMT+02:00 Grygorii Strashko : > Hi Christian, > > On 07/07/2015 09:29 AM, Christian Gmeiner wrote: >> Hi all >> >> 2014-09-26 11:07 GMT+02:00 Linus Walleij : >>> On Thu, Sep 25, 2014 at 6:26 PM, Grygorii Strashko >>> wrot

Re: [PATCH] gpio: pca953x: Fix warning when HW interrupts are rescheduled by the softirq tasklet

2015-07-07 Thread Christian Gmeiner
[] (run_ksoftirqd+0x38/0x54) [ 313.062058] r10:0002 r9: r8:c07c1908 r7: r6:0001 r5:0001 [ 313.070017] r4:ee893980 [ 313.072605] [] (run_ksoftirqd) from [] (smpboot_thread_fn+0x1f8/0x2f0) [ 313.080906] [] (smpboot_thread_fn) from [] (kthread+0xe8/0x104) [ 313.

Re: [PATCH] gpio: pca953x: Fix warning when HW interrupts are rescheduled by the softirq tasklet

2015-07-07 Thread Christian Gmeiner
? greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH] gpio: pca953x: Fix warning when HW interrupts are rescheduled by the softirq tasklet

2015-07-07 Thread Christian Gmeiner
Hi Grygorii 2015-07-07 12:00 GMT+02:00 Grygorii Strashko grygorii.stras...@ti.com: Hi Christian, On 07/07/2015 09:29 AM, Christian Gmeiner wrote: Hi all 2014-09-26 11:07 GMT+02:00 Linus Walleij linus.wall...@linaro.org: On Thu, Sep 25, 2014 at 6:26 PM, Grygorii Strashko grygorii.stras

Re: [PATCH 1/4] x86: Add basic support for the Congatec CGEB BIOS interface

2015-06-15 Thread Christian Gmeiner
Hi Paul Thanks for looking over my patches! 2015-06-12 11:35 GMT+02:00 Paul Bolle : > A few nits. > > On Thu, 2015-06-11 at 22:48 +0200, Christian Gmeiner wrote: >> --- /dev/null >> +++ b/drivers/mfd/congatec-cgeb.c > >> + * This program is free software; you can

Re: [PATCH 1/4] x86: Add basic support for the Congatec CGEB BIOS interface

2015-06-15 Thread Christian Gmeiner
Hi Paul Thanks for looking over my patches! 2015-06-12 11:35 GMT+02:00 Paul Bolle pebo...@tiscali.nl: A few nits. On Thu, 2015-06-11 at 22:48 +0200, Christian Gmeiner wrote: --- /dev/null +++ b/drivers/mfd/congatec-cgeb.c + * This program is free software; you can redistribute

[PATCH 4/4] backlight: Add Congatec CGEB backlight driver

2015-06-11 Thread Christian Gmeiner
This driver provides support for the CGEB backlight found on some Congatec x86 modules. Signed-off-by: Christian Gmeiner --- drivers/video/backlight/Kconfig| 7 ++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/congatec-cgeb_bl.c | 125

[PATCH 3/4] watchdog: Add Congatec CGEB watchdog driver

2015-06-11 Thread Christian Gmeiner
From: Sascha Hauer This driver provides support for the CGEB watchdog found on some Congatec x86 modules. Signed-off-by: Sascha Hauer Signed-off-by: Christian Gmeiner --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 3 + drivers/watchdog

[PATCH 0/4] Add support for Congatec CGEB BIOS interface

2015-06-11 Thread Christian Gmeiner
The following series adds support for the Congatec CGEB interface found on some Congatec x86 boards. The CGEB interface is a BIOS interface which provides access to onboard peripherals like I2C busses and watchdogs. It works by mapping BIOS code and searching for magic values which specify the

[PATCH 1/4] x86: Add basic support for the Congatec CGEB BIOS interface

2015-06-11 Thread Christian Gmeiner
Hauer Signed-off-by: Christian Gmeiner --- drivers/mfd/Kconfig | 10 + drivers/mfd/Makefile | 1 + drivers/mfd/congatec-cgeb.c | 591 ++ include/linux/mfd/congatec-cgeb.h | 105 +++ 4 files changed, 707 insertions

[PATCH 2/4] i2c: Add Congatec CGEB I2C driver

2015-06-11 Thread Christian Gmeiner
From: Sascha Hauer This driver provides a I2C bus driver for the CGEB interface found on some Congatec x86 modules. No devices are registered on the bus, the user has to do this via the i2c device /sys interface. Signed-off-by: Sascha Hauer Signed-off-by: Christian Gmeiner --- drivers/i2c

[PATCH 1/4] x86: Add basic support for the Congatec CGEB BIOS interface

2015-06-11 Thread Christian Gmeiner
. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- drivers/mfd/Kconfig | 10 + drivers/mfd/Makefile | 1 + drivers/mfd/congatec-cgeb.c | 591 ++ include/linux/mfd

[PATCH 2/4] i2c: Add Congatec CGEB I2C driver

2015-06-11 Thread Christian Gmeiner
-off-by: Christian Gmeiner christian.gmei...@gmail.com --- drivers/i2c/busses/Kconfig | 7 ++ drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-congatec-cgeb.c | 205 + 3 files changed, 213 insertions(+) create mode 100644 drivers/i2c

[PATCH 0/4] Add support for Congatec CGEB BIOS interface

2015-06-11 Thread Christian Gmeiner
The following series adds support for the Congatec CGEB interface found on some Congatec x86 boards. The CGEB interface is a BIOS interface which provides access to onboard peripherals like I2C busses and watchdogs. It works by mapping BIOS code and searching for magic values which specify the

[PATCH 4/4] backlight: Add Congatec CGEB backlight driver

2015-06-11 Thread Christian Gmeiner
This driver provides support for the CGEB backlight found on some Congatec x86 modules. Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- drivers/video/backlight/Kconfig| 7 ++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/congatec

[PATCH 3/4] watchdog: Add Congatec CGEB watchdog driver

2015-06-11 Thread Christian Gmeiner
From: Sascha Hauer s.ha...@pengutronix.de This driver provides support for the CGEB watchdog found on some Congatec x86 modules. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- drivers/watchdog/Kconfig | 10

Re: [PATCH 15/20] leds: mark ot200 driver with LED_BRIGHTNESS_FAST flag

2015-05-26 Thread Christian Gmeiner
x-l...@vger.kernel.org > CC: linux-kernel@vger.kernel.org > CC: Sebastian Andrzej Siewior > CC: Christian Gmeiner > > Signed-off-by: Stas Sergeev > --- > drivers/leds/leds-ot200.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/leds/leds-ot200.c b/

Re: [PATCH 15/20] leds: mark ot200 driver with LED_BRIGHTNESS_FAST flag

2015-05-26 Thread Christian Gmeiner
...@samsung.com CC: linux-l...@vger.kernel.org CC: linux-kernel@vger.kernel.org CC: Sebastian Andrzej Siewior bige...@linutronix.de CC: Christian Gmeiner christian.gmei...@gmail.com Signed-off-by: Stas Sergeev s...@users.sourceforge.net --- drivers/leds/leds-ot200.c |1 + 1 file changed, 1

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Christian Gmeiner
insert >the flushes. > > > * - as a direct result of that, I've stopped all further development of > etnaviv drm, and I'm intending to strip it out from my Xorg DDX driver > as the etnaviv drm API which Christian wants is completely incompatible > with the non-etnaviv drm,

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Christian Gmeiner
on. greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

fec: warning found by dma debug

2015-01-16 Thread Christian Gmeiner
) [ 18.182937] r7: r6: r5:c004f010 r4:e5157800 [ 18.188680] ---[ end trace dcf0152c9771f20a ]--- -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

fec: warning found by dma debug

2015-01-16 Thread Christian Gmeiner
dcf0152c9771f20a ]--- -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

flexcan: sabrelite

2014-12-04 Thread Christian Gmeiner
HI all. Is there anyone out there who got flexcan up and running with the latest mainline kernel? -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

flexcan: sabrelite

2014-12-04 Thread Christian Gmeiner
HI all. Is there anyone out there who got flexcan up and running with the latest mainline kernel? -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

requesting modules in the i2c-core in case of OF

2014-09-15 Thread Christian Gmeiner
: Christian Gmeiner alias: of:N*T*Cmicrochip,ar1021_i2c* alias: i2c:MICROCHIP_AR1021_I2C depends: intree: Y vermagic: 3.14.18 SMP preempt mod_unload ARMv7 p2v8 So the ar1021_i2c driver is build as kernel module and at this point it is not possible to modprobe

requesting modules in the i2c-core in case of OF

2014-09-15 Thread Christian Gmeiner
: Christian Gmeiner christian.gmei...@gmail.com alias: of:N*T*Cmicrochip,ar1021_i2c* alias: i2c:MICROCHIP_AR1021_I2C depends: intree: Y vermagic: 3.14.18 SMP preempt mod_unload ARMv7 p2v8 So the ar1021_i2c driver is build as kernel module and at this point

I/O error, dev mmcblk0

2014-05-20 Thread Christian Gmeiner
mmcblk0: error -110 transferring data, sector 13343340, nr 28, cmd response 0x900, card status 0x0 [61203.058818] end_request: I/O error, dev mmcblk0, sector 13343340 [61208.496035] mmcblk0: error -110 transferring data, sector 13343341, nr 27, cmd response 0x900, card status 0x0 [61208.514157] end_r

I/O error, dev mmcblk0

2014-05-20 Thread Christian Gmeiner
, card status 0x0 [61203.058818] end_request: I/O error, dev mmcblk0, sector 13343340 [61208.496035] mmcblk0: error -110 transferring data, sector 13343341, nr 27, cmd response 0x900, card status 0x0 [61208.514157] end_request: I/O error, dev mmcblk0, sector 13343341 greets -- Christian Gmeiner, MSc

Re: [PATCH v2 5/7] drm/tegra: Convert to master/component framework

2014-05-19 Thread Christian Gmeiner
: Thierry Reding Is there a git tree somewhere to have a look at? I am interested in the usage of the master/component framework. thanks -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod

Re: [PATCH v2 5/7] drm/tegra: Convert to master/component framework

2014-05-19 Thread Christian Gmeiner
...@nvidia.com Is there a git tree somewhere to have a look at? I am interested in the usage of the master/component framework. thanks -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[tip:x86/urgent] x86/reboot: Add reboot quirk for Certec BPC600

2014-05-07 Thread tip-bot for Christian Gmeiner
Commit-ID: aadca6fa4068ad1f92c492bc8507b7ed350825a2 Gitweb: http://git.kernel.org/tip/aadca6fa4068ad1f92c492bc8507b7ed350825a2 Author: Christian Gmeiner AuthorDate: Wed, 7 May 2014 09:01:54 +0200 Committer: Ingo Molnar CommitDate: Wed, 7 May 2014 11:22:10 +0200 x86/reboot: Add reboot

[PATCH] x86/reboot: Add reboot quirk for Certec BPC600

2014-05-07 Thread Christian Gmeiner
Certec BPC600 needs reboot=pci to actually reboot. Signed-off-by: Christian Gmeiner --- arch/x86/kernel/reboot.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 3399d3a..52b1157 100644 --- a/arch/x86/kernel/reboot.c +++ b

[PATCH] x86/reboot: Add reboot quirk for Certec BPC600

2014-05-07 Thread Christian Gmeiner
Certec BPC600 needs reboot=pci to actually reboot. Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- arch/x86/kernel/reboot.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 3399d3a..52b1157 100644

[tip:x86/urgent] x86/reboot: Add reboot quirk for Certec BPC600

2014-05-07 Thread tip-bot for Christian Gmeiner
Commit-ID: aadca6fa4068ad1f92c492bc8507b7ed350825a2 Gitweb: http://git.kernel.org/tip/aadca6fa4068ad1f92c492bc8507b7ed350825a2 Author: Christian Gmeiner christian.gmei...@gmail.com AuthorDate: Wed, 7 May 2014 09:01:54 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 7 May

HARDIRQ-safe -> HARDIRQ-unsafe lock order detected

2014-02-04 Thread Christian Gmeiner
2.939922] mmcblk0: mmc0:0001 SEM04G 3.68 GiB [2.945589] mmcblk0: p1 p2 [2.959204] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 Any ideas? -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

HARDIRQ-safe - HARDIRQ-unsafe lock order detected

2014-02-04 Thread Christian Gmeiner
: mmc0:0001 SEM04G 3.68 GiB [2.945589] mmcblk0: p1 p2 [2.959204] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 Any ideas? -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v2 00/12] pwm-backlight: Add GPIO and power supply support

2013-11-08 Thread Christian Gmeiner
2013/11/8 Thierry Reding : > On Thu, Nov 07, 2013 at 01:00:04PM +0100, Christian Gmeiner wrote: >> Hi Thierry >> >> >> This series adds the ability to specify a GPIO and a power supply to >> > enable a backlight. >> > >> >> What

Re: [PATCH v2 00/12] pwm-backlight: Add GPIO and power supply support

2013-11-08 Thread Christian Gmeiner
2013/11/8 Thierry Reding thierry.red...@gmail.com: On Thu, Nov 07, 2013 at 01:00:04PM +0100, Christian Gmeiner wrote: Hi Thierry This series adds the ability to specify a GPIO and a power supply to enable a backlight. Whats the state of this patch set? I am looking for this kind

  1   2   >