freedreno: Remove compute_constlen_quirk

Turns out that X1-85 is just more sensitive to the split being set
correctly. There seem to be no more hangs with the
compute_constlen_quirk disabled after the earlier commits.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34746>
This commit is contained in:
Connor Abbott 2025-04-29 13:41:36 -04:00 committed by Marge Bot
parent ea9d694a7b
commit 453ecaddb5
3 changed files with 2 additions and 6 deletions

View file

@ -335,9 +335,6 @@ struct fd_dev_info {
*/
bool has_persistent_counter;
/* Whether only 256 vec4 constants are available for compute */
bool compute_constlen_quirk;
bool has_primitive_shading_rate;
/* A7XX gen1 and gen2 seem to require declaring SAMPLEMASK input

View file

@ -1181,7 +1181,7 @@ add_gpus([
GPUId(chip_id=0xffff43050c01, name="Adreno X1-85"),
], A6xxGPUInfo(
CHIP.A7XX,
[a7xx_base, a7xx_gen2, A7XXProps(compute_constlen_quirk = True)],
[a7xx_base, a7xx_gen2],
num_ccu = 6,
tile_align_w = 96,
tile_align_h = 32,

View file

@ -193,8 +193,7 @@ ir3_compiler_create(struct fd_device *dev, const struct fd_dev_id *dev_id,
*
* TODO: is this true on earlier gen's?
*/
compiler->max_const_compute =
(compiler->gen >= 7 && !dev_info->a7xx.compute_constlen_quirk) ? 512 : 256;
compiler->max_const_compute = compiler->gen >= 7 ? 512 : 256;
/* TODO: implement clip+cull distances on earlier gen's */
compiler->has_clip_cull = true;