linux/drivers/gpu/drm/amd
Christian König 090b767e97 drm/amdgpu: check flush fence context instead of same ring v2
Otherwise we can run into the following situation:

1. Process A grabs ID 1 for ring 0.
2. Process B grabs ID 1 for ring 0.
3. Process A grabs ID 1 for ring 1.
4. Process A tries to reuse ID1 for ring 0 but things he doesn't need to flush.

v2: check the context of the flush fence instead of messing with the owner field.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-07-14 16:46:07 -04:00
..
acp drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU 2016-05-25 09:44:15 -04:00
amdgpu drm/amdgpu: check flush fence context instead of same ring v2 2016-07-14 16:46:07 -04:00
amdkfd Linux 4.7-rc5 2016-07-02 15:56:01 +10:00
include drm/amdgpu: add read/write function for GC CAC programming 2016-07-07 15:06:23 -04:00
powerplay drm/amdgpu/powerplay: endian fixes for ppatomctrl.c 2016-07-08 10:12:10 -04:00
scheduler drm/amdgpu: add amd_sched_job_recovery 2016-07-07 15:06:15 -04:00