drm/radeon/kms: add ioport register access
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 30 Jun 2010 15:52:50 +0000 (11:52 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Aug 2010 00:00:07 +0000 (10:00 +1000)
commit351a52a2414d2b104269755c86b476863c248034
tree71e25c5cceab9235e5bca4a8d521f73b3adf3fa6
parentfe50ac78a6ec20db267b32e27a1d191128eaaa46
drm/radeon/kms: add ioport register access

This is required for the NB_MISC regs on rs780/rs880 which
means HDMI/DVI/DP ports using PCIEPHY won't work without
it. It might also help with s/r (asic init) issues on other
atombios cards.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28774
and similar issues reported by Alberto Milone.

[airlied: Squash io fix patch]

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atom.c
drivers/gpu/drm/radeon/atom.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c