OSDN Git Service

drm/i915: Skip force-wake for uncached mmio flush of GGTT writes
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 18 Mar 2017 10:42:57 +0000 (10:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Mar 2017 10:45:49 +0000 (10:45 +0000)
commit54ec12af2fb8ee761b092fabbf6e135648d23041
tree23efef800a13622f2868388c15480d5a76c1c8f6
parentc9203e82773a3cc965292bdf13eee422682fc018
drm/i915: Skip force-wake for uncached mmio flush of GGTT writes

The trick of using an uncached mmio read to ensure that the GGTT writes
are flushed does not require us to do the forcewake dance, so avoid it
in the hope of reducing the frequency that we do keep the device forced
awake.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170318104257.694-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem.c