Skip to contentSkip to conversation

drm/amdgpu/vcn3: drop extraneous Beige Goby hunk

PATCH In review Alex Deucher 2 participants 2 messages Jun 15, 2021

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu/vcn3: drop extraneous Beige Goby hunk

Probably a rebase leftover. This doesn't apply to SR-IOV, and the non-SR-IOV code below it already handles this properly.

---
 drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c +0 -5
index 4c36fc5c9738..ea6487ca997a 100644
@@ -93,11 +93,6 @@ static int vcn_v3_0_early_init(void *handle)
 		adev->vcn.harvest_config = 0;
 		adev->vcn.num_enc_rings = 1;
 
-	if (adev->asic_type == CHIP_BEIGE_GOBY) {
-		adev->vcn.num_vcn_inst = 1;
-		adev->vcn.num_enc_rings = 0;
-	}
-
 	} else {
 		if (adev->asic_type == CHIP_SIENNA_CICHLID) {
 			u32 harvest;
Signature · 6 lines
2.31.1

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

[AMD Official Use Only]

This patch is Reviewed-by: James Zhu <[email protected]>

Thanks & Best Regards!

James Zhu

________________________________
From: amd-gfx <[email protected]> on behalf of Alex Deucher <[email protected]>
Sent: Tuesday, June 15, 2021 5:32 PM
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/vcn3: drop extraneous Beige Goby hunk

Probably a rebase leftover. This doesn't apply to SR-IOV, and the non-SR-IOV code below it already handles this properly.

---
 drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c +0 -5
index 4c36fc5c9738..ea6487ca997a 100644
@@ -93,11 +93,6 @@ static int vcn_v3_0_early_init(void *handle)
                 adev->vcn.harvest_config = 0;
                 adev->vcn.num_enc_rings = 1;
 
-       if (adev->asic_type == CHIP_BEIGE_GOBY) {
-               adev->vcn.num_vcn_inst = 1;
-               adev->vcn.num_enc_rings = 0;
-       }
-
         } else {
                 if (adev->asic_type == CHIP_SIENNA_CICHLID) {
                         u32 harvest;

--
2.31.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=04%7C01%7Cjames.zhu%40amd.com%7C438470def59345ef4f1f08d9304565a2%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637593896894033208%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rTKUaT%2BRjI0S%2B8le%2BdbtSUGjksyDTF%2BV9SdBTwFpjxk%3D&amp;reserved=0

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