diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2009-12-06 21:46:25 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-07 15:22:03 +1000 |
commit | 4aff1013f5e4ae08a24155c029a2c5e1a7929de6 (patch) | |
tree | 1317322a9e6e4c6094cfa32090c05c20db252ec0 /drivers/gpu/drm/ttm/Makefile | |
parent | 88071539a3f5195f9e9dae38a3e35b3ce4b9f9fc (diff) | |
download | blackbird-op-linux-4aff1013f5e4ae08a24155c029a2c5e1a7929de6.tar.gz blackbird-op-linux-4aff1013f5e4ae08a24155c029a2c5e1a7929de6.zip |
drm/ttm: Add ttm lock functionality.
This is intended to be used by ttm-aware drivers to
1) Block clients to inactive masters when
they try to validate buffers for GPU use.
2) Optionally block clients to the current master when
there is thrashing due to GPU memory shortage.
Used by the vmwgfx driver.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/Makefile')
-rw-r--r-- | drivers/gpu/drm/ttm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/Makefile b/drivers/gpu/drm/ttm/Makefile index a9cc9f895360..4473549bc5d2 100644 --- a/drivers/gpu/drm/ttm/Makefile +++ b/drivers/gpu/drm/ttm/Makefile @@ -4,6 +4,6 @@ ccflags-y := -Iinclude/drm ttm-y := ttm_agp_backend.o ttm_memory.o ttm_tt.o ttm_bo.o \ ttm_bo_util.o ttm_bo_vm.o ttm_module.o ttm_global.o \ - ttm_object.o + ttm_object.o ttm_lock.o obj-$(CONFIG_DRM_TTM) += ttm.o |