]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:46:21 +0000 (16:46 -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 a05024959b03ff88d3f58daa3e79eff0e19a507a..6bfef51bd583d2b23c968a8f70069cc48a692d46 100644 (file)
@@ -1059,7 +1059,7 @@ bool radeon_atombios_sideport_present(struct radeon_device *rdev)
                        }
                        break;
                case 2:
-                       if (igp_info->info_2.ucMemoryType & 0x0f)
+                       if (igp_info->info_2.ulBootUpSidePortClock)
                                return true;
                        break;
                default: