mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/ttm: allow reserving more than one shared slot v3
Let's support simultaneous submissions to multiple engines. v2: rename the field to num_shared and fix up all users v3: rebased Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
c50fe0c5b1
commit
a9f34c70fd
@@ -266,7 +266,7 @@ int vmw_validation_add_bo(struct vmw_validation_context *ctx,
|
||||
val_buf->bo = ttm_bo_get_unless_zero(&vbo->base);
|
||||
if (!val_buf->bo)
|
||||
return -ESRCH;
|
||||
val_buf->shared = false;
|
||||
val_buf->num_shared = 0;
|
||||
list_add_tail(&val_buf->head, &ctx->bo_list);
|
||||
bo_node->as_mob = as_mob;
|
||||
bo_node->cpu_blit = cpu_blit;
|
||||
|
||||
Reference in New Issue
Block a user