From 9760ef33cba5795eddeda4d5c2fcbe2dcce21689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Tue, 8 Nov 2016 13:02:43 +0900 Subject: Use pRADEONEnt to find both screens of a GPU in radeon_mode_hotplug Fixes misbehaviour when hotplugging DisplayPort connectors on secondary GPUs. Fixes: c801f9f10a5d ("Handle Zaphod mode correctly in radeon_mode_hotplug") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98626 Reviewed-by: Alex Deucher --- src/radeon_probe.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/radeon_probe.h') diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 258c7be1..573d9889 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -139,6 +139,8 @@ typedef struct unsigned long fd_wakeup_registered; /* server generation for which fd has been registered for wakeup handling */ int fd_wakeup_ref; unsigned int assigned_crtcs; + ScrnInfoPtr primary_scrn; + ScrnInfoPtr secondary_scrn; #ifdef XSERVER_PLATFORM_BUS struct xf86_platform_device *platform_dev; #endif -- cgit v1.2.3