mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
amd/vpelib: feature augment
[WHY] support future feature augment Co-authored-by: Chan, Roy <Roy.Chan@amd.com> Reviewed-by: Navid Assadian <Navid.Assadian@amd.com> Reviewed-by: Jesse Agate <Jesse.Agate@amd.com> Acked-by: ChuanYu Tseng <ChuanYu.Tseng@amd.com> Signed-off-by: Visan, Tiberiu <Tiberiu.Visan@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35012>
This commit is contained in:
parent
f6144116c9
commit
96b7e52b57
4 changed files with 3 additions and 5 deletions
|
|
@ -970,7 +970,7 @@ enum vpe_status vpe10_populate_cmd_info(struct vpe_priv *vpe_priv)
|
|||
for (segment_idx = 0; segment_idx < stream_ctx->num_segments; segment_idx++) {
|
||||
|
||||
cmd_info.inputs[0].stream_idx = stream_idx;
|
||||
cmd_info.cd = (uint8_t)(stream_ctx->num_segments - segment_idx - 1);
|
||||
cmd_info.cd = (uint16_t)(stream_ctx->num_segments - segment_idx - 1);
|
||||
cmd_info.inputs[0].scaler_data = stream_ctx->segment_ctx[segment_idx].scaler_data;
|
||||
cmd_info.num_outputs = 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ void vpe_create_bg_segments(
|
|||
|
||||
cmd_info.num_inputs = 1;
|
||||
cmd_info.ops = ops;
|
||||
cmd_info.cd = (uint8_t)(gaps_cnt - gap_index - 1);
|
||||
cmd_info.cd = (uint16_t)(gaps_cnt - gap_index - 1);
|
||||
cmd_info.tm_enabled = false; // currently only support frontend tm
|
||||
vpe_vector_push(vpe_priv->vpe_cmd_vector, &cmd_info);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@ struct plane_desc_writer {
|
|||
*/
|
||||
uint64_t base_gpu_va;
|
||||
uint64_t base_cpu_va;
|
||||
|
||||
int32_t num_src;
|
||||
int32_t num_dst;
|
||||
enum vpe_status status;
|
||||
|
|
@ -85,7 +84,6 @@ struct plane_desc_writer {
|
|||
struct plane_desc_writer *writer, struct plane_desc_src *source, bool is_plane0);
|
||||
void (*add_destination)(
|
||||
struct plane_desc_writer *writer, struct plane_desc_dst *destination, bool is_plane0);
|
||||
void (*add_meta)(struct plane_desc_writer *writer, struct plane_desc_src *src);
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ struct vpe_cmd_output {
|
|||
|
||||
struct vpe_cmd_info {
|
||||
enum vpe_cmd_ops ops;
|
||||
uint8_t cd; // count down value
|
||||
uint16_t cd; // count down value
|
||||
|
||||
// input
|
||||
uint16_t num_inputs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue