panfrost: move max_thread_count and take reg_count into account
authorKarol Herbst <kherbst@redhat.com>
Wed, 30 Nov 2022 16:53:12 +0000 (17:53 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 31 Mar 2023 20:29:00 +0000 (20:29 +0000)
commit87aeea20ac7b78c53beae1475d08cb890d7fb66b
tree9cdd2cd6289430a0e59961903ce6804e2dab965b
parent3212ac4658e6c94a71395dc9f632130635bc92cd
panfrost: move max_thread_count and take reg_count into account

We'll need it to report proper thread counts for OpenCL.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19855>
src/panfrost/lib/pan_props.c
src/panfrost/util/pan_ir.h