ac/vcn: Add RADEON_VCN_IB_COMMON_OP_RESOLVEINPUTPARAMLAYOUT

Reviewed-by: Autumn Ashton <misyl@froggi.es>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37156>
This commit is contained in:
David Rosca 2025-09-02 15:06:35 +02:00 committed by Marge Bot
parent a53190a426
commit 070c3d2b89

View file

@ -36,6 +36,10 @@
#define RADEON_VCN_SIGNATURE_SIZE (0x00000010)
#define RADEON_VCN_IB_COMMON_OP_WRITEMEMORY (0x33000001)
#define RADEON_VCN_IB_COMMON_OP_RESOLVEINPUTPARAMLAYOUT (0x31000007)
#define RADEON_VCN_RESOLVE_INPUT_PARAM_LAYOUT_TYPE_QPMAP_INT8 1
#define RADEON_VCN_RESOLVE_INPUT_PARAM_LAYOUT_TYPE_QPMAP_INT16 2
struct rvcn_sq_var {
unsigned int *signature_ib_checksum;
@ -54,4 +58,16 @@ struct rvcn_cmn_engine_op_writememory {
unsigned int data; // data to be written
};
struct rvcn_cmn_engine_op_resolveinputparamlayout {
unsigned char map_type; /* Map Type for this input */
unsigned int map_width; /* Width of Map */
unsigned int map_height; /* Height of Map */
unsigned int input_buffer_address_lo; /* Low address of input 2d texture */
unsigned int input_buffer_address_hi; /* High address of input 2d texture */
unsigned int input_buffer_pitch; /* Row pitch of input 2d texture */
unsigned int input_buffer_swizzle_mode; /* Swizzle mode of input 2d texture */
unsigned int output_buffer_address_lo; /* Low address of output buffer */
unsigned int output_buffer_address_hi; /* High address of output buffer */
};
#endif