]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/vmwgfx: Reserve first part of VRAM for framebuffer.
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 May 2010 09:22:00 +0000 (11:22 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 31 May 2010 23:37:28 +0000 (09:37 +1000)
commit22ee861c816689b2566290356d54e4a01c9b2e74
tree336d5b5f516c5345907f343f86ca0ab452c28930
parentd7e1958dbe4a7b81d4cab5fab545a068501b967e
drm/vmwgfx: Reserve first part of VRAM for framebuffer.

The host may be touching this part of VRAM at modesetting,
even if we never use it ourselves, since we blit screen updates from 3D
surfaces. Make sure no DMA buffers are placed in this part of VRAM.

V2: Fix an error check in vmw_surface_dmabuf_pin().

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c