drm/amdgpu: mitigate workaround for i915
authorChristian König <christian.koenig@amd.com>
Mon, 19 Feb 2018 10:29:35 +0000 (11:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Feb 2018 19:40:13 +0000 (14:40 -0500)
commit9021d2edd259d992cf8b5b48791ab50829129de7
treeba5a676da0923a8c7ac0d0817a58ec47944d66e6
parent5a13761fa68306bc21ff91d9ca4d56d14793c889
drm/amdgpu: mitigate workaround for i915

To be able to use DRI_PRIME with amdgpu and i915 we add all our fences
only as exclusive ones.

Disable that behavior when sharing between amdgpu itself cause it
hinders concurrent execution.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c