Skip to contentSkip to conversation

drm/i915: protect force_wake_(get|put) with the gt_lock

PATCH Nicolas Kalkhof 2 participants 2 messages Nov 9, 2011

lore
Share & tools
lore
#0 lore raw

Daniel,

Bisecting the kernel proved a little time consuming ;) however with the very latest linux.git anf xf86-video-intel the cpu load doesn't seem to go up accodring to top. What I can see is that the SNB draws approx 10-15 watts more when my system is completely idle. My first thought was that rc6 is being disabled but i915_enable_rc6 reports 1. Is there a way I can monitor the gpu frequency or its current power state?

Nic

-----Ursprüngliche Nachricht-----
Von: "Daniel Vetter" <[email protected]>
Gesendet: Nov 7, 2011 7:36:28 PM
An: "Nicolas Kalkhof" <[email protected]>
Betreff: Re: [Intel-gfx] [PATCH] drm/i915: protect force_wake_(get|put) with the gt_lock

Quoted 13 lines · Nicolas Kalkhof
Quoted 7 lines

ok here is the sysprof result (see below). No cpu/gpu intensive apps are running, just the idling desktop. CPU Temperature is low and frequency is throttled down to 800 MHz like it should be. The System is responsive and behaves normal but top shows full cpu load. Honestly I cannot see the reason why X and gkrellm should eat up all the gpu since they clearly don't hog the cpu. Maybe the kernel reports wrong cpu stats? Then again the load goes down when I kill X! Hope this gives you a clue.

On a quick look it seems that at least X is busy-spinning in the select loop and gkrellm seems to be eqally busy doing not much. Have you tried what happens when you kill gkrellm?

Quoted 6 lines

Otherwise I think it's time for a bit of bisecting. -Daniel
--
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48

___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
_______________________________________________
Intel-gfx mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw
Quoted 6 lines · Nicolas Kalkhof

Bisecting the kernel proved a little time consuming ;) however with the very latest linux.git anf xf86-video-intel the cpu load doesn't seem to go up accodring to top. What I can see is that the SNB draws approx 10-15 watts more when my system is completely idle. My first thought was that rc6 is being disabled but i915_enable_rc6 reports 1. Is there a way I can monitor the gpu frequency or its current power state?

cat /sys/kernel/debug/dri/0/i915_cur_delayinfo

atm you can't monitor the rc6 state, our current monitoring code doesn't work on snb :(

Yours, Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48