[PATCH] drm/amdgpu: remove unused macro HW_REV

Lazar, Lijo lijo.lazar at amd.com
Tue Oct 31 04:04:27 UTC 2023



On 10/31/2023 7:42 AM, Yang Wang wrote:
> remove unused macro HW_REV
> 
> Signed-off-by: Yang Wang <kevinyang.wang at amd.com>

Reviewed-by: Lijo Lazar <lijo.lazar at amd.com>

Thanks,
Lijo
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> index a2e8c2b60857..969d8ba8b8dc 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> @@ -365,9 +365,6 @@ struct amdgpu_ip_block_version {
>   	const struct amd_ip_funcs *funcs;
>   };
>   
> -#define HW_REV(_Major, _Minor, _Rev) \
> -	((((uint32_t) (_Major)) << 16) | ((uint32_t) (_Minor) << 8) | ((uint32_t) (_Rev)))
> -
>   struct amdgpu_ip_block {
>   	struct amdgpu_ip_block_status status;
>   	const struct amdgpu_ip_block_version *version;


More information about the amd-gfx mailing list