OSDN Git Service

drm/i915: Add debugfs hooks for messign with watermark latencies
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Jan 2014 12:36:08 +0000 (14:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Jan 2014 19:13:18 +0000 (20:13 +0100)
commit369a13425dded48dc5e2b2028df0516bf42b0793
tree0887efb4188655b674fc78cc82b5b56a3ea9683c
parent3c0edaebb950349e6014afabbda379f2b5376c0d
drm/i915: Add debugfs hooks for messign with watermark latencies

Add a few new debugfs files which allow changing the watermark memory
latency values during runtime. This can be used to determine the if the
original BIOS provided latency values are no good.

v2: Drop superfluous plane name from output
    Take modeset locks around the latency value read/write

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c