]> git.baikalelectronics.ru Git - 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)
commite11d29d2b13d551e5504fdbf1880a131b0c8309d
tree336d5b5f516c5345907f343f86ca0ab452c28930
parent473d28da43a7740863cd4350426a8e2a4904bd4b
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