]> Pileus Git - ~andy/linux/commit
drm/i915: #define gpu freq multipler
authorBen Widawsky <ben@bwidawsk.net>
Sat, 8 Sep 2012 02:43:39 +0000 (19:43 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:23:00 +0000 (14:23 +0200)
commitc8735b0c3edf9ace136c5c24280c5514d95433f2
tree493e0c0e315308b7299219ae951f219d4194ac88
parentdbdfd8e90c81d0fbabe7f392293f1f28d0cf3c48
drm/i915: #define gpu freq multipler

Magic numbers are bad mmmkay. In this case in particular the value is
especially weird because the docs say multiple things. We'll need this
value for sysfs, so extracting it is useful for that as well.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h