From: Alex Deucher Date: Fri, 20 Aug 2010 16:47:54 +0000 (-0400) Subject: drm/radeon/kms: fix sideport detection on newer rs880 boards X-Git-Tag: v2.6.36-rc3~9^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b80d954a7e54c13a5063af18d01719ad6a0daf3;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Cc: stable@kernel.org Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index b015915441b..61141981880 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: