drm/radeon: fix page flipping hangs on r300/r400
authorDave Airlie <airlied@redhat.com>
Fri, 11 Mar 2011 11:17:41 +0000 (21:17 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 13 Mar 2011 00:03:34 +0000 (10:03 +1000)
commitc640e8ca172c6a5c45abe8e2e8353900a84427fa
treec40b26bf9cf90a5fdcb43d475d2d3559dcd7e131
parentfdc315a19a2c33da29dd87d4ca88f4e4407bd42d
drm/radeon: fix page flipping hangs on r300/r400

We've been getting reports of complete system lockups with rv3xx hw on
AGP and PCIE when running gnome-shell or kwin with compositing.

It appears the hw really doesn't like setting these registers while
stuff is running, this moves the setting of the registers into the modeset
since they aren't required to be changed anywhere else.

fixes: https://bugs.freedesktop.org/show_bug.cgi?id=35183

Reported-and-tested-by: Álmos <aaalmosss@gmail.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/radeon_legacy_crtc.c