Hi Inki, This patchset embed all remaining exynos_drm framework objects into driver private context, thanks to this global variables can be removed and the code can be simplified. It continues refactoring started by dsi related patchset [1].
I have tested it on trats and universal boards with following pipelines: - fimd - dpi, - fimd - dsi, - mixer - hdmi. The patchset is based on exynos-drm-next-todo + hdmi fixes patchset [2]. [1]: http://permalink.gmane.org/gmane.comp.video.dri.devel/115960 [2]: http://permalink.gmane.org/gmane.comp.video.dri.devel/118257 Regards Andrzej Andrzej Hajda (14): drm/exynos/mixer: embed manager into private context drm/exynos/mixer: stop using manager->ctx pointer drm/exynos/vidi: embed manager into private context drm/exynos/vidi: stop using manager->ctx pointer drm/exynos/fimd: embed manager into private context drm/exynos/fimd: stop using manager->ctx pointer drm/exynos/hdmi: embed display into private context drm/exynos/hdmi: stop using display->ctx pointer drm/exynos/vidi: embed display into private context drm/exynos/vidi: stop using display->ctx pointer drm/exynos/dp: embed display into private context drm/exynos/dp: stop using display->ctx pointer drm/exynos/dpi: embed display into private context drm/exynos/dpi: stop using display->ctx pointer drivers/gpu/drm/exynos/exynos_dp_core.c | 58 ++++++++-------- drivers/gpu/drm/exynos/exynos_dp_core.h | 3 + drivers/gpu/drm/exynos/exynos_drm_dpi.c | 42 ++++++------ drivers/gpu/drm/exynos/exynos_drm_drv.h | 4 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 102 +++++++++++++-------------- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 89 ++++++++++++------------ drivers/gpu/drm/exynos/exynos_hdmi.c | 65 ++++++++---------- drivers/gpu/drm/exynos/exynos_mixer.c | 114 +++++++++++++++---------------- 8 files changed, 236 insertions(+), 241 deletions(-) -- 1.9.1