Commit 1cc67a62 authored by Alex Deucher's avatar Alex Deucher Committed by Greg Kroah-Hartman

drm/radeon/kms: fix sideport detection on newer rs880 boards

commit 4b80d954 upstream.

The meaning of ucMemoryType changed on recent boards, however,
ulBootUpSidePortClock should be set properly across all boards.
Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 410ff49b
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment