summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYong Zhao <Yong.Zhao@amd.com>2019-09-16 19:24:38 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-10-03 17:10:58 +0300
commit8daf3eccf85ecfd98df34bd54eafd73eb8d0d6d9 (patch)
treec1c8b312ff0f3f0e19911bd936751b6d27be9bdb /drivers
parentea268870d6f548d0661e896e9746673210c1fa79 (diff)
downloadlinux-8daf3eccf85ecfd98df34bd54eafd73eb8d0d6d9.tar.xz
drm/amdkfd: Delete unused KFD_IS_* macro
These were deleted before, but somehow showed up again. Delete them again. Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_priv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
index 3bb75d11a662..abaed582d1df 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -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 {