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>
This commit is contained in:
Alex Deucher 2010-08-20 12:47:54 -04:00 committed by Dave Airlie
parent 4dfe947e74
commit 4b80d954a7

View 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: