Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: Enable gfxoff quirk on MacBook Pro

Enabling gfxoff quirk results in perfectly usable graphical user
interface on MacBook Pro (15-inch, 2019) with Radeon Pro Vega 20 4 GB.

Without the quirk, X server is completely unusable as every few seconds
there is gpu reset due to ring gfx timeout.

Signed-off-by: Tomasz Moń <desowin@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Tomasz Moń and committed by
Alex Deucher
9b6a1ec7 9e051720

+2
+2
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
··· 1205 1205 { 0x1002, 0x15dd, 0x103c, 0x83e7, 0xd3 }, 1206 1206 /* GFXOFF is unstable on C6 parts with a VBIOS 113-RAVEN-114 */ 1207 1207 { 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 }, 1208 + /* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */ 1209 + { 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 }, 1208 1210 { 0, 0, 0, 0, 0 }, 1209 1211 }; 1210 1212