[Bug 98626] X server crashes on DP hotplug: radeon_mode_hotplug() in xf86-video-ati does not enumerate second GPU

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 9 15:45:44 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98626

--- Comment #6 from Max Staudt <mstaudt at suse.de> ---
(In reply to Michel Dänzer from comment #5)
> The purpose of this code is to find all connectors of a single GPU.

Right, I mixed that up.


> There can only be one or two screens associated with any given GPU
> controlled by this driver.

Okay, just so I understand this: I can have, say, 6 physical displays connected
to one Radeon card (GPU), but I can distribute them between no more than two X
screens (as in :0.0 and :0.1)?


I looked at the code again, and now realized that you're taking the ScrnInfoPtr
(primary_scrn) for the inner loop from pRADEONEnt, which in turn is a child of
scrn.
That's basically doing what I suggested (looping over scrn), so now I
understand how this fixes my bug.

Thank you for the quick fix!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20161109/fd60e327/attachment.html>


More information about the xorg-driver-ati mailing list