[Bug 110394] Skylake GPU HANG while gstreamer H264 vaapi encoding from MJPEG vaapi decode on drm-tip

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 10 22:16:17 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110394

--- Comment #15 from Andy Nicholas <andy.nicholas at shield.ai> ---
(In reply to Chris Wilson from comment #14)
> Try
> 
> diff --git a/drivers/gpu/drm/i915/intel_pm.c
> b/drivers/gpu/drm/i915/intel_pm.c
> index 1a6f36e08a60..d2e075e54e89 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -7202,7 +7202,7 @@ static void gen9_enable_rc6(struct drm_i915_private
> *dev_priv)
>          * 3b: Enable Coarse Power Gating only when RC6 is enabled.
>          * WaRsDisableCoarsePowerGating:skl,cnl - Render/Media PG need to be
> disabled with RC6.
>          */
> -       if (NEEDS_WaRsDisableCoarsePowerGating(dev_priv))
> +       if (NEEDS_WaRsDisableCoarsePowerGating(dev_priv) || 1)
>                 I915_WRITE(GEN9_PG_ENABLE, 0);
>         else
>                 I915_WRITE(GEN9_PG_ENABLE,

Sure, I can try this.

According to the comment, doesn't your change just force the same path of
disabling coarse power gating? 

If so, is the power consumption now gigantic while encoding or decoding media?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190410/215d7a9e/attachment.html>


More information about the intel-gfx-bugs mailing list