Mailinglist Archive: radeonhd (265 mails)

< Previous Next >
[radeonhd] PATCH: Report PANEL as disconnected when no modes are available
  • From: Thomas Meyer <thomas@xxxxxxxx>
  • Date: Wed, 30 Jan 2008 19:41:08 +0100
  • Message-id: <47A0C4C4.60602@xxxxxxxx>
Report PANEL as disconnected when no modes are available

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 */


--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages