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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:44:01 +0000 (16:44 -0700)
commit 4b80d954a7e54c13a5063af18d01719ad6a0daf3 upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_atombios.c

index ea6468b6b312779c5fc065b8cd5839d15bed0a31..05ef0c43a1abb0a12b7337c8b739953ef77ee5f0 100644 (file)
@@ -1048,7 +1048,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: