]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: read back register before writing in IIO.
authorDave Airlie <airlied@linux.ie>
Thu, 12 Nov 2009 05:53:44 +0000 (15:53 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Nov 2009 03:02:07 +0000 (13:02 +1000)
commitab4244258e043d84b21104f2bf0db1a0866cf8dd
tree01567a364e6e1cd7a0996abbc43dda19c5c4713c
parent23ec329dc5c3f6a1a7685d2ce556b9683603d6b4
drm/radeon/kms: read back register before writing in IIO.

This fixes RH bugzilla #527874.

On resume the atom posting wasn't working, however vbe posting was
going fine, after 2 weeks over irc, and 8 hrs with the hardware,
I tracked it down to the memory device table and it access the MC
registers via IIO, it appears the rv515 atom iio table might not
be fully functional, so adding a readback before doing a write
either provides enough delay to make things resume correctly.

Thanks to Peng Huang at Red Hat for coming to Brisbane.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atom.c