| commit | c5e2e26f499d648bf5dc1a7d4c6102e40706f44f | [log] [tgz] |
|---|---|---|
| author | Rob Clark <rob.clark@oss.qualcomm.com> | Sat May 31 06:14:34 2025 -0700 |
| committer | Marge Bot <marge-bot@fdo.invalid> | Fri Jun 06 21:15:21 2025 +0000 |
| tree | 53bc6a3c6b18787b80a9ebed1d741fd00fe7b0d6 | |
| parent | 111005066db93df59f54f0c632206ac38d8aa9d6 [diff] |
freedreno: Avoid repeated device lookup fd_device_gen() calls fd_dev_info_raw() which loops over all the device table entries. No need to do this for every batch. And we _especially_ don't want to do this per-batch when rusticl cl profiling mode triggers a batch flush for every launched kernel. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35371>