projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3983145
)
drm/i915/dsi: Execute MIPI_SEQ_TEAR_OFF from intel_dsi_post_disable
author
Hans de Goede
<hdegoede@redhat.com>
Wed, 1 Mar 2017 13:15:04 +0000
(15:15 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Wed, 1 Mar 2017 13:58:04 +0000
(15:58 +0200)
For v3+ VBTs we should call MIPI_SEQ_TEAR_OFF before MIPI_SEQ_DISPLAY_OFF,
v2 VBTs do not have MIPI_SEQ_TEAR_OFF so there this is a nop.
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/1488374106-4949-9-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dsi.c
b/drivers/gpu/drm/i915/intel_dsi.c
index 5a50645c3a373e007c7ed92e1bae9c02eaa2a4d7..7dbef67a5fa07b6b46b5e5dcf6ea42624160dd31 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dsi.c
+++ b/
drivers/gpu/drm/i915/intel_dsi.c
@@
-921,6
+921,8
@@
static void intel_dsi_post_disable(struct intel_encoder *encoder,
* if disable packets are sent before sending shutdown packet then in
* some next enable sequence send turn on packet error is observed
*/
+ if (is_cmd_mode(intel_dsi))
+ intel_dsi_exec_vbt_sequence(intel_dsi, MIPI_SEQ_TEAR_OFF);
intel_dsi_exec_vbt_sequence(intel_dsi, MIPI_SEQ_DISPLAY_OFF);
/* Transition to LP-00 */