mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
amd: move vcn decoding regs + structs to a common file.
This just moves the main regs + fw interface structs to a new shared file. Acked-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14607>
This commit is contained in:
parent
a35c5540e4
commit
14551f2bde
3 changed files with 1090 additions and 1055 deletions
1089
src/amd/common/ac_vcn_dec.h
Normal file
1089
src/amd/common/ac_vcn_dec.h
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -45,22 +45,6 @@
|
|||
#define FB_BUFFER_SIZE 2048
|
||||
#define IT_SCALING_TABLE_SIZE 992
|
||||
#define VP9_PROBS_TABLE_SIZE (RDECODE_VP9_PROBS_DATA_SIZE + 256)
|
||||
#define RDECODE_SESSION_CONTEXT_SIZE (128 * 1024)
|
||||
|
||||
#define RDECODE_VCN1_GPCOM_VCPU_CMD 0x2070c
|
||||
#define RDECODE_VCN1_GPCOM_VCPU_DATA0 0x20710
|
||||
#define RDECODE_VCN1_GPCOM_VCPU_DATA1 0x20714
|
||||
#define RDECODE_VCN1_ENGINE_CNTL 0x20718
|
||||
|
||||
#define RDECODE_VCN2_GPCOM_VCPU_CMD (0x503 << 2)
|
||||
#define RDECODE_VCN2_GPCOM_VCPU_DATA0 (0x504 << 2)
|
||||
#define RDECODE_VCN2_GPCOM_VCPU_DATA1 (0x505 << 2)
|
||||
#define RDECODE_VCN2_ENGINE_CNTL (0x506 << 2)
|
||||
|
||||
#define RDECODE_VCN2_5_GPCOM_VCPU_CMD 0x3c
|
||||
#define RDECODE_VCN2_5_GPCOM_VCPU_DATA0 0x40
|
||||
#define RDECODE_VCN2_5_GPCOM_VCPU_DATA1 0x44
|
||||
#define RDECODE_VCN2_5_ENGINE_CNTL 0x9b4
|
||||
|
||||
#define NUM_MPEG2_REFS 6
|
||||
#define NUM_H264_REFS 17
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue