]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Replace implicit dev_priv->uncore for stolen init
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 18:21:42 +0000 (18:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 19:22:17 +0000 (19:22 +0000)
commitbdce2bea0f5e6bd3e3fa85278cc2fb8632f71572
tree1d2966fd65b92a52abffcb7818d2e311c4bdbc02
parent3c7a44bbbfa7896df0aa08a77a15ddcf21d59498
drm/i915/gem: Replace implicit dev_priv->uncore for stolen init

Pass around the intended intel_uncore for mmio access during stolen
setup, and avoid relying on the implicit magic I915_READ() macros.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191111182143.23479-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_stolen.c