projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2bb3e8
)
freedreno/gmem: small cleanup
author
Rob Clark
<robdclark@chromium.org>
Thu, 25 Jul 2019 20:40:02 +0000
(13:40 -0700)
committer
Rob Clark
<robdclark@chromium.org>
Fri, 2 Aug 2019 17:24:14 +0000
(10:24 -0700)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/freedreno_gmem.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/freedreno_gmem.c
b/src/gallium/drivers/freedreno/freedreno_gmem.c
index 41fc1d0a0d4e109c83f5297903fa06144feb9a71..f400f256a27e48499cf09a1664d0649213c18f5c 100644
(file)
--- a/
src/gallium/drivers/freedreno/freedreno_gmem.c
+++ b/
src/gallium/drivers/freedreno/freedreno_gmem.c
@@
-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) >
n
pipes)
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)) >
n
pipes)
tpp_x += 1;
}