[Intel-gfx] [PATCH 11/11] drm/i915/cnl: Also need power well sanitize.
Rodrigo Vivi
rodrigo.vivi at gmail.com
Wed Jun 7 14:48:43 UTC 2017
Patches merged to dinq.
Thanks for patches and reviews.
On Tue, Jun 6, 2017 at 1:30 PM, Rodrigo Vivi <rodrigo.vivi at intel.com> wrote:
> The workaround added in
> commit c6782b76d31a ("drm/i915/gen9: Reset secondary power well
> equests left on by DMC/KVMR")
> needs to be applied on Cannonlake as well.
>
> So let's assume any platform using this power well setup
> will also need and let's just go ahead and remove if condition.
>
> Cc: Imre Deak <imre.deak at intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Reviewed-by: Imre Deak <imre.deak at intel.com>
> ---
> drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
> index 0b3cacd..8a6f287 100644
> --- a/drivers/gpu/drm/i915/intel_runtime_pm.c
> +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
> @@ -853,8 +853,7 @@ static void skl_set_power_well(struct drm_i915_private *dev_priv,
> DRM_DEBUG_KMS("Disabling %s\n", power_well->name);
> }
>
> - if (IS_GEN9(dev_priv))
> - gen9_sanitize_power_well_requests(dev_priv, power_well);
> + gen9_sanitize_power_well_requests(dev_priv, power_well);
> }
>
> if (wait_for(!!(I915_READ(HSW_PWR_WELL_DRIVER) & state_mask) == enable,
> --
> 1.9.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
More information about the Intel-gfx
mailing list