]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm/i915: l3 parity sysfs interface
authorBen Widawsky <ben@bwidawsk.net>
Fri, 25 May 2012 23:56:25 +0000 (16:56 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 May 2012 10:29:21 +0000 (12:29 +0200)
commit84bc758124127a5b16b30f9a8bf5f1a981affc6b
tree8be6d37bdce83a12088c321efb21b6c228f09d33
parentb9524a1e1c48cf461768914345ec94be6a15e710
drm/i915: l3 parity sysfs interface

Dumb binary interfaces which allow root-only updates of the cache
remapping registers. As mentioned in a previous patch, software using
this interface needs to know about HW limits, and other programming
considerations as the kernel interface does no checking for these things
on the root-only interface.

v1: Drop extra posting reads (Chris)
Return negative values in the sysfs interfaces on errors (Chris)

v2: Return -EINVAL for offset % 4 (Jesse)
Move schizo userspace check out (Jesse)
Cleaner sysfs item initializers (Daniel)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_sysfs.c