]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
drm/radeon/kms: fix sideport detection on newer rs880 boards
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 20 Aug 2010 16:47:54 +0000 (12:47 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 22 Aug 2010 22:29:46 +0000 (08:29 +1000)
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>
drivers/gpu/drm/radeon/radeon_atombios.c

index b015915441ba094111add8383435e9558914103c..61141981880d7d03908a9a582f0d5a0a9951d2b3 100644 (file)
@@ -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: