]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915: Avoid clearing preallocated regions from the GTT
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Nov 2012 11:32:19 +0000 (11:32 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Nov 2012 22:24:49 +0000 (23:24 +0100)
commited2f3452677e46a4270c25c1b7fa3e060fdd501e
tree6a77ed16c579d8b85418570ef87e45f03abb6e79
parente12a2d53ae45a69aea499b64f75e7222cca0f12f
drm/i915: Avoid clearing preallocated regions from the GTT

As yet we do not do any preallocation (chicken-and-egg problem), but we
may like to preserve anything already allocated by the BIOS or grub and
reuse for own purposes after initialising the driver.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c