]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit173fb7d4e26705a9e8b8e9d197a18ff39bfdad0a
treef7797b8cbcd5f6d5be686c4c642f4ef9df59a49d
parentb5c3b1a6bfaf71895d656162f29e979c5c904888
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