All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: remove unused macro HW_REV
@ 2023-10-31  2:12 Yang Wang
  2023-10-31  2:22 ` Feng, Kenneth
  2023-10-31  4:04 ` Lazar, Lijo
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Wang @ 2023-10-31  2:12 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yang Wang

remove unused macro HW_REV

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
---
 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;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] drm/amdgpu: remove unused macro HW_REV
  2023-10-31  2:12 [PATCH] drm/amdgpu: remove unused macro HW_REV Yang Wang
@ 2023-10-31  2:22 ` Feng, Kenneth
  2023-10-31  4:04 ` Lazar, Lijo
  1 sibling, 0 replies; 3+ messages in thread
From: Feng, Kenneth @ 2023-10-31  2:22 UTC (permalink / raw)
  To: Wang, Yang(Kevin), amd-gfx@lists.freedesktop.org; +Cc: Wang, Yang(Kevin)

[AMD Official Use Only - General]

Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>


-----Original Message-----
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Yang Wang
Sent: Tuesday, October 31, 2023 10:13 AM
To: amd-gfx@lists.freedesktop.org
Cc: Wang, Yang(Kevin) <KevinYang.Wang@amd.com>
Subject: [PATCH] drm/amdgpu: remove unused macro HW_REV

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.


remove unused macro HW_REV

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
---
 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;
--
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/amdgpu: remove unused macro HW_REV
  2023-10-31  2:12 [PATCH] drm/amdgpu: remove unused macro HW_REV Yang Wang
  2023-10-31  2:22 ` Feng, Kenneth
@ 2023-10-31  4:04 ` Lazar, Lijo
  1 sibling, 0 replies; 3+ messages in thread
From: Lazar, Lijo @ 2023-10-31  4:04 UTC (permalink / raw)
  To: Yang Wang, amd-gfx



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

Reviewed-by: Lijo Lazar <lijo.lazar@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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-31  4:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31  2:12 [PATCH] drm/amdgpu: remove unused macro HW_REV Yang Wang
2023-10-31  2:22 ` Feng, Kenneth
2023-10-31  4:04 ` Lazar, Lijo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.