]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Verify that our stolen memory doesn't conflict
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2013 11:28:35 +0000 (12:28 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Jul 2013 14:31:20 +0000 (16:31 +0200)
commitdc473dc9e5adc968075cbe6fcf061dc59139f7a3
tree9b62e5bcbd2078179c9cceac8a01605a4ed77c86
parentcc667f1a4a8e4fff5ccab2a8a2dcb163090435e9
drm/i915: Verify that our stolen memory doesn't conflict

Sanity check that the memory region found through the Graphics Base
of Stolen Memory is reserved and hidden from the rest of the system
through the use of the resource API.

v2: "Graphics Stolen Memory" is such a more bodacious name than the lame
    "i915 stolen", and convert to using devres for automagical cleanup of
    the resource. (danvet)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
[danvet: Dump proper hexcodes.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c