]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Skip rmw for masked registers
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2020 23:50:35 +0000 (23:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 1 Feb 2020 09:21:57 +0000 (09:21 +0000)
commitc247f6130066194da7bcf9cdabae87e469cd19bb
tree03d8f5fdd82a6c54617b9242865997754fcac9b7
parent6c8e1581f2262c6c59cf9dbb88bc6d7bf73dbefe
drm/i915/gt: Skip rmw for masked registers

A masked register does not need rmw to update, and it is best not to use
such a sequence.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200131235035.3522102-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/gt/intel_workarounds_types.h
drivers/gpu/drm/i915/i915_debugfs.c