RE: [PATCH v3 2/3] drm/amdgpu/vcn4.0.5: Remove unused define

2026-04-08 Thread Dong, Ruijing
[AMD Official Use Only - AMD Internal Distribution Only]

Reviewed-by: Ruijing Dong 

Thanks,
Ruijing

-Original Message-
From: Benjamin Cheng 
Sent: Wednesday, April 8, 2026 8:54 AM
To: Deucher, Alexander ; Koenig, Christian 
; Liu, Leo ; 
[email protected]
Cc: Wu, David ; Dong, Ruijing ; Cheng, 
Benjamin 
Subject: [PATCH v3 2/3] drm/amdgpu/vcn4.0.5: Remove unused define

As part of the previous cleanup, this was noticed to never be used.

Signed-off-by: Benjamin Cheng 
---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c 
b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
index cbbc02d68695..a204a0f5c44d 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
@@ -48,8 +48,6 @@
 #define VCN1_VID_SOC_ADDRESS_3_0   
(0x48300 + 0x38000)
 #define VCN1_AON_SOC_ADDRESS_3_0   
(0x48000 + 0x38000)

-#define VCN_HARVEST_MMSCH  0
-
 static const struct amdgpu_hwip_reg_entry vcn_reg_list_4_0_5[] = {
SOC15_REG_ENTRY_STR(VCN, 0, regUVD_POWER_STATUS),
SOC15_REG_ENTRY_STR(VCN, 0, regUVD_STATUS),
--
2.53.0



Re: [PATCH v3 2/3] drm/amdgpu/vcn4.0.5: Remove unused define

2026-04-08 Thread Christian König
On 4/8/26 14:54, Benjamin Cheng wrote:
> As part of the previous cleanup, this was noticed to never be used.
> 
> Signed-off-by: Benjamin Cheng 

Reviewed-by: Christian König 

> ---
>  drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c 
> b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
> index cbbc02d68695..a204a0f5c44d 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
> @@ -48,8 +48,6 @@
>  #define VCN1_VID_SOC_ADDRESS_3_0 
> (0x48300 + 0x38000)
>  #define VCN1_AON_SOC_ADDRESS_3_0 
> (0x48000 + 0x38000)
>  
> -#define VCN_HARVEST_MMSCH> 0
> -
>  static const struct amdgpu_hwip_reg_entry vcn_reg_list_4_0_5[] = {
>   SOC15_REG_ENTRY_STR(VCN, 0, regUVD_POWER_STATUS),
>   SOC15_REG_ENTRY_STR(VCN, 0, regUVD_STATUS),



[PATCH v3 2/3] drm/amdgpu/vcn4.0.5: Remove unused define

2026-04-08 Thread Benjamin Cheng
As part of the previous cleanup, this was noticed to never be used.

Signed-off-by: Benjamin Cheng 
---
 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c 
b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
index cbbc02d68695..a204a0f5c44d 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
@@ -48,8 +48,6 @@
 #define VCN1_VID_SOC_ADDRESS_3_0   
(0x48300 + 0x38000)
 #define VCN1_AON_SOC_ADDRESS_3_0   
(0x48000 + 0x38000)
 
-#define VCN_HARVEST_MMSCH  0
-
 static const struct amdgpu_hwip_reg_entry vcn_reg_list_4_0_5[] = {
SOC15_REG_ENTRY_STR(VCN, 0, regUVD_POWER_STATUS),
SOC15_REG_ENTRY_STR(VCN, 0, regUVD_STATUS),
-- 
2.53.0