[lkml]   [2008]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[RFC: -next patch] don't allow FB_SIS=m, DRM_SIS=y
On Tue, Aug 12, 2008 at 10:37:00PM +0100, Dave Airlie wrote:
> > >
> > > Maybe the other way around, I don't want DRM_SIS influencing whether
> > > FB_SIS is on or off, if the user wants sisfb on, then when they select it,
> > > DRM_SIS should be built in the same way. But if sisfb isn't selected by
> > > the user, then selecting DRM_SIS shouldn't enable it.
> >
> > If FB_SIS=m, should DRM_SIS=y be allowed or should in this case DRM_SIS
> > be restricted to n/m?
> Probably not. if FB_SIS is selected at all, DRM_SIS should match it, if
> FB_SIS isn't selected, DRM_SIS should not select it.

I assume FB_SIS=y, DRM_SIS=m should still be possible?

If this assumption is correct the fix is below.

> Dave.


<-- snip -->

FB_SIS=m, DRM_SIS=y is not a legal configuration.

Reported-by: Randy Dunlap <>
Signed-off-by: Adrian Bunk <>

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 610d6fd..bf9003e 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -87,6 +87,7 @@ config DRM_MGA
config DRM_SIS
tristate "SiS video cards"
depends on DRM && AGP
+ depends on FB_SIS || FB_SIS=n
Choose this option if you have a SiS 630 or compatible video
chipset. If M is selected the module will be called sis. AGP

 \ /
  Last update: 2008-08-14 00:01    [W:0.041 / U:1.280 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site