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

Submitted by Liu, Shaoyun on July 7, 2017, 5:21 p.m.

Details

Message ID 1499448103-12407-1-git-send-email-Shaoyun.Liu@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Liu, Shaoyun July 7, 2017, 5:21 p.m.
Change-Id: I56475b72ac9f9a8e2701c58c5b10e1f2930af7cd
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15d.h | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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

Comments

> -----Original Message-----

> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf

> Of Shaoyun Liu

> Sent: Friday, July 07, 2017 1:22 PM

> To: amd-gfx@lists.freedesktop.org

> Cc: Liu, Shaoyun

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

> define

> 

> Change-Id: I56475b72ac9f9a8e2701c58c5b10e1f2930af7cd

> Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>


Series is:
Acked-by: Alex Deucher <alexander.deucher@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

> 

> _______________________________________________

> amd-gfx mailing list

> amd-gfx@lists.freedesktop.org

> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
The series is Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>


On 17-07-07 01:21 PM, Shaoyun Liu wrote:
> Change-Id: I56475b72ac9f9a8e2701c58c5b10e1f2930af7cd
> Signed-off-by: Shaoyun Liu <Shaoyun.Liu@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