[Intel-gfx] [PATCH 07/12] drm/i915: Add a modeset power domain
Imre Deak
imre.deak at intel.com
Wed Nov 11 11:11:05 PST 2015
On ma, 2015-11-09 at 16:48 +0100, Patrik Jakobsson wrote:
> We need a power domain for disabling DC5/DC6 around modesets to
> prevent
> confusing the DMC.
>
> Signed-off-by: Patrik Jakobsson <patrik.jakobsson at linux.intel.com>
Reviewed-by: Imre Deak <imre.deak at intel.com>
> ---
> drivers/gpu/drm/i915/i915_debugfs.c | 2 ++
> drivers/gpu/drm/i915/i915_drv.h | 1 +
> 2 files changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
> b/drivers/gpu/drm/i915/i915_debugfs.c
> index 2fad0a9..0b06192 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -2738,6 +2738,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:
> diff --git a/drivers/gpu/drm/i915/i915_drv.h
> b/drivers/gpu/drm/i915/i915_drv.h
> index fff7f63..c0252ef 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -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,
More information about the Intel-gfx
mailing list