mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 18:40:39 +02:00
intel/dev: If building the driver, always allow getting device info
Now that we know when we are getting the devinfo as part of the build process, we can just always force the devinfo to be returned, regardless of whether INTEL_FORCE_PROBE is set. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29445>
This commit is contained in:
parent
fbf5ea6b44
commit
43f795d19f
1 changed files with 4 additions and 1 deletions
|
|
@ -1516,7 +1516,10 @@ intel_device_info_init_common(int pci_id, bool building,
|
|||
|
||||
bool force_on = false;
|
||||
bool force_off = false;
|
||||
scan_for_force_probe(pci_id, &force_on, &force_off);
|
||||
if (building)
|
||||
force_on = true;
|
||||
else
|
||||
scan_for_force_probe(pci_id, &force_on, &force_off);
|
||||
if (force_off) {
|
||||
mesa_logw("%s (0x%x) disabled with INTEL_FORCE_PROBE", devinfo->name,
|
||||
pci_id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue