mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
radv/video: add encode field for vcn4
Reviewed-by: Lynne <dev@lynne.ee>
Fixes: 967e4e09de ("radv/video: add h265 encode support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31158>
This commit is contained in:
parent
c78e32da3b
commit
db5312f842
1 changed files with 3 additions and 0 deletions
|
|
@ -483,6 +483,9 @@ radv_enc_session_init(struct radv_cmd_buffer *cmd_buffer, const struct VkVideoEn
|
|||
radeon_emit(cs, 0); // slice output enabled.
|
||||
}
|
||||
radeon_emit(cs, vid->enc_session.display_remote);
|
||||
if (pdev->enc_hw_ver >= RADV_VIDEO_ENC_HW_4) {
|
||||
radeon_emit(cs, 0);
|
||||
}
|
||||
ENC_END;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue