diff options
author | Christian König <christian.koenig@amd.com> | 2018-01-12 18:58:18 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 22:18:08 +0300 |
commit | 4fef88bd002985908064ea6760623f09ac44355b (patch) | |
tree | 127bdc803df018237f1b4be0fe128e866e2a9238 /drivers/gpu/drm/amd/amdgpu/si.h | |
parent | 7ef11047c1aedeaf72c8ebe5242dbdcdfbb86fc3 (diff) | |
download | linux-4fef88bd002985908064ea6760623f09ac44355b.tar.xz |
drm/amdgpu: implement gmc_v6_0_emit_flush_gpu_tlb
Unify tlb flushing for gmc v6.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si.h b/drivers/gpu/drm/amd/amdgpu/si.h index 589225080c24..06ed7212a0d6 100644 --- a/drivers/gpu/drm/amd/amdgpu/si.h +++ b/drivers/gpu/drm/amd/amdgpu/si.h @@ -24,6 +24,8 @@ #ifndef __SI_H__ #define __SI_H__ +#define SI_FLUSH_GPU_TLB_NUM_WREG 2 + void si_srbm_select(struct amdgpu_device *adev, u32 me, u32 pipe, u32 queue, u32 vmid); int si_set_ip_blocks(struct amdgpu_device *adev); |