]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix dma_fence_wait without reference
authorChristian König <christian.koenig@amd.com>
Fri, 16 Aug 2019 12:56:35 +0000 (14:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Aug 2019 20:33:36 +0000 (15:33 -0500)
commite1adc3cd058e73fcad1cfe86f186cd31e9ad2fd0
treeb4f5a17c99771d8a3ad5c0e6d01f5cd21311603e
parent6de298e0c447170b6267909176137e87228ccf91
drm/amdgpu: fix dma_fence_wait without reference

We need to grab a reference to the fence we wait for.

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