From: Fabio Estevam Date: Sat, 4 Mar 2017 22:07:27 +0000 (-0300) Subject: loader: Move non-error message to debug level X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=78c57726335fe22cb4579bcf562d2394adc234b5;hp=61c38d14b7b1d0ccacc440340ee0b1bc4454eca2 loader: Move non-error message to debug level 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 Reviewed-by: Emil Velikov --- diff --git a/src/loader/loader.c b/src/loader/loader.c index 3b28a0e7db7..9b4752d3138 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -282,7 +282,7 @@ drm_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) 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);