All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: Enable gfxoff quirk on MacBook Pro
@ 2022-04-06 19:49 Tomasz Moń
  2022-04-07 16:29 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Moń @ 2022-04-06 19:49 UTC (permalink / raw)
  To: Alex Deucher; +Cc: Christian König, amd-gfx, Tomasz Moń

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>
---
 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 46d4bf27ebbb..b8cfcc6b1125 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1205,6 +1205,8 @@ static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = {
 	{ 0x1002, 0x15dd, 0x103c, 0x83e7, 0xd3 },
 	/* GFXOFF is unstable on C6 parts with a VBIOS 113-RAVEN-114 */
 	{ 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 },
+	/* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */
+	{ 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 },
 	{ 0, 0, 0, 0, 0 },
 };
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amdgpu: Enable gfxoff quirk on MacBook Pro
  2022-04-06 19:49 [PATCH] drm/amdgpu: Enable gfxoff quirk on MacBook Pro Tomasz Moń
@ 2022-04-07 16:29 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2022-04-07 16:29 UTC (permalink / raw)
  To: Tomasz Moń; +Cc: Alex Deucher, Christian König, amd-gfx list

Applied.  Thanks!

Alex

On Wed, Apr 6, 2022 at 3:49 PM Tomasz Moń <desowin@gmail.com> wrote:
>
> 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>
> ---
>  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 46d4bf27ebbb..b8cfcc6b1125 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1205,6 +1205,8 @@ static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = {
>         { 0x1002, 0x15dd, 0x103c, 0x83e7, 0xd3 },
>         /* GFXOFF is unstable on C6 parts with a VBIOS 113-RAVEN-114 */
>         { 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 },
> +       /* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */
> +       { 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 },
>         { 0, 0, 0, 0, 0 },
>  };
>
> --
> 2.35.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-07 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 19:49 [PATCH] drm/amdgpu: Enable gfxoff quirk on MacBook Pro Tomasz Moń
2022-04-07 16:29 ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.