[PATCH 1/2] drm/amdgpu: Add invalidate tlb for all hub bit field define

Shaoyun Liu Shaoyun.Liu at amd.com
Fri Jul 7 17:21:43 UTC 2017


Change-Id: I56475b72ac9f9a8e2701c58c5b10e1f2930af7cd
Signed-off-by: Shaoyun Liu <Shaoyun.Liu at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15d.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15d.h b/drivers/gpu/drm/amd/amdgpu/soc15d.h
index 298ef4e..3130af8 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15d.h
+++ b/drivers/gpu/drm/amd/amdgpu/soc15d.h
@@ -269,6 +269,7 @@
 
 #define	PACKET3_INVALIDATE_TLBS				0x98
 #              define PACKET3_INVALIDATE_TLBS_DST_SEL(x)     ((x) << 0)
+#              define PACKET3_INVALIDATE_TLBS_ALL_HUB(x)     ((x) << 4)
 #              define PACKET3_INVALIDATE_TLBS_PASID(x)       ((x) << 5)
 #define PACKET3_SET_RESOURCES				0xA0
 /* 1. header
-- 
1.9.1



More information about the amd-gfx mailing list