freedreno: Fix tile-per-pipe debug overrides

Fixes: 0f3c12c0ab ("freedreno: add env var to override tiles-per-pipe")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31857>
(cherry picked from commit 42446052d4)
This commit is contained in:
Rob Clark 2024-10-28 09:14:57 -07:00 committed by Eric Engestrom
parent 782225e1da
commit 575259eb26
2 changed files with 2 additions and 2 deletions

View file

@ -2054,7 +2054,7 @@
"description": "freedreno: Fix tile-per-pipe debug overrides",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "0f3c12c0ab05bd4f481f2b4c3397e1ddae1fb95d",
"notes": null

View file

@ -335,7 +335,7 @@ gmem_stateobj_init(struct fd_screen *screen, struct gmem_key *key)
#if MESA_DEBUG
tpp_x = debug_get_num_option("TPP_X", tpp_x);
tpp_y = debug_get_num_option("TPP_Y", tpp_x);
tpp_y = debug_get_num_option("TPP_Y", tpp_y);
#endif
gmem->maxpw = tpp_x;