summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-08-20 18:47:54 +0200
committerDave Airlie <airlied@redhat.com>2010-08-23 00:29:46 +0200
commit4b80d954a7e54c13a5063af18d01719ad6a0daf3 (patch)
tree77ec29f90271ee1d9054222da19c046d9a8c3fa6
parentdrm/radeon: fix passing wrong type to gem object create. (diff)
downloadlinux-4b80d954a7e54c13a5063af18d01719ad6a0daf3.tar.xz
linux-4b80d954a7e54c13a5063af18d01719ad6a0daf3.zip
drm/radeon/kms: fix sideport detection on newer rs880 boards
The meaning of ucMemoryType changed on recent boards, however, ulBootUpSidePortClock should be set properly across all boards. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_atombios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c
index b015915441ba..61141981880d 100644
--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -1181,7 +1181,7 @@ bool radeon_atombios_sideport_present(struct radeon_device *rdev)
return true;
break;
case 2:
- if (igp_info->info_2.ucMemoryType & 0x0f)
+ if (igp_info->info_2.ulBootUpSidePortClock)
return true;
break;
default: