[PATCH 3/3] ipuv3-ldb: add remove action for devres data

2019-04-03 Thread Michael Grzeschik
. This leads drm_encoder_cleanup try to clean already freed memory. We fix this issue by adding the devres action ipu_ldb_remove_head which will remove its head from the objects in ipu-drm-core which then never calls its destroy function anymore. Signed-off-by: Michael Grzeschik --- drivers/gpu/drm

[PATCH 2/3] ipuv3-ldb: add init list head on bind

2019-04-03 Thread Michael Grzeschik
The list head is not initialised after imx_ldb_bind allocates the imx_ldb object. Ensure it will be valid before anyone uses it. Signed-off-by: Michael Grzeschik --- drivers/gpu/drm/imx/imx-ldb.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/imx/imx-ldb.c

[PATCH 0/3] Fix for drm_mode_config_cleanup issue

2019-04-03 Thread Michael Grzeschik
ries fixes the possible case of use after free by adding action functions to the devres cleanup path. So it will ensure the generic cleanup code will not use the already freed memory. Michael Grzeschik (3): ipuv3-crtc: add remove action for devres data ipuv3-ldb: add init list head on bind ipuv3-ldb:

[PATCH 1/3] ipuv3-crtc: add remove action for devres data

2019-04-03 Thread Michael Grzeschik
. This leads drm_crtc_cleanup try to clean already freed memory. We fix this issue by adding the devres action ipu_crtc_remove_head which will remove its head from the objects in ipu-drm-core which then never calls its destroy function anymore. Signed-off-by: Michael Grzeschik --- drivers/gpu/drm/imx

Re: [PATCH] drm/mxsfb: add poll_changed event handler to set_par on startup

2018-07-15 Thread Michael Grzeschik
On Wed, Mar 28, 2018 at 12:14:45PM +0200, Daniel Vetter wrote: > On Wed, Mar 28, 2018 at 11:08 AM, Lucas Stach wrote: > > Am Mittwoch, den 28.03.2018, 09:02 +0200 schrieb Daniel Vetter: > >> On Tue, Mar 27, 2018 at 01:30:04PM +0200, Michael Grzeschik wrote: > >> >

[PATCH] gpu: ipu-csi: add rgb/bgr888 24bit support to mbus_code_to_bus_cfg

2018-05-03 Thread Michael Grzeschik
The 24bit RGB format configuration is currently missing, we add it now. Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de> --- drivers/gpu/ipu-v3/ipu-csi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/ipu-v3/ipu-csi.c b/drivers/gpu/ipu-v3/ipu-csi.c

Re: [PATCH] drm/mxsfb: add poll_changed event handler to set_par on startup

2018-03-30 Thread Michael Grzeschik
On Tue, Mar 27, 2018 at 01:30:04PM +0200, Michael Grzeschik wrote: > On Mon, Mar 26, 2018 at 06:17:44PM +0200, Michael Grzeschik wrote: > > We move drm_kms_helper_poll_init behind the drm_fbdev_cma_init so the > > set_par will be called and fb will be active. > > >

[PATCH v2] drm/mxsfb: add output_poll_changed handler for initial configuration

2018-03-30 Thread Michael Grzeschik
unusable. We fix it by assigning drm_fb_helper_output_poll_changed to output_pull_changed. Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de> --- v1 -> v2: - improved the commit message - deleted unnecessary move of drm_kms_helper_poll_init. It was a left

Re: [PATCH] drm/mxsfb: add poll_changed event handler to set_par on startup

2018-03-27 Thread Michael Grzeschik
On Mon, Mar 26, 2018 at 06:17:44PM +0200, Michael Grzeschik wrote: > We move drm_kms_helper_poll_init behind the drm_fbdev_cma_init so the > set_par will be called and fb will be active. > As this commit message is not very informative and digging deeper into the stubs I came up wit

[PATCH] drm/mxsfb: add poll_changed event handler to set_par on startup

2018-03-27 Thread Michael Grzeschik
We move drm_kms_helper_poll_init behind the drm_fbdev_cma_init so the set_par will be called and fb will be active. Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de> --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/d

[PATCH] drm/panel: simple: Add support for Innolux ZJ070NA-01P

2015-03-19 Thread Michael Grzeschik
The Innolux ZJ070NA-01P is a 7.0" TFT LCD panel with an integrated LED backlight unit. This panel is used on the Technexion Toucan. Signed-off-by: Michael Grzeschik --- .../bindings/panel/innolux,zj070na-01p.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c