[Bug 100572] [SKL dmc] Headless mode media transcoding is 20-30% slower comparing to connected monitor use case

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 13 12:13:34 UTC 2017


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

--- Comment #17 from Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com> ---

Workaround:

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 33fb11cc5acc..b5c262f629f7 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3203,6 +3203,10 @@ i915_gem_idle_work_handler(struct work_struct *work)

        if (INTEL_GEN(dev_priv) >= 6)
                gen6_rps_idle(dev_priv);
+
+       if (IS_SKYLAKE(dev_priv) && dev_priv->csr.dmc_payload)
+               intel_display_power_put(dev_priv, POWER_DOMAIN_MODESET);
+
        intel_runtime_pm_put(dev_priv);
 out_unlock:
        mutex_unlock(&dev->struct_mutex);
diff --git a/drivers/gpu/drm/i915/i915_gem_request.c
b/drivers/gpu/drm/i915/i915_gem_request.c
index 313cdff7c6dd..d5ea4ce47306 100644
--- a/drivers/gpu/drm/i915/i915_gem_request.c
+++ b/drivers/gpu/drm/i915/i915_gem_request.c
@@ -838,6 +838,9 @@ static void i915_gem_mark_busy(const struct intel_engine_cs
*engine)
        if (INTEL_GEN(dev_priv) >= 6)
                gen6_rps_busy(dev_priv);

+       if (IS_SKYLAKE(dev_priv) && dev_priv->csr.dmc_payload)
+               intel_display_power_get(dev_priv, POWER_DOMAIN_MODESET);
+
        queue_delayed_work(dev_priv->wq,
                           &dev_priv->gt.retire_work,
                           round_jiffies_up_relative(HZ));

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


More information about the intel-gfx-bugs mailing list