]> git.baikalelectronics.ru Git - kernel.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)
commit1d25364708519f1f7a483967a691031d90dc3d7c
treebae4d69b63b8e416dd7c5fbef2de746a53d0c22d
parent830e0cfdf8e13de5151001d9084990cf11069d19
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