Mailinglist Archive: radeonhd (622 mails)

< Previous Next >
Re: [radeonhd] [PATCH] Call RHDMonitorInit even if Connector->DDC is NULL.
  • From: Jonathan Anderson <jonathan.anderson@xxxxxxxx>
  • Date: Fri, 5 Oct 2007 10:18:11 -0230
  • Message-id: <200710051018.11981.jonathan.anderson@xxxxxxxx>
Huzzah!! This makes my LCD panel work, as well (Mobility X1400 on a Dell 
Inspiron 6400/E1505).


#!/jon

On October 5, 2007, Matt Kraai wrote:
> 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



-- 
Jonathan Anderson

jonathan.anderson@xxxxxxxx
< Previous Next >
References