1
0
Fork 0
alistair23-linux/drivers/gpu/drm/amd
Nicolai Hähnle 9fc15f5fc8 drm/amdgpu: fix user fence write race condition
The buffer object backing the user fence is reserved using the non-user
fence, i.e., as soon as the non-user fence is signaled, the user fence
buffer object can be moved or even destroyed.

Therefore, emit the user fence first.

Both fences have the same cache invalidation behavior, so this should
have no user-visible effect.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-05 16:39:57 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: fix user fence write race condition 2018-07-05 16:39:57 -05:00
amdkfd Merge tag 'drm-amdkfd-next-2018-05-14' of git://people.freedesktop.org/~gabbayo/linux into drm-next 2018-05-15 16:06:08 +10:00
display drm/amd/display: Notify powerplay the display controller id 2018-07-05 16:39:56 -05:00
include drm/amd/pp: Refine the interface exported to display 2018-07-05 16:39:57 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: Remove duplicate code in vega12_hwmgr.c 2018-07-05 16:39:57 -05:00