summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc15d.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2019-08-08 12:00:16 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-04-28 23:20:28 +0300
commiteda982a67225a8fe46807dc45304469f612e99bb (patch)
treea7feedcfd2559b56c0a0301e1820b039b15f6d33 /drivers/gpu/drm/amd/amdgpu/soc15d.h
parent01a8dcec1a08f7c13b7546742fc84dcd7114bf4e (diff)
downloadlinux-eda982a67225a8fe46807dc45304469f612e99bb.tar.xz
drm/amdgpu: add tmz bit in frame control packet
This patch adds tmz bit in frame control pm4 packet, and it will used in future. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15d.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15d.h b/drivers/gpu/drm/amd/amdgpu/soc15d.h
index edfe50821cd9..295d68c5811d 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15d.h
+++ b/drivers/gpu/drm/amd/amdgpu/soc15d.h
@@ -286,6 +286,7 @@
#define PACKET3_WAIT_ON_DE_COUNTER_DIFF 0x88
#define PACKET3_SWITCH_BUFFER 0x8B
#define PACKET3_FRAME_CONTROL 0x90
+# define FRAME_TMZ (1 << 0)
# define FRAME_CMD(x) ((x) << 28)
/*
* x=0: tmz_begin