https://bugs.freedesktop.org/show_bug.cgi?id=38800
--- Comment #44 from Simon Farnsworth simon.farnsworth@onelan.co.uk 2011-07-08 07:17:59 PDT --- Created an attachment (id=48898) View: https://bugs.freedesktop.org/attachment.cgi?id=48898 Review: https://bugs.freedesktop.org/review?bug=38800&attachment=48898
The register access guards patch as applied by hand
Michel's register guards patch didn't apply cleanly to the drm-fixes kernel I'm using; the attached is what I ended up running with.
I can confirm that it fixes this bug.
Michel, there's one change I've made that's beyond what you did: in the old pageflip function, the ring lock and unlock pair were needed to emit the fence to hardware. In your version, where the fence isn't emitted, you don't need the ring lock/unlock pair.