diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-01-09 11:03:08 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-09-01 10:16:43 +0200 |
commit | 58b4d720c1620bbf09e42b4f218dcb2d0d8cdf3e (patch) | |
tree | 87edd6d708d020f349702eb42049bef343540aec /drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | |
parent | dd7cfd641228abb2669d8d047d5ec377b1835900 (diff) | |
download | op-kernel-dev-58b4d720c1620bbf09e42b4f218dcb2d0d8cdf3e.zip op-kernel-dev-58b4d720c1620bbf09e42b4f218dcb2d0d8cdf3e.tar.gz |
drm/ttm: add interruptible parameter to ttm_eu_reserve_buffers
It seems some drivers really want this as a parameter,
like vmwgfx.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_resource.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c b/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c index 1ee86bf..2316936 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c @@ -1216,7 +1216,7 @@ vmw_resource_check_buffer(struct vmw_resource *res, INIT_LIST_HEAD(&val_list); val_buf->bo = ttm_bo_reference(&res->backup->base); list_add_tail(&val_buf->head, &val_list); - ret = ttm_eu_reserve_buffers(NULL, &val_list); + ret = ttm_eu_reserve_buffers(NULL, &val_list, interruptible); if (unlikely(ret != 0)) goto out_no_reserve; |