]> 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)
commitdf797ef3042270347789f31e9d4f4981328bd81b
tree9b62e5bcbd2078179c9cceac8a01605a4ed77c86
parente9c78d11276f0eda337c7a02ffcd099175a18ff5
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