drm/i915: WARN if the bios reserved range is bigger than stolen size
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Jul 2013 12:44:27 +0000 (14:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Jul 2013 14:53:24 +0000 (16:53 +0200)
commit897f9ed00a906dd3edc69f64d590bba87c45617b
tree670472e74c61de51e0c3e6b42b7e1f122ab5c120
parent36c0cc616e518bfc2b685bed7fb3243d1242eca4
drm/i915: WARN if the bios reserved range is bigger than stolen size

v2: Bail out if we hit the WARN_ON to avoid fallout later on. Spotted
by Chris Wilson.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c