On Fri, 13 Apr 2012 16:05:14 -0700, Ben Widawsky <ben at bwidawsk.net> wrote: > Dumb binary interfaces which allow root-only updates of our cache > remapping registers. See intel-gpu-tools for how this can/should be > used. Initial comments: don't bother posting a read just before a read, and do return errors from the sysfs read/write functions (the return value is signed for that purpose). A lesser issue is that if you are worried about necessity of posting-reads, you should also worry about the effect of the weak ordering of writes. -Chris -- Chris Wilson, Intel Open Source Technology Centre