summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2017-03-04 19:07:27 -0300
committerEmil Velikov <emil.l.velikov@gmail.com>2017-04-13 13:41:51 +0100
commit0e032a434fab936d9f9c47d52f3a8e0fcd50ae0f (patch)
treeb5eab62bba474e97ec81a8c21a29b6cadcd46b9c
parentb7d3c71d649348e0454c9a1a180cfeefcbea6452 (diff)
loader: Move non-error message to debug level
Currently when running mesa on imx6 the following loader warnings are seen: 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> (cherry picked from commit 78c57726335fe22cb4579bcf562d2394adc234b5) Nominated-by: Rob Clark <robdclark@gmail.com> (IRC)
-rw-r--r--src/loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 449ff54d137..b758216b731 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);