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:

committed by
Dylan Baker

parent
7ade4ab5d5
commit
117ac5ca01
@@ -1786,7 +1786,7 @@
|
|||||||
"description": "radv: Make the compute scratch waves per SE as well.",
|
"description": "radv: Make the compute scratch waves per SE as well.",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "278e533ec9c29d68b661bc27cbfbe6bca4f57094"
|
"because_sha": "278e533ec9c29d68b661bc27cbfbe6bca4f57094"
|
||||||
},
|
},
|
||||||
|
@@ -4246,6 +4246,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_set_sh_reg_seq(cs, R_00B840_COMPUTE_DISPATCH_SCRATCH_BASE_LO, 2);
|
||||||
radeon_emit(cs, scratch_va >> 8);
|
radeon_emit(cs, scratch_va >> 8);
|
||||||
radeon_emit(cs, scratch_va >> 40);
|
radeon_emit(cs, scratch_va >> 40);
|
||||||
|
|
||||||
|
waves /= info->num_se;
|
||||||
}
|
}
|
||||||
|
|
||||||
radeon_set_sh_reg_seq(cs, R_00B900_COMPUTE_USER_DATA_0, 2);
|
radeon_set_sh_reg_seq(cs, R_00B900_COMPUTE_USER_DATA_0, 2);
|
||||||
|
Reference in New Issue
Block a user