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 |
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 --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 }, };