drm/amdgpu: Enable gfxoff quirk on MacBook Pro
authorTomasz Moń <desowin@gmail.com>
Wed, 6 Apr 2022 19:49:21 +0000 (21:49 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Apr 2022 02:22:27 +0000 (22:22 -0400)
commit4593c1b6d159f1e5c35c07a7f125e79e5a864302
treef4607cccd37ff314d165f590a0d0b5002f60b259
parent887f75cfd0da44c19dda93b2ff9e70ca8792cdc1
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c