diff options
author | Veerabadhran <[email protected]> | 2020-02-05 19:33:01 +0530 |
---|---|---|
committer | Veerabadhran G <[email protected]> | 2020-02-12 13:43:35 +0000 |
commit | 461c40e0fd5d67dc8155ae4f6c53ddd9acd995b1 (patch) | |
tree | b2a32b200acdb50c5f1b58307ff231f350c2b890 /src/gallium/drivers/radeon/radeon_vce.h | |
parent | 286141197dac9fc6765da3fa8bba571840bfa61c (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.h | 2 |
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; |