mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-21 08:03:45 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user