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)
commiteaba1b8f3379b5d100bd146b9a41d28348bdfd09
tree9b62e5bcbd2078179c9cceac8a01605a4ed77c86
parent34b9674c786c73e5472e8b98a729bcdde9197859
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