aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-01-12 21:57:53 +0100
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:18:09 -0500
commit9096d6e51a121c4cd2ea13e7b5087272425cf87a (patch)
treef13a4351900542b2209f3b61f7cda1923948114c /drivers/gpu/drm/amd/amdgpu/soc15.h
parentdrm/amdgpu: implement gmc_v8_0_emit_flush_gpu_tlb (diff)
downloadlinux-dev-9096d6e51a121c4cd2ea13e7b5087272425cf87a.tar.xz
linux-dev-9096d6e51a121c4cd2ea13e7b5087272425cf87a.zip
drm/amdgpu: implement gmc_v9_0_emit_flush_gpu_tlb
Unify tlb flushing for gmc v9. 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/soc15.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.h b/drivers/gpu/drm/amd/amdgpu/soc15.h
index 26b3feac5d06..a6b3b00d55e4 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.h
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.h
@@ -27,6 +27,8 @@
#include "nbio_v6_1.h"
#include "nbio_v7_0.h"
+#define SOC15_FLUSH_GPU_TLB_NUM_WREG 3
+
extern const struct amd_ip_funcs soc15_common_ip_funcs;
struct soc15_reg_golden {