diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-11-08 13:02:43 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-11-10 12:25:20 +0900 |
commit | 9760ef33cba5795eddeda4d5c2fcbe2dcce21689 (patch) | |
tree | 5f71bdfdd5b3be5f54df6ed80db58a9243564721 /src/radeon_probe.h | |
parent | 35bec4937d89b48a79acfcb4f814b7370cb631b2 (diff) |
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 <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |