drm/radeon: fix WREG32_OR macro setting bits in a register
authorRafał Miłecki <zajec5@gmail.com>
Thu, 15 Aug 2013 16:55:22 +0000 (18:55 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2013 16:59:45 +0000 (12:59 -0400)
commitd43a93c8d9bc4e0dc0293b6458c077c3c797594f
treedd64a4de083572ab300e149d58d3e0ec8f7da158
parent022374c02e357ac82e98dd2689fb2efe05723d69
drm/radeon: fix WREG32_OR macro setting bits in a register

This bug (introduced in 3.10) in WREG32_OR made
commit d3418eacad403033e95e49dc14afa37c2112c134
"drm/radeon/evergreen: setup HDMI before enabling it"
cause a regression. Sometimes audio over HDMI wasn't working, sometimes
display was corrupted.

This fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=60687
https://bugzilla.kernel.org/show_bug.cgi?id=60709
https://bugs.freedesktop.org/show_bug.cgi?id=67767

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h