Skip to contentSkip to conversation

drm/amdkfd: Delete unused KFD_IS_* macro

PATCH In review Zhao, Yong 3 participants 3 messages Sep 16, 2019 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Zhao, Yong

author
#0 lore raw

PATCH 1/1 drm/amdkfd: Delete unused KFD_IS_* macro

These were deleted before, but somehow showed up again. Delete them again.

Change-Id I19b3063932380cb74a01d505e8e92f897a2c2cb7
---
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_priv.h +0 -4
index 06bb2d7a9b39..0773dc4df4ff 100644
@@ -179,10 +179,6 @@ enum cache_policy {
 	cache_policy_noncoherent
 };
 
-#define KFD_IS_VI(chip) ((chip) >= CHIP_CARRIZO && (chip) <= CHIP_POLARIS11)
-#define KFD_IS_DGPU(chip) (((chip) >= CHIP_TONGA && \
-			   (chip) <= CHIP_NAVI10) || \
-			   (chip) == CHIP_HAWAII)
 #define KFD_IS_SOC15(chip) ((chip) >= CHIP_VEGA10)
 
 struct kfd_event_interrupt_class {
Signature · 6 lines
2.17.1

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Zhao, Yong <[email protected]>
Sent: Monday, September 16, 2019 12:33 PM
To: [email protected] <[email protected]>
Cc: Zhao, Yong <[email protected]>
Subject: [PATCH] drm/amdkfd: Delete unused KFD_IS_* macro

These were deleted before, but somehow showed up again. Delete them again.

Change-Id I19b3063932380cb74a01d505e8e92f897a2c2cb7
---
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_priv.h +0 -4
index 06bb2d7a9b39..0773dc4df4ff 100644
@@ -179,10 +179,6 @@ enum cache_policy {
         cache_policy_noncoherent
 };
 
-#define KFD_IS_VI(chip) ((chip) >= CHIP_CARRIZO && (chip) <= CHIP_POLARIS11)
-#define KFD_IS_DGPU(chip) (((chip) >= CHIP_TONGA && \
-                          (chip) <= CHIP_NAVI10) || \
-                          (chip) == CHIP_HAWAII)
 #define KFD_IS_SOC15(chip) ((chip) >= CHIP_VEGA10)
 
 struct kfd_event_interrupt_class {

--
2.17.1

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

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

Reviewed-by Felix Kuehling
#3 lore raw
In reply to a message not in the archive
Quoted 4 lines · Yong

These were deleted before, but somehow showed up again. Delete them again.

Change-Id I19b3063932380cb74a01d505e8e92f897a2c2cb7
Quoted 9 lines
---
  drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 4 ----
  1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_priv.h +0 -0
index 06bb2d7a9b39..0773dc4df4ff 100644

drivers/gpu/drm/amd/amdkfd/kfd_priv.h enum cache_policy { · line 184

Quoted 10 lines
drivers/gpu/drm/amd/amdkfd/kfd_priv.h +0 -4
@@ -179,10 +179,6 @@ enum cache_policy {
  	cache_policy_noncoherent
  };
 
-#define KFD_IS_VI(chip) ((chip) >= CHIP_CARRIZO && (chip) <= CHIP_POLARIS11)
-#define KFD_IS_DGPU(chip) (((chip) >= CHIP_TONGA && \
-			   (chip) <= CHIP_NAVI10) || \
-			   (chip) == CHIP_HAWAII)
  #define KFD_IS_SOC15(chip) ((chip) >= CHIP_VEGA10)
 
  struct kfd_event_interrupt_class {

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