From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 105633] [amdgpu][bisected] PRIME stuttering tearing
Date: Tue, 20 Mar 2018 20:53:18 +0000
Message-ID:
Bug ID
105633
Summary
[amdgpu][bisected] PRIME stuttering tearing
Product
DRI
Version
XOrg git
Hardware
x86-64 (AMD64)
OS
Linux (All)
Status
NEW
Severity
normal
Priority
medium
Component
DRM/AMDgpu
Assignee
dri-devel@lists.freedesktop.org
Reporter
mike@fireburn.co.uk
I've bisected this to:
commit 9021d2edd259d992cf8b5b48791ab50829129de7=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Author: Christian K=C3=B6nig <christian.koenig@amd.com>=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Date: Mon Feb 19 11:29:35 2018 +0100=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
drm/amdgpu: mitigate workaround for i915=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
To be able to use DRI_PRIME with amdgpu and i915 we add all our fences=
=20=20=20=20=20=20
only as exclusive ones.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
Disable that behavior when sharing between amdgpu itself cause it=20=20=
=20=20=20=20=20=20=20=20=20
hinders concurrent execution.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
Signed-off-by: Christian K=C3=B6nig <christian.koenig@amd.com>=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>=20=20=20
If I revert that and a bit of:
commit 59dd47728625e6f8e77f888d00596c9fb7057540
Author: Christian K=C3=B6nig <christian.koenig@amd.com>
Date: Tue Feb 20 19:51:02 2018 +0100
drm/amdgpu: further mitigate workaround for i915
Disable the workaround on imported BOs as well.
Signed-off-by: Christian K=C3=B6nig <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexdeucher@amd.com>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>=20=20=20
To work around the compilation issue, things go back to normal