Mailinglist Archive: radeonhd (622 mails)
| < Previous | Next > |
[radeonhd] [PATCH] Call RHDMonitorInit even if Connector->DDC is NULL.
- From: Matt Kraai <kraai@xxxxxxxxx>
- Date: Thu, 4 Oct 2007 23:18:10 -0700
- Message-id: <1191565090-16497-1-git-send-email-kraai@xxxxxxxxx>
If Connector->DDC is NULL, RHDMonitorInit can use AtomBIOS, so call it
even if Connector->DDC is NULL.
---
This patch makes the driver work on my MacBook Pro. Yay! Thanks to
everyone who made this possible.
src/rhd_driver.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/rhd_driver.c b/src/rhd_driver.c
index e281d57..ae1e82e 100644
--- a/src/rhd_driver.c
+++ b/src/rhd_driver.c
@@ -1250,8 +1250,7 @@ rhdModeLayoutSelect(RHDPtr rhdPtr, char *ignore)
Connector = Output->Connector;
- if (Connector->DDC)
- Monitor = RHDMonitorInit(Connector);
+ Monitor = RHDMonitorInit(Connector);
if (!Monitor && (Connector->Type == RHD_CONNECTOR_PANEL)) {
xf86DrvMsg(rhdPtr->scrnIndex, X_WARNING, "Unable to attach a"
--
1.5.3.2
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
even if Connector->DDC is NULL.
---
This patch makes the driver work on my MacBook Pro. Yay! Thanks to
everyone who made this possible.
src/rhd_driver.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/rhd_driver.c b/src/rhd_driver.c
index e281d57..ae1e82e 100644
--- a/src/rhd_driver.c
+++ b/src/rhd_driver.c
@@ -1250,8 +1250,7 @@ rhdModeLayoutSelect(RHDPtr rhdPtr, char *ignore)
Connector = Output->Connector;
- if (Connector->DDC)
- Monitor = RHDMonitorInit(Connector);
+ Monitor = RHDMonitorInit(Connector);
if (!Monitor && (Connector->Type == RHD_CONNECTOR_PANEL)) {
xf86DrvMsg(rhdPtr->scrnIndex, X_WARNING, "Unable to attach a"
--
1.5.3.2
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |