| commit | bd1a042046491de79194a375ac9a26ee4f52816c | [log] [tgz] |
|---|---|---|
| author | Karol Herbst <kherbst@redhat.com> | Fri Jan 03 23:59:17 2025 +0100 |
| committer | Marge Bot <emma+marge@anholt.net> | Mon Jan 06 23:33:03 2025 +0000 |
| tree | c242326761b48fe08aa90d33f866cc83f1d66a39 | |
| parent | ab640df1c2fbf77965022b7507f656d378b49a4e [diff] |
rusticl/device: fix default device enumeration There were a couple of issues this fixes: - Using the env "RUSTICL_DEVICE_TYPE" variable made no device be default. - If multiple GPUs were detected, multiple devices were default. - If zink was used, no default device was advertized either. The spec requires that there must be one and only one default device. Cc: mesa-stable Reviewed-by @LingMan Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32875>