mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 13:00:21 +01:00
radv: Make the compute scratch waves per SE as well.
Fixes:278e533ec9("radv: update scratch buffer registers on GFX11") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19488> (cherry picked from commitd876ddc920)
This commit is contained in:
parent
a6bf520407
commit
b4ba437ea7
2 changed files with 3 additions and 1 deletions
|
|
@ -2443,7 +2443,7 @@
|
|||
"description": "radv: Make the compute scratch waves per SE as well.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "278e533ec9c29d68b661bc27cbfbe6bca4f57094"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4446,6 +4446,8 @@ radv_emit_compute_scratch(struct radv_device *device, struct radeon_cmdbuf *cs,
|
|||
radeon_set_sh_reg_seq(cs, R_00B840_COMPUTE_DISPATCH_SCRATCH_BASE_LO, 2);
|
||||
radeon_emit(cs, scratch_va >> 8);
|
||||
radeon_emit(cs, scratch_va >> 40);
|
||||
|
||||
waves /= info->num_se;
|
||||
}
|
||||
|
||||
radeon_set_sh_reg_seq(cs, R_00B900_COMPUTE_USER_DATA_0, 2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue