projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'amd-drm-next-5.19-2022-04-15' of https://gitlab.freedesktop.org/agd5f...
[linux-block.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
amdgpu_display.c
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
index 787724166952472bcdf816f536a7b516ca674419..17c9bbe0cbc59fadbc64d303e5872f7766230397 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
@@
-206,8
+206,7
@@
int amdgpu_display_crtc_page_flip_target(struct drm_crtc *crtc,
goto unpin;
}
- /* TODO: Unify this with other drivers */
- r = dma_resv_get_fences(new_abo->tbo.base.resv, true,
+ r = dma_resv_get_fences(new_abo->tbo.base.resv, DMA_RESV_USAGE_WRITE,
&work->shared_count,
&work->shared);
if (unlikely(r != 0)) {