Skip to contentSkip to conversation

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

PATCH New Alex Deucher 1 participant 1 message Aug 20, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpu/drm/radeon/radeon_atombios.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_atombios.c +1 -1
index 89968f0..c29f5e5 100644
@@ -1179,7 +1179,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:
Signature · 1 line
1.7.1.1