drm/amdgpu: allocate shared fence slot in VA IOCTL
authorChristian König <christian.koenig@amd.com>
Mon, 11 Jun 2018 13:10:02 +0000 (15:10 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 15:28:10 +0000 (10:28 -0500)
commitb1dc9d8755d9ee605990f32d82ca39b57c7cdcbb
tree0979121fd642c913f443139531e1840c51fdb3a4
parentdaf0678c2036c918f01e4aa6035629d2debc2f30
drm/amdgpu: allocate shared fence slot in VA IOCTL

Per VM BOs share the reservation object with the PD and so need to
reserve a shared fence slot for the update.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c