]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Persistent tracking of context bindings
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 8 Oct 2013 09:32:36 +0000 (02:32 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 17 Jan 2014 06:52:36 +0000 (07:52 +0100)
commit563342cbfb54025dd05a22eaa92fe46aba513fb0
treef7797b8cbcd5f6d5be686c4c642f4ef9df59a49d
parent944ffef3dd1eb9e72500fb8e8aeb96fa7bc4b82f
drm/vmwgfx: Persistent tracking of context bindings

Only scrub context bindings when a bound resource is destroyed, or when
the MOB backing the context is unbound.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c