mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
freedreno/gmem: small cleanup
Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
e2bb3e84ab
commit
c179ded9cb
1 changed files with 2 additions and 2 deletions
|
|
@ -238,10 +238,10 @@ calculate_tiles(struct fd_batch *batch)
|
|||
tpp_y = 6;
|
||||
} else {
|
||||
tpp_x = tpp_y = 1;
|
||||
while (div_round_up(nbins_y, tpp_y) > screen->num_vsc_pipes)
|
||||
while (div_round_up(nbins_y, tpp_y) > npipes)
|
||||
tpp_y += 2;
|
||||
while ((div_round_up(nbins_y, tpp_y) *
|
||||
div_round_up(nbins_x, tpp_x)) > screen->num_vsc_pipes)
|
||||
div_round_up(nbins_x, tpp_x)) > npipes)
|
||||
tpp_x += 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue