mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
radv/video_enc: Use correct swizzle mode for VCN5 with GFX11
Signed-off-by: Suresh Guttula <suresh.guttula@amd.com> Reviewed-by: David Rosca <david.rosca@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41202>
This commit is contained in:
parent
922d04c9a5
commit
0e04954c9a
1 changed files with 3 additions and 1 deletions
|
|
@ -1816,7 +1816,9 @@ radv_enc_ctx2(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInfoKHR *in
|
|||
RADEON_ENC_CS(0);
|
||||
RADEON_ENC_CS(0);
|
||||
RADEON_ENC_CS(0);
|
||||
RADEON_ENC_CS(RENCODE_REC_SWIZZLE_MODE_256B_D_GFX12);
|
||||
RADEON_ENC_CS(pdev->info.gfx_level >= GFX12 ?
|
||||
RENCODE_REC_SWIZZLE_MODE_256B_D_GFX12 :
|
||||
RENCODE_REC_SWIZZLE_MODE_256B_D);
|
||||
RADEON_ENC_CS(fcb_va >> 32);
|
||||
RADEON_ENC_CS(fcb_va & 0xffffffff);
|
||||
RADEON_ENC_CS(RENCODE_MAX_METADATA_BUFFER_SIZE_PER_FRAME); // colloc/cdf offset
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue