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, 7 Apr 2022 20:37:24 +0000 (16:37 -0400)
commit9b6a1ec7924e9feee70ece3f779bc058ff25f716
tree051e307543a46f53876bfd1e2e34eedd8ced730e
parent9e051720f9d37ef6f878a6106478c82fb9b375d1
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>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c