drm/i915: Mappable_end can't ever be > end
authorBen Widawsky <ben@bwidawsk.net>
Thu, 17 Jan 2013 20:45:13 +0000 (12:45 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 17 Jan 2013 21:33:02 +0000 (22:33 +0100)
commit35451cb6fbd3655ede4694b11761a587d400d647
tree17a88c7596daa456c4fdbacf403460e6214d2535
parentc1fc6521efbed7d3aca4e37ac61b23300f161cd1
drm/i915: Mappable_end can't ever be > end

Both DRI1 and DRI2 can never specify a mappable size which goes past the
GTT size.  Don't pretend otherwise.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c