diff options
| author | Christian König <[email protected]> | 2021-06-02 11:01:15 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2021-06-06 09:19:51 +0000 |
| commit | d3fae3b3daac09961ab871a25093b0ae404282d5 (patch) | |
| tree | 08af1080c5214e2e541b1306355a14ecd51aa3b2 /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | |
| parent | dma-buf: rename dma_resv_get_excl_rcu to _unlocked (diff) | |
| download | kernel-d3fae3b3daac09961ab871a25093b0ae404282d5.tar.gz kernel-d3fae3b3daac09961ab871a25093b0ae404282d5.zip | |
dma-buf: drop the _rcu postfix on function names v3
The functions can be called both in _rcu context as well
as while holding the lock.
v2: add some kerneldoc as suggested by Daniel
v3: fix indentation
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c index 82f0542c7792..a692a4570627 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c @@ -1126,9 +1126,8 @@ static int amdgpu_uvd_send_msg(struct amdgpu_ring *ring, struct amdgpu_bo *bo, ib->length_dw = 16; if (direct) { - r = dma_resv_wait_timeout_rcu(bo->tbo.base.resv, - true, false, - msecs_to_jiffies(10)); + r = dma_resv_wait_timeout(bo->tbo.base.resv, true, false, + msecs_to_jiffies(10)); if (r == 0) r = -ETIMEDOUT; if (r < 0) |
