Matthias Hopf schrieb:
On Jan 30, 08 19:41:08 +0100, Thomas Meyer wrote:
Report PANEL as disconnected when no modes are available
Hm. Interesting. Why do you need this? In which case can this actually happen?
compile radeonhd with --without-atombios (--disable-atombios). I'm searching for a way to define the PANEL layout in the xorg.conf file. I already talk with Egbert Eich about this. This has to do with an direct elilo (EFI) boot. In an EFI environment no ATOMBIOS is available. But the EFI mode seems to have some other problems as an external monitor works, but has some glitches. There is also a bug opened for this. With this patch the driver doesn't abend anymore, when no PANEL information is available (ATOMBIOS OR EDD).
diff --git a/src/rhd_randr.c b/src/rhd_randr.c index 8a6d643..1bbc0e7 100644 --- a/src/rhd_randr.c +++ b/src/rhd_randr.c @@ -749,8 +749,12 @@ rhdRROutputDetect(xf86OutputPtr output) RHDDebug(rhdPtr->scrnIndex, "%s: Output %s\n", __func__, rout->Name); /* Assume that a panel is always connected */ - if (rout->Connector->Type == RHD_CONNECTOR_PANEL) - return XF86OutputStatusConnected; + if (rout->Connector->Type == RHD_CONNECTOR_PANEL) { + if (rout->Connector->Monitor) + return XF86OutputStatusConnected; + else + return XF86OutputStatusDisconnected; + } if (rout->Connector->HPDCheck) { /* Hot Plug Detection available, use it */
CU
Matthias
-- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org