mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +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>
(cherry picked from commit 7249d9548e)
This commit is contained in:
parent
15b2a440da
commit
8ffedebf1c
2 changed files with 5 additions and 2 deletions
|
|
@ -1674,7 +1674,7 @@
|
|||
"description": "radv/video: Fix encode session info for VCN3+",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -447,7 +447,10 @@ radv_enc_session_info(struct radv_cmd_buffer *cmd_buffer)
|
|||
va += cmd_buffer->video.vid->sessionctx.offset;
|
||||
radeon_emit(cs, va >> 32);
|
||||
radeon_emit(cs, va & 0xffffffff);
|
||||
radeon_emit(cs, RENCODE_ENGINE_TYPE_ENCODE);
|
||||
if (pdev->enc_hw_ver < RADV_VIDEO_ENC_HW_3)
|
||||
radeon_emit(cs, RENCODE_ENGINE_TYPE_ENCODE);
|
||||
else
|
||||
radeon_emit(cs, 0);
|
||||
ENC_END;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue