drm/i915: Add a modeset power domain
authorPatrik Jakobsson <patrik.jakobsson@linux.intel.com>
Mon, 9 Nov 2015 15:48:22 +0000 (16:48 +0100)
committerImre Deak <imre.deak@intel.com>
Tue, 17 Nov 2015 18:55:19 +0000 (20:55 +0200)
We need a power domain for disabling DC5/DC6 around modesets to prevent
confusing the DMC.

Signed-off-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447084107-8521-8-git-send-email-patrik.jakobsson@linux.intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h

index 397781a77720a2a96b64ea6e76c50d591056d362..916e9fe205237a83d0342719db157d66b130f4c7 100644 (file)
@@ -2739,6 +2739,8 @@ static const char *power_domain_str(enum intel_display_power_domain domain)
                return "AUX_D";
        case POWER_DOMAIN_GMBUS:
                return "GMBUS";
+       case POWER_DOMAIN_MODESET:
+               return "MODESET";
        case POWER_DOMAIN_INIT:
                return "INIT";
        default:
index 6683bd136291dadabc5fef3d3615730e56bba9c8..d0dccefcf25e41d9cd2af94126afa11ff423e8db 100644 (file)
@@ -196,6 +196,7 @@ enum intel_display_power_domain {
        POWER_DOMAIN_AUX_C,
        POWER_DOMAIN_AUX_D,
        POWER_DOMAIN_GMBUS,
+       POWER_DOMAIN_MODESET,
        POWER_DOMAIN_INIT,
 
        POWER_DOMAIN_NUM,