loader: Move non-error message to debug level
authorFabio Estevam <festevam@gmail.com>
Sat, 4 Mar 2017 22:07:27 +0000 (19:07 -0300)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 8 Mar 2017 16:35:00 +0000 (16:35 +0000)
Currently when running mesa on imx6 the following loader warnings
are seen:

# kmscube -D /dev/dri/card1
MESA-LOADER: device is not located on the PCI bus
MESA-LOADER: device is not located on the PCI bus
MESA-LOADER: device is not located on the PCI bus
Using display 0x1920948 with EGL version 1.4

As this is not an error message, change it to debug level in
order to have a cleaner log output.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/loader/loader.c

index 3b28a0e7db7a4c26f5cdb9fb1706f2bbd7a27439..9b4752d31385e2cde2a7319c8f4259c650feefa1 100644 (file)
@@ -282,7 +282,7 @@ drm_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id)
          ret = 1;
       }
       else {
          ret = 1;
       }
       else {
-         log_(_LOADER_WARNING, "MESA-LOADER: device is not located on the PCI bus\n");
+         log_(_LOADER_DEBUG, "MESA-LOADER: device is not located on the PCI bus\n");
          ret = 0;
       }
       drmFreeDevice(&device);
          ret = 0;
       }
       drmFreeDevice(&device);