aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2017-02-15 10:16:25 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 17:41:39 -0400
commit3639f7d855746406c1c1df81560b4d1d83e8c5a4 (patch)
tree551498a63fdf8273260d8e4003b5e7623a3aaed4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
parentdrm/amdgpu: add vcn ip block to soc15 (diff)
downloadlinux-dev-3639f7d855746406c1c1df81560b4d1d83e8c5a4.tar.xz
linux-dev-3639f7d855746406c1c1df81560b4d1d83e8c5a4.zip
drm/amdgpu: change vcn dec rb command specific for decode
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
index 5dbc6aa33917..550656891a8b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
@@ -30,12 +30,12 @@
#define AMDGPU_VCN_FIRMWARE_OFFSET 256
#define AMDGPU_VCN_MAX_ENC_RINGS 3
-#define VCN_CMD_FENCE 0x00000000
-#define VCN_CMD_TRAP 0x00000001
-#define VCN_CMD_WRITE_REG 0x00000004
-#define VCN_CMD_REG_READ_COND_WAIT 0x00000006
-#define VCN_CMD_PACKET_START 0x0000000a
-#define VCN_CMD_PACKET_END 0x0000000b
+#define VCN_DEC_CMD_FENCE 0x00000000
+#define VCN_DEC_CMD_TRAP 0x00000001
+#define VCN_DEC_CMD_WRITE_REG 0x00000004
+#define VCN_DEC_CMD_REG_READ_COND_WAIT 0x00000006
+#define VCN_DEC_CMD_PACKET_START 0x0000000a
+#define VCN_DEC_CMD_PACKET_END 0x0000000b
struct amdgpu_vcn {
struct amdgpu_bo *vcpu_bo;