summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-01-23 17:59:39 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-01-29 19:55:02 +0000
commit7965908976cdd1476db0ee7258d182292f975800 (patch)
tree60630c728eccb0a583ee9ec6c1a2ac675a9b684e /src
parent780dfc1fec491d5c5c6982b9feccf01d5a45660b (diff)
downloadexternal_mesa3d-7965908976cdd1476db0ee7258d182292f975800.zip
external_mesa3d-7965908976cdd1476db0ee7258d182292f975800.tar.gz
external_mesa3d-7965908976cdd1476db0ee7258d182292f975800.tar.bz2
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 <emil.l.velikov@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src')
-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 e61c9d8..626046a 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;