mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 15:10:21 +01:00
radeonsi/vcn: Use correct frame context buffer for preencode on VCN5
Fixes:3c5fe03b92("radeonsi/vcn: Add support for VCN5 dpb tier2") Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> (cherry picked from commit4ec43c59da) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32261>
This commit is contained in:
parent
a3543ebc8d
commit
e3f886ac15
2 changed files with 2 additions and 2 deletions
|
|
@ -704,7 +704,7 @@
|
|||
"description": "radeonsi/vcn: Use correct frame context buffer for preencode on VCN5",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "3c5fe03b92c4c645b0327734433d109edfe983c8",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ static void radeon_enc_ctx_tier2(struct radeon_encoder *enc)
|
|||
continue;
|
||||
}
|
||||
struct rvid_buffer *pre = enc->enc_pic.dpb_bufs[i]->pre;
|
||||
struct rvid_buffer *pre_fcb = enc->enc_pic.dpb_bufs[i]->fcb;
|
||||
struct rvid_buffer *pre_fcb = enc->enc_pic.dpb_bufs[i]->pre_fcb;
|
||||
RADEON_ENC_READWRITE(pre->res->buf, pre->res->domains, 0);
|
||||
RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_luma_pitch);
|
||||
RADEON_ENC_READWRITE(pre->res->buf, pre->res->domains, enc->enc_pic.dpb_luma_size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue