panfrost: match a GL object's maximum label length to KMD uAPI limit

At present, this is the value mandated by the KMD's uAPI, or 4096 bytes.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38027>
This commit is contained in:
Adrián Larumbe 2025-10-24 18:41:00 +01:00 committed by Marge Bot
parent a68c584d70
commit a24f490488

View file

@ -932,6 +932,9 @@ panfrost_init_screen_caps(struct panfrost_screen *screen)
caps->max_texture_lod_bias = 16.0; /* arbitrary */
caps->shader_atomic_int64 = dev->arch >= 9;
/* We hard-code this value as it is dictated by driver uAPI */
caps->max_label_length = 4096;
}
static void