drm/i915/dp: set sink to power down mode on dp disable

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 22 17:59:10 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=fdbc3b1f639bb2cbfb32c612b2699e0ba373317d
Commit:     fdbc3b1f639bb2cbfb32c612b2699e0ba373317d
Parent:     ad40f83f5a89f6d723fd4db424b531f8dd7d3b49
Author:     Jani Nikula <jani.nikula at intel.com>
AuthorDate: Tue Nov 12 17:10:13 2013 +0200
Committer:  Daniel Vetter <daniel.vetter at ffwll.ch>
CommitDate: Thu Nov 14 09:32:10 2013 +0100

    drm/i915/dp: set sink to power down mode on dp disable
    
    We used to put the local sink and any downstream sinks to power down
    mode at disable or dpms off using the DPCD SET_POWER register, until
    this was broken by
    
    commit e8cb455876fa8f67c6aba394d0a14b697bf04cc3
    Author: Daniel Vetter <daniel.vetter at ffwll.ch>
    Date:   Sun Jul 1 13:05:48 2012 +0200
    
        drm/i915/dp: convert to encoder disable/enable
    
    Fix it.
    
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
    Reviewed-by: Todd Previte <tprevite at gmail.com>
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 drivers/gpu/drm/i915/intel_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index eb8139d..0b2e842 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1774,7 +1774,7 @@ static void intel_disable_dp(struct intel_encoder *encoder)
 	 * ensure that we have vdd while we switch off the panel. */
 	ironlake_edp_panel_vdd_on(intel_dp);
 	ironlake_edp_backlight_off(intel_dp);
-	intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_ON);
+	intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF);
 	ironlake_edp_panel_off(intel_dp);
 
 	/* cpu edp my only be disable _after_ the cpu pipe/plane is disabled. */



More information about the linux-mtd-cvs mailing list