]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: switch to drm_panel interface
authorJani Nikula <jani.nikula@intel.com>
Fri, 23 Jan 2015 13:30:56 +0000 (15:30 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 29 Jan 2015 15:51:13 +0000 (16:51 +0100)
commitb4d6d5ef52cf6776176adffe848d22aa02607e92
treed3697c3a5d0b988c43c83917514f456e7016662c
parent753b353b38709a4d40558c0220f239905dc0eb8e
drm/i915/dsi: switch to drm_panel interface

Replace intel_dsi_device and intel_dsi_dev_ops with drm_panel and
drm_panel_funcs. They are adequate for what we have now, and if we end
up needing more than this we should improve drm_panel. This will keep us
better aligned with the drm core infrastructure.

The panel driver initialization changes a bit. It still remains hideous,
but fixing that is beyond the scope here.

v2: extend mode config mutex to cover drm_panel_get_modes (Shobhit)
    vbt_panel->intel_dsi = intel_dsi in vbt panel init (Shobhit)

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-By: Shobhit Kumar <shobhit.kumar@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/Kconfig
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c