mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 18:00:13 +01:00
ac/rgp: report the number of primitives per clock
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9303>
This commit is contained in:
parent
435bff34e3
commit
4ded99f99d
1 changed files with 3 additions and 1 deletions
|
|
@ -486,7 +486,9 @@ static void ac_fill_sqtt_asic_info(struct radeon_info *rad_info,
|
||||||
|
|
||||||
chunk->alu_per_clock = 0.0;
|
chunk->alu_per_clock = 0.0;
|
||||||
chunk->texture_per_clock = 0.0;
|
chunk->texture_per_clock = 0.0;
|
||||||
chunk->prims_per_clock = 0.0;
|
chunk->prims_per_clock = rad_info->max_se;
|
||||||
|
if (rad_info->chip_class >= GFX10)
|
||||||
|
chunk->prims_per_clock *= 2;
|
||||||
chunk->pixels_per_clock = 0.0;
|
chunk->pixels_per_clock = 0.0;
|
||||||
|
|
||||||
chunk->gpu_timestamp_frequency = rad_info->clock_crystal_freq * 1000;
|
chunk->gpu_timestamp_frequency = rad_info->clock_crystal_freq * 1000;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue