]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: alter cpu_writers to return -EBUSY in ttm_execbuf_util reservations
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 6 Nov 2012 13:39:43 +0000 (14:39 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 06:17:35 +0000 (16:17 +1000)
commit0a0257710648a83f4497e01a9b3a3045f8e763bd
tree406029f079300aac57d3463cf952b68d122619e9
parent250fd0841f5341fddb8277ae5179559f7eb48988
drm/ttm: alter cpu_writers to return -EBUSY in ttm_execbuf_util reservations

This is similar to other platforms that don't allow command submission
to buffers locked on the cpu.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_execbuf_util.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_bo_driver.h