From: Bernie Thompson Date: Mon, 15 Feb 2010 14:46:08 +0000 (-0800) Subject: Staging: udlfb: Add functions to expose sysfs metrics and controls X-Git-Tag: v2.6.34-rc1~10^2~1^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9485e2c53caaaed9606a39de1c2746cc9ba262;p=pandora-kernel.git Staging: udlfb: Add functions to expose sysfs metrics and controls Add sysfs controls for edid and performance metrics There are 8 new files exposed in /sys/class/graphics/fb* edid - returns 128 byte edid blog, suitable for parsing with parse-edid metrics_bytes_identical metrics_bytes_rendered metrics_bytes_sent metrics_cpu_kcycles_used metrics_misc and metrics_reset, which resets all perf metrics to zero The 6 perf metrics are of type atomic_t. So these metrics return precise results for short benchmarks, but any test approx a minute or longer runtime may roll over. Signed-off-by: Bernie Thompson Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed