]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/dsi: Make intel_dsi_enable/disable directly exec VBT sequences
authorHans de Goede <hdegoede@redhat.com>
Tue, 28 Feb 2017 09:26:20 +0000 (11:26 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 28 Feb 2017 10:47:04 +0000 (12:47 +0200)
commit18a00095a5f3b73cabab513119db9275afb62321
tree2454d2b5fbada076fb0755a9f4023fe2a5da62a8
parent14be7a5c29c2bf3b9567da1e41a514c4bbcdacdf
drm/i915/dsi: Make intel_dsi_enable/disable directly exec VBT sequences

The drm_panel_enable/disable and drm_panel_prepare/unprepare calls are
not fine grained enough to abstract all the different steps we need to
take (and VBT sequences we need to exec) properly. So simply remove the
panel _enable/disable and prepare/unprepare callbacks and instead
export intel_dsi_exec_vbt_sequence() from intel_dsi_panel_vbt.c
and call that from intel_dsi_enable/disable().

No functional changes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Bob Paauwe <bob.j.paauwe@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/b4ca5185d4788d92df2ed60837a24b8962a8e8ba.1488273823.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c