]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6b8343b35441a11468f2f9676a18806e13b13a0
tree5450e0a9c108ec9d5875679ece20faa770c44310
parent029c919bd8b44ff0f6a6422fe6f0a6f2b32058ea
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