From: Emil Velikov Date: Thu, 23 Jan 2014 17:59:39 +0000 (+0000) Subject: loader: do not print the pci id during normal operation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7965908976cdd1476db0ee7258d182292f975800;p=mesa.git loader: do not print the pci id during normal operation Spamming the pci id is not beneficial. Make sure it's printed only when needed. v2: Change severity to _LOADER_DEBUG, rather than removing the message. Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke --- diff --git a/src/loader/loader.c b/src/loader/loader.c index e61c9d81a16..626046a232b 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -350,7 +350,7 @@ loader_get_driver_for_fd(int fd, unsigned driver_types) } out: - log_(driver ? _LOADER_INFO : _LOADER_WARNING, + log_(driver ? _LOADER_DEBUG : _LOADER_WARNING, "pci id for fd %d: %04x:%04x, driver %s\n", fd, vendor_id, chip_id, driver); return driver;