]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: Enable gfxoff quirk on MacBook Pro
authorTomasz Moń <desowin@gmail.com>
Wed, 6 Apr 2022 19:49:21 +0000 (21:49 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:42:36 +0000 (14:42 +0200)
commit4385fbaa4479f7f49d52c14abdda3154c47f8485
treee9b317db7e9831fc3cc0043bca8fb5b4136044ad
parent978f203d8b6cf6a4f71efc9a1d4345d024761c6e
drm/amdgpu: Enable gfxoff quirk on MacBook Pro

BugLink: https://bugs.launchpad.net/bugs/1969857
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c