[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.

Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c 
b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
index 4c36fc5c9738..ea6487ca997a 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
@@ -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

Reply via email to