Instead of unconditionally emitting a warning to applications about the missing environment variable to enable the driver, only check it after determining that the device actually matches. Signed-off-by: Benjamin Otte <otte@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31293>