mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
radv/video: Fix IB signature checksum
Reviewed-by: Benjamin Cheng <ben@bcheng.me>
Fixes: 152b06acd8 ("ac/vcn: allow sq signature package to be skipped")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32414>
This commit is contained in:
parent
6ca81adffc
commit
ef6facac15
1 changed files with 1 additions and 1 deletions
|
|
@ -104,12 +104,12 @@ radv_vcn_sq_tail(struct radeon_cmdbuf *cs, struct rvcn_sq_var *sq)
|
|||
} else {
|
||||
size_in_dw = end - sq->signature_ib_total_size_in_dw - 1;
|
||||
*sq->signature_ib_total_size_in_dw = size_in_dw;
|
||||
*sq->engine_ib_size_of_packages = size_in_dw * sizeof(uint32_t);
|
||||
|
||||
for (int i = 0; i < size_in_dw; i++)
|
||||
checksum += *(sq->signature_ib_checksum + 2 + i);
|
||||
|
||||
*sq->signature_ib_checksum = checksum;
|
||||
*sq->engine_ib_size_of_packages = size_in_dw * sizeof(uint32_t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue