[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
Tue Apr 16 23:28:33 UTC 2019


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

--- Comment #40 from Andy Nicholas <andy.nicholas at shield.ai> ---
Created attachment 144003
  --> https://bugs.freedesktop.org/attachment.cgi?id=144003&action=edit
GPU hang 12

Crash while checking if the media power gating enable, alone, causes trouble.
Answer: yes, but I should run the other configuration also.

index eaf0793ebf60..800ed263c626 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -8609,8 +8609,12 @@ static void intel_enable_rc6(struct drm_i915_private
*dev_priv)
                cherryview_enable_rc6(dev_priv);
        else if (IS_VALLEYVIEW(dev_priv))
                valleyview_enable_rc6(dev_priv);
-       else if (INTEL_GEN(dev_priv) >= 9)
-               gen9_enable_rc6(dev_priv);
+       else if (INTEL_GEN(dev_priv) >= 9) {
+               gen9_disable_rc6(dev_priv);
+
+               I915_WRITE(GEN9_PG_ENABLE,
+                          GEN9_MEDIA_PG_ENABLE);
+       }
        else if (IS_BROADWELL(dev_priv))
                gen8_enable_rc6(dev_priv);
        else if (INTEL_GEN(dev_priv) >= 6)

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


More information about the intel-gfx-bugs mailing list