drm/amdgpu: enable gfxoff quirk on HP 705G4
authorPeng Liu <liupeng01@kylinos.cn>
Fri, 30 Aug 2024 07:27:08 +0000 (15:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Sep 2024 21:38:45 +0000 (17:38 -0400)
Enabling gfxoff quirk results in perfectly usable
graphical user interface on HP 705G4 DM with R5 2400G.

Without the quirk, X server is completely unusable as
every few seconds there is gpu reset due to ring gfx timeout.

Signed-off-by: Peng Liu <liupeng01@kylinos.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

index a05a5dc7f2c7dd6621ebb030809f87ca86c9115c..23f0573ae47b33316881254a689c61b6cbc53d7f 100644 (file)
@@ -1347,6 +1347,8 @@ static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = {
        { 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 },
        /* https://bbs.openkylin.top/t/topic/171497 */
        { 0x1002, 0x15d8, 0x19e5, 0x3e14, 0xc2 },
+       /* HP 705G4 DM with R5 2400G */
+       { 0x1002, 0x15dd, 0x103c, 0x8464, 0xd6 },
        { 0, 0, 0, 0, 0 },
 };