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>
This commit is contained in:
Leo Liu
2017-02-15 10:16:25 -05:00
committed by Alex Deucher
parent f2d7e70708
commit 3639f7d855
2 changed files with 12 additions and 12 deletions

View File

@@ -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;