mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
radv/video: Fix encode session info for VCN3+
Last dword should be 0. Cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34449>
This commit is contained in:
parent
34031531fc
commit
7249d9548e
1 changed files with 4 additions and 1 deletions
|
|
@ -457,7 +457,10 @@ radv_enc_session_info(struct radv_cmd_buffer *cmd_buffer)
|
|||
RADEON_ENC_CS(pdev->encoder_interface_version);
|
||||
RADEON_ENC_CS(va >> 32);
|
||||
RADEON_ENC_CS(va & 0xffffffff);
|
||||
RADEON_ENC_CS(RENCODE_ENGINE_TYPE_ENCODE);
|
||||
if (pdev->enc_hw_ver < RADV_VIDEO_ENC_HW_3)
|
||||
RADEON_ENC_CS(RENCODE_ENGINE_TYPE_ENCODE);
|
||||
else
|
||||
RADEON_ENC_CS(0);
|
||||
RADEON_ENC_END();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue