Skip to content

Commit

Permalink
Apply amdgpu_gfxoff_quirk to Atari VCS to eliminate gpu timeouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
fewtarius committed May 28, 2024
1 parent 5d526ee commit afdaa5b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions PKGBUILD/linux/021-gfxoff-atari-vcs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -rupN linux-6.9.2.orig/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c linux-6.9.2/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
--- linux-6.9.2.orig/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 2024-05-28 09:44:01.917077876 +0000
+++ linux-6.9.2/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 2024-05-28 10:01:04.504799814 +0000
@@ -1170,6 +1170,8 @@ static const struct amdgpu_gfxoff_quirk
{ 0x1002, 0x15dd, 0x103c, 0x83e7, 0xd3 },
/* GFXOFF is unstable on C6 parts with a VBIOS 113-RAVEN-114 */
{ 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 },
+ /* GFXOFF is unstable on 91 (Atari VCS) with 113-RAVEN2-117 */
+ { 0x1002, 0x15D8, 0x1002, 0x15D8, 0x91 },
/* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */
{ 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 },
{ 0, 0, 0, 0, 0 },
4 changes: 3 additions & 1 deletion PKGBUILD/linux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

pkgbase=linux # Build stock -ARCH kernel
pkgver=6.9.2
pkgrel=1
pkgrel=2
pkgdesc="Linux Stable"
arch=(x86_64)
url="https://kernel.org/"
Expand Down Expand Up @@ -49,6 +49,7 @@ source=(
'014-aw87xxx-suspend-resume.patch'
'015-bmi260-driver.patch'
'020-enable-overdrive.patch'
'021-gfxoff-atari-vcs.patch'
'030-color-management-props.patch'
'099-platform-drivers.patch'

Expand All @@ -72,6 +73,7 @@ sha256sums=('SKIP'
'9e6a5380f754d20d251153e7c937583e684377a4955f8c2496f728dddfaea218'
'4e41f289e187de9a80776898901b093b950f7de15f0094270d53ccd16a80cc67'
'e503ba1484972990eb06eae6dbdb231628d00c3f96744f51f4054abb29dfd060'
'cc5e550a0e4825d587cae38a9ce4c686494b0d4ea54e00ca65b79f2371cca7d0'
'79e4a2da142c761d3e3da12f709b4707c158cd3c6510e4c191d57db3025f2d1e'
'f1cf80786eddf2a9a16b6774e2dc315377d4635171ca18faebe73745882f593d'
)
Expand Down

0 comments on commit afdaa5b

Please sign in to comment.