drm/radeon/kms: Don't RMW CP_RB_CNTL
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 2 Nov 2009 21:01:27 +0000 (16:01 -0500)
committerDave Airlie <airlied@redhat.com>
Tue, 3 Nov 2009 23:53:25 +0000 (09:53 +1000)
commitd6f28938d9426d12eea1578949f1d73d24ad37ec
tree5450e0a9c108ec9d5875679ece20faa770c44310
parentdf67bed92fa86ef926da8b62a6da68722388ff72
drm/radeon/kms: Don't RMW CP_RB_CNTL

Immediate readback seems faulty on some chips.  I
suspect it takes a while to get through the fifo
to the actual register backbone.  There's no need
to read it back, so, just write the driver's copy
of the register's value directly.

Should fix bug 24535 and possibly 24218

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c