mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
freedreno/a6xx: fix hang with large render target
It seems we do have some limits. Similar to older gens, # of tiles per pipe cannot be more than 32. But I could not trigger any hangs with 16 or more tiles per pipe in either X or Y direction, so that limit does not seem to apply. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6461>
This commit is contained in:
parent
0f3c12c0ab
commit
39d00722b2
1 changed files with 2 additions and 1 deletions
|
|
@ -254,7 +254,8 @@ use_hw_binning(struct fd_batch *batch)
|
|||
{
|
||||
const struct fd_gmem_stateobj *gmem = batch->gmem_state;
|
||||
|
||||
// TODO figure out hw limits for binning
|
||||
if ((gmem->maxpw * gmem->maxph) > 32)
|
||||
return false;
|
||||
|
||||
return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) >= 2) &&
|
||||
(batch->num_draws > 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue