]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Use unchecked writes for setting up the fences
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Jun 2019 12:00:21 +0000 (13:00 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Jun 2019 13:51:25 +0000 (14:51 +0100)
commit1c8242c3a4b2c1fc36c72c5f479058629f772b65
treebae4d69b63b8e416dd7c5fbef2de746a53d0c22d
parent87d1372d1da3c5b3ec06c70a50811093d41c671e
drm/i915: Use unchecked writes for setting up the fences

As the fence registers are not part of the engine powerwells, we do not
need to fiddle with forcewake in order to update a fence. Avoid using
the heavyweight debug checking normal mmio writes as the checking
dominates the selftest runtime and is superfluous!

In the process, retire the I915_WRITE() implicit macro with the new
intel_uncore_write interface.

v2: s/unc/uncore/

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190604120022.20472-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_fence_reg.c