drm/amdgpu: Enable gfxoff quirk on MacBook Pro
authorTomasz Moń <desowin@gmail.com>
Wed, 6 Apr 2022 19:49:21 +0000 (21:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:34:20 +0000 (09:34 +0200)
commit2dd7d2eddf8e1ff3556e333979af99e4c167a7b5
tree3dcfea1a1a0dbd3ae418da85c6da90bbe6bf0a54
parent804c096d640ece718d6505c5252eb66544bbc2c9
drm/amdgpu: Enable gfxoff quirk on MacBook Pro

commit 4593c1b6d159f1e5c35c07a7f125e79e5a864302 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c