diff mbox series

drm/amdgpu: enable gfxoff quirk on HP 705G4

Message ID 20240830072708.128502-1-yaolu@kylinos.cn (mailing list archive)
State New, archived
Headers show
Series drm/amdgpu: enable gfxoff quirk on HP 705G4 | expand

Commit Message

Lu Yao Aug. 30, 2024, 7:27 a.m. UTC
From: Peng Liu <liupeng01@kylinos.cn>

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>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alex Deucher Sept. 2, 2024, 5:46 p.m. UTC | #1
Applied.  Thanks!

On Fri, Aug 30, 2024 at 3:27 AM Lu Yao <yaolu@kylinos.cn> wrote:
>
> From: Peng Liu <liupeng01@kylinos.cn>
>
> 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>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 2929c8972ea7..bd17e32b432d 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1301,6 +1301,8 @@ static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = {
>         { 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 },
>         /* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */
>         { 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 },
> +       /* HP 705G4 DM with R5 2400G */
> +       { 0x1002, 0x15dd, 0x103c, 0x8464, 0xd6},
>         { 0, 0, 0, 0, 0 },
>  };
>
> --
> 2.25.1
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index 2929c8972ea7..bd17e32b432d 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1301,6 +1301,8 @@  static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = {
 	{ 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 },
 	/* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */
 	{ 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 },
+	/* HP 705G4 DM with R5 2400G */
+	{ 0x1002, 0x15dd, 0x103c, 0x8464, 0xd6},
 	{ 0, 0, 0, 0, 0 },
 };