aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_vce.h
diff options
context:
space:
mode:
authorVeerabadhran <[email protected]>2020-02-05 19:33:01 +0530
committerVeerabadhran G <[email protected]>2020-02-12 13:43:35 +0000
commit461c40e0fd5d67dc8155ae4f6c53ddd9acd995b1 (patch)
treeb2a32b200acdb50c5f1b58307ff231f350c2b890 /src/gallium/drivers/radeon/radeon_vce.h
parent286141197dac9fc6765da3fa8bba571840bfa61c (diff)
radeon/vce: Move global function pointer si_get_pic_param to local encoder structure
Multi gpu use case broken when the function was global Reviewed-by: Leo Liu <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3731> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3731>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vce.h')
-rw-r--r--src/gallium/drivers/radeon/radeon_vce.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.h b/src/gallium/drivers/radeon/radeon_vce.h
index b5cfe178061..bb2567ed3be 100644
--- a/src/gallium/drivers/radeon/radeon_vce.h
+++ b/src/gallium/drivers/radeon/radeon_vce.h
@@ -376,6 +376,8 @@ struct rvce_encoder {
void (*task_info)(struct rvce_encoder *enc, uint32_t op,
uint32_t dep, uint32_t fb_idx,
uint32_t ring_idx);
+ void (*si_get_pic_param)(struct rvce_encoder *enc,
+ struct pipe_h264_enc_picture_desc *pic);
unsigned stream_handle;