diff options
author | Leo Liu <leo.liu@amd.com> | 2017-02-15 18:16:25 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-25 00:41:39 +0300 |
commit | 3639f7d855746406c1c1df81560b4d1d83e8c5a4 (patch) | |
tree | 551498a63fdf8273260d8e4003b5e7623a3aaed4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
parent | f2d7e7070896c43d80419a70e446226e3e134fe9 (diff) | |
download | linux-3639f7d855746406c1c1df81560b4d1d83e8c5a4.tar.xz |
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.h | 12 |
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; |