On Thu, 2009-05-07 at 14:58 -0700, Keith Packard wrote:
> Signed-off-by: Keith Packard <kei...@keithp.com>
> ---
>  src/i830_driver.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/src/i830_driver.c b/src/i830_driver.c
> index 1887a51..3d7b51a 100644
> --- a/src/i830_driver.c
> +++ b/src/i830_driver.c
> @@ -1009,6 +1009,14 @@ static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn)
>      busIdString = DRICreatePCIBusID(PciInfo);
>  
>      ret = drmCheckModesettingSupported(busIdString);
> +    if (ret)
> +     if (xf86LoadKernelModule("i915")) {
> +         ret = drmCheckModesettingSupported(busIdString);
> +
> +         /* Be nice to the user and load fbcon too */
> +         if (!ret)
> +             (void) xf86LoadKernelModule("fbcon");
> +     }

Isn't this going to be linux specific?

robert.

>      xfree(busIdString);
>      if (ret)
>       return FALSE;
-- 
Robert Noland <rnol...@2hip.net>
2Hip Networks

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to