]> 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)
commit65b1ddc9f9d9361cc1adb66e39cb2007249a0901
tree1d2966fd65b92a52abffcb7818d2e311c4bdbc02
parent8fb7dbee16279c804d7c681539aadbd0fd58e112
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