]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: nuke the duplicated stolen discovery
authorMatthew Auld <matthew.auld@intel.com>
Mon, 11 Dec 2017 15:18:17 +0000 (15:18 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 12 Dec 2017 10:30:19 +0000 (12:30 +0200)
commit1b504cb1bfda0da0a04908e2fb1ae4ba44643a03
tree0a869d0098522bf7819a403d6447aacd0dbfb1d2
parente09d2542603135b65c8e21ea4d02a8ee74bba46a
drm/i915: nuke the duplicated stolen discovery

We duplicate the stolen discovery code in early-quirks and in i915,
however now that the stolen region is exported as a resource from
early-quirks we can nuke the duplication.

v2: check overflows_type

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171211151822.20953-5-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_stolen.c