Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
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
..
2016-06-20 15:55:49 +02:00
2016-06-21 22:10:55 +02:00
2016-06-21 21:43:28 +02:00
2016-06-21 22:10:55 +02:00
2016-06-21 21:43:28 +02:00
2016-06-02 16:25:20 +02:00
2016-06-21 21:58:12 +02:00
2016-06-21 21:43:46 +02:00
2016-06-21 22:10:55 +02:00
2016-06-21 21:58:12 +02:00
2016-06-13 10:45:57 +02:00
2016-05-06 16:04:48 +02:00
2016-06-21 21:43:46 +02:00
2016-06-16 10:16:11 +02:00