]> git.baikalelectronics.ru Git - kernel.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)
commit07f1b25f5606971535fdae6b1278595e48757e2d
tree8be6d37bdce83a12088c321efb21b6c228f09d33
parent4a12ca4a765f2e7a0c33c5607cb42cd9cc08b2ed
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