All of lore.kernel.org
 help / color / mirror / Atom feed
* unparseable, undocumented /sys/class/drm/.../pstate
@ 2014-06-21 18:02 Pavel Machek
  2014-06-21 18:22   ` Ilia Mirkin
  0 siblings, 1 reply; 47+ messages in thread
From: Pavel Machek @ 2014-06-21 18:02 UTC (permalink / raw)
  To: kernel list, bskeggs, Greg KH, acourbot, airlied, dri-devel

Hi!

AFAICT, pstate file will contain something like

07: core 100 MHz memory 123 MHz *
08: core 100-200 MHz memory 123 MHz

...which does not look exactly like one-value-per-file, and I'm pretty
sure userspace will get it wrong if it tries to parse it. Plus, I
don't see required documentation in Documentation/ABI.

Should we disable it for now, so that userspace does not start
depending on it and we'll not have to maintain it forever?

I guess better interface would be something like

pstate/07/core_clock_min
          core_clock_max
	  memory_clock_min
	  memory_clock_max

and then pstate/active containing just the number of active state?

Thanks,
								Pavel

PS: I have no nvidia, got the news at

http://www.phoronix.com/scan.php?page=article&item=nouveau_try_linux316&num=2
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2014-06-24 16:00 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-21 18:02 unparseable, undocumented /sys/class/drm/.../pstate Pavel Machek
2014-06-21 18:22 ` Ilia Mirkin
2014-06-21 18:22   ` Ilia Mirkin
2014-06-21 18:50   ` Pavel Machek
2014-06-21 18:50     ` Pavel Machek
2014-06-21 19:34     ` Ilia Mirkin
2014-06-21 19:34       ` Ilia Mirkin
2014-06-21 19:45   ` Greg KH
2014-06-21 19:45     ` Greg KH
2014-06-23  2:12     ` Ilia Mirkin
2014-06-23  2:12       ` Ilia Mirkin
2014-06-23 13:02       ` Pavel Machek
2014-06-23 13:02         ` Pavel Machek
2014-06-23 13:29         ` Ilia Mirkin
2014-06-23 13:29           ` Ilia Mirkin
2014-06-23 20:15           ` Pavel Machek
2014-06-23 20:15             ` Pavel Machek
2014-06-23 20:18             ` Ilia Mirkin
2014-06-23 20:18               ` Ilia Mirkin
2014-06-23 20:26               ` Greg KH
2014-06-23 20:26                 ` Greg KH
2014-06-23 20:32                 ` Ilia Mirkin
2014-06-23 20:32                   ` Ilia Mirkin
2014-06-24  0:06                 ` Ben Skeggs
2014-06-24  0:06                   ` Ben Skeggs
2014-06-24 16:00                   ` Greg KH
2014-06-24 16:00                     ` Greg KH
2014-06-23 16:07       ` Greg KH
2014-06-23 16:07         ` Greg KH
2014-06-23 16:18         ` Ilia Mirkin
2014-06-23 16:18           ` Ilia Mirkin
2014-06-23 16:36           ` Greg KH
2014-06-23 16:36             ` Greg KH
2014-06-23 16:40             ` Ilia Mirkin
2014-06-23 16:40               ` Ilia Mirkin
2014-06-23 17:46               ` Martin Peres
2014-06-23 17:46                 ` Martin Peres
2014-06-23 17:56                 ` Ilia Mirkin
2014-06-23 17:56                   ` Ilia Mirkin
2014-06-23 18:00                   ` Martin Peres
2014-06-23 18:00                     ` Martin Peres
2014-06-23 18:05                     ` Ilia Mirkin
2014-06-23 18:05                       ` Ilia Mirkin
2014-06-23 18:09                 ` Greg KH
2014-06-23 18:09                   ` Greg KH
2014-06-23 18:08               ` Greg KH
2014-06-23 18:08                 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.