drm/i915: Use intel_uncore_rmw in intel_gt_init_swizzling
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 07:07:46 +0000 (08:07 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 21 Jun 2019 12:48:24 +0000 (13:48 +0100)
commitf88709bd1c5e2bc9fb62b1b3151fae1ef4f7a2c5
tree9161a4e1f1936de1d6b684169585acbfd67ff94d
parent500bfa380e112f744f8ae316c88c0e849833d804
drm/i915: Use intel_uncore_rmw in intel_gt_init_swizzling

Two easy opportunities to compact the code by using the existing helper.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190621070811.7006-8-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_gem_fence_reg.c