mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 15:32:24 +01: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> (cherry picked from commitdb5312f842)
This commit is contained in:
parent
d0cc8a436b
commit
23a04fc9b4
2 changed files with 4 additions and 1 deletions
|
|
@ -1234,7 +1234,7 @@
|
|||
"description": "radv/video: add encode field for vcn4",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "967e4e09dee81b93cfb30195ab5e1878aca9dbd0",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -476,6 +476,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