Skip to contentSkip to conversation

drm/amdgpu: disable page queue support for Vega20

PATCH In review Evan Quan 4 participants 4 messages Nov 21, 2018 – Nov 22, 2018 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Evan Quan

author
#0 lore raw

PATCH 1/1 drm/amdgpu: disable page queue support for Vega20

Keep it disabled until we confirm it's ready.

Change-Id I2dc4c0f1156dd82f7046672fed6d22b9d18c2010
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -1
index 0a3b68dd49a0..e6cb2c399957 100644
@@ -1457,7 +1457,8 @@ static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev)
 	case CHIP_VEGA12:
 		return fw_version >= 31;
 	case CHIP_VEGA20:
-		return fw_version >= 115;
+		//return fw_version >= 115;
+		return false;
 	default:
 		return false;
 	}
Signature · 6 lines
2.19.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

Reviewed-by
#2 lore raw
Quoted 26 lines · Evan Quan

Keep it disabled until we confirm it's ready.

Change-Id I2dc4c0f1156dd82f7046672fed6d22b9d18c2010
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -2
index 0a3b68dd49a0..e6cb2c399957 100644
@@ -1457,7 +1457,8 @@ static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev)
        case CHIP_VEGA12:
                return fw_version >= 31;
        case CHIP_VEGA20:
-               return fw_version >= 115;
+               //return fw_version >= 115;
+               return false;
        default:
                return false;
        }
--

2.19.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): CADnq5_Pg=pepXBY=Gj-nzmihdfig+weFNtnc7JBmBrqE5QNF2A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

Reviewed-by
#4 lore raw

Do we need this for vega12 as well?

________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Alex Deucher <[email protected]>
Sent: Wednesday, November 21, 2018 2:25:06 AM
To: Quan, Evan
Cc: amd-gfx list
Subject: Re: [PATCH] drm/amdgpu: disable page queue support for Vega20

Quoted 26 lines · Evan Quan

Keep it disabled until we confirm it's ready.

Change-Id I2dc4c0f1156dd82f7046672fed6d22b9d18c2010
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -2
index 0a3b68dd49a0..e6cb2c399957 100644
@@ -1457,7 +1457,8 @@ static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev)
        case CHIP_VEGA12:
                return fw_version >= 31;
        case CHIP_VEGA20:
-               return fw_version >= 115;
+               //return fw_version >= 115;
+               return false;
        default:
                return false;
        }
--

2.19.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#5 lore raw
In reply to a message not in the archive

Am 21.11.18 um 07:40 schrieb Evan Quan:

Quoted 13 lines

Keep it disabled until we confirm it's ready.

Change-Id I2dc4c0f1156dd82f7046672fed6d22b9d18c2010
---
  drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +0 -0
index 0a3b68dd49a0..e6cb2c399957 100644

drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev) · line 1461

Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -1
@@ -1457,7 +1457,8 @@ static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev)
  	case CHIP_VEGA12:
  		return fw_version >= 31;
  	case CHIP_VEGA20:
-		return fw_version >= 115;
+		//return fw_version >= 115;
+		return false;

Please don't use "//" in kernel code to comment things out.

Christian.

drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev) · line 1464

Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +0 -0
  	default:
  		return false;
  	}

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx