[PATCH 2/2] drm/tilcdc: Remove unnecessary struct tilcdc_panel_info members

2019-02-16 Thread Jyri Sarha via dri-devel
Most of the struct tilcdc_panel_info data members, that are also exposed in dts binding, are essentially display IP register bits that should not need customization per connected display basis. This patch removes them, both from the binding and the struct. The removed data members have sane static

[PATCH 1/2] drm/tilcdc: use drm_fbdev_generic_setup

2019-02-16 Thread Jyri Sarha via dri-devel
Calling drm_fbdev_cma_fini() after drm_dev_unregister() started to cause a crash when unloading tilcdc some time between 4.14 and 4.19. Instead of changing the unload order it looks like using drm_fbdev_generic_setup() is the direction to go. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/

[PATCH 0/2] drm/tilcdc: A fix and a clean-up for tilcdc

2019-02-16 Thread Jyri Sarha via dri-devel
- "drm/tilcdc: use drm_fbdev_generic_setup" - a simple bufix, which also takes the code to the right direction - "drm/tilcdc: Remove unnecessary struct tilcdc_panel_info members" - Code clean up, where the final target is to get rid of "struct tilcdc_panel_info" completely and eventually use