diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-01-26 21:40:20 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-01-26 21:40:20 +0000 |
commit | b8d52b0edd2ad6a2513d37001ee9d8f67c9acaa7 (patch) | |
tree | cf8f766cccd68a87adaeec1317fdc7e55e25f04b | |
parent | d2b7d78064ca224bdcc365bede1b16991d43caa8 (diff) |
sna: Log maximum number of CPU threads
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_driver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 09f5f081..6e2f2213 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -677,8 +677,10 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int probe) } intel_detect_chipset(scrn, sna->dev); - xf86DrvMsg(scrn->scrnIndex, X_PROBED, "CPU: %s\n", - sna_cpu_features_to_string(sna->cpu_features, buf)); + xf86DrvMsg(scrn->scrnIndex, X_PROBED, + "CPU: %s; using a maximum of %d threads\n", + sna_cpu_features_to_string(sna->cpu_features, buf), + sna_use_threads(64*1024, 64*1024, 1)); if (!xf86SetDepthBpp(scrn, 24, 0, 0, Support32bppFb | |