linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Simmons <jsimmons@infradead.org>
To: Valdis.Kletnieks@vt.edu
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Antonino Daplas <adaplas@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Fbdev development list 
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: 2.6.21-rc2-mm1 - fb_ddc_read() not defined
Date: Fri, 2 Mar 2007 16:31:02 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0703021630040.3216@pentafluge.infradead.org> (raw)
In-Reply-To: <200703021603.l22G37Sa022890@turing-police.cc.vt.edu>


> On Fri, 02 Mar 2007 03:00:26 PST, Andrew Morton said:
> 
> >   ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc2/2.6.21-rc2-mm1/
> 
> > nvidiafb-bring-back-generic-ddc-reading.patch
> 
> Building with FB_DDC=N results in:
> 
> Kernel: arch/x86_64/boot/bzImage is ready  (#1)
>   Building modules, stage 2.
>   MODPOST 229 modules
> WARNING: "fb_ddc_read" [drivers/video/nvidia/nvidiafb.ko] undefined!
> make[1]: *** [__modpost] Error 1
> 
> makes-it-build patch (not sure if it should be "select FB_DDC if MUMBLE"):
> 
> --- linux-2.6.21-rc2-mm1/drivers/video/Kconfig.nvidia	2007-03-02 09:27:48.000000000 -0500
> +++ linux-2.6.21-rc2-mm1/drivers/video/Kconfig	2007-03-02 10:56:54.000000000 -0500
> @@ -710,6 +710,7 @@ config FB_NVIDIA
>  	select I2C_ALGOBIT if FB_NVIDIA_I2C
>  	select I2C if FB_NVIDIA_I2C
>  	select FB_BACKLIGHT if FB_NVIDIA_BACKLIGHT
> +	select FB_DDC
>  	select FB_MODE_HELPERS
>  	select FB_CFB_FILLRECT
>  	select FB_CFB_COPYAREA

To have a patch to cleans things up. Give it a try

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index b8f0a11..855a09e 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -677,8 +678,6 @@ config FB_S1D13XXX
 config FB_NVIDIA
 	tristate "nVidia Framebuffer Support"
 	depends on FB && PCI
-	select I2C_ALGOBIT if FB_NVIDIA_I2C
-	select I2C if FB_NVIDIA_I2C
 	select FB_BACKLIGHT if FB_NVIDIA_BACKLIGHT
 	select FB_MODE_HELPERS
 	select FB_CFB_FILLRECT
@@ -697,6 +696,7 @@ config FB_NVIDIA
 config FB_NVIDIA_I2C
        bool "Enable DDC Support"
        depends on FB_NVIDIA
+       select FB_DDC
        help
 	  This enables I2C support for nVidia Chipsets.  This is used
 	  only for getting EDID information from the attached display
@@ -716,7 +716,6 @@ config FB_NVIDIA_BACKLIGHT
 config FB_RIVA
 	tristate "nVidia Riva support"
 	depends on FB && PCI
-	select FB_DDC if FB_RIVA_I2C
 	select FB_BACKLIGHT if FB_RIVA_BACKLIGHT
 	select FB_MODE_HELPERS
 	select FB_CFB_FILLRECT
@@ -734,6 +733,7 @@ config FB_RIVA
 config FB_RIVA_I2C
        bool "Enable DDC Support"
        depends on FB_RIVA
+       select FB_DDC
        help
 	  This enables I2C support for nVidia Chipsets.  This is used
 	  only for getting EDID information from the attached display
@@ -812,8 +812,6 @@ config FB_INTEL
 	depends on FB && EXPERIMENTAL && PCI && X86
 	select AGP
 	select AGP_INTEL
-	select I2C_ALGOBIT if FB_INTEL_I2C
-	select I2C if FB_INTEL_I2C
 	select FB_MODE_HELPERS
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
@@ -846,6 +844,7 @@ config FB_INTEL_DEBUG
 config FB_INTEL_I2C
 	bool "DDC/I2C for Intel framebuffer support"
 	depends on FB_INTEL
+	select FB_DDC
 	default y
 	help
 	  Say Y here if you want DDC/I2C support for your on-board Intel graphics.
@@ -924,8 +923,8 @@ config FB_MATROX_G
 
 config FB_MATROX_I2C
 	tristate "Matrox I2C support"
-	depends on FB_MATROX && I2C
-	select I2C_ALGOBIT
+	depends on FB_MATROX
+	select FB_DDC
 	---help---
 	  This drivers creates I2C buses which are needed for accessing the
 	  DDC (I2C) bus present on all Matroxes, an I2C bus which
@@ -993,7 +992,6 @@ config FB_MATROX_MULTIHEAD
 config FB_RADEON
 	tristate "ATI Radeon display support"
 	depends on FB && PCI
-	select FB_DDC if FB_RADEON_I2C
 	select FB_BACKLIGHT if FB_RADEON_BACKLIGHT
 	select FB_MODE_HELPERS
 	select FB_CFB_FILLRECT
@@ -1018,6 +1016,7 @@ config FB_RADEON
 config FB_RADEON_I2C
 	bool "DDC/I2C for ATI Radeon support"
 	depends on FB_RADEON
+	select FB_DDC
 	default y
 	help
 	  Say Y here if you want DDC/I2C support for your Radeon board. 
@@ -1125,7 +1124,6 @@ config FB_S3
 config FB_SAVAGE
 	tristate "S3 Savage support"
 	depends on FB && PCI && EXPERIMENTAL
-	select FB_DDC if FB_SAVAGE_I2C
 	select FB_MODE_HELPERS
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
@@ -1142,6 +1140,7 @@ config FB_SAVAGE
 config FB_SAVAGE_I2C
        bool "Enable DDC2 Support"
        depends on FB_SAVAGE
+       select FB_DDC
        help
 	  This enables I2C support for S3 Savage Chipsets.  This is used
 	  only for getting EDID information from the attached display

  reply	other threads:[~2007-03-02 16:31 UTC|newest]

Thread overview: 129+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02 11:00 2.6.21-rc2-mm1 Andrew Morton
2007-03-02 11:04 ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-02 17:30   ` 2.6.21-rc2-mm1 Randy Dunlap
2007-03-04 11:58   ` [Re: 2.6.21-rc2-mm1] #error no ROMFS backing store interface configured Maciej Rutecki
2007-03-04 12:11     ` Andrew Morton
2007-03-04 15:11       ` Maciej Rutecki
2007-03-04 15:11     ` David Howells
2007-03-04 15:25       ` Adrian Bunk
2007-03-04 15:35       ` David Howells
2007-03-05  1:49         ` [-mm patch] fix the ROMFS_* dependencies Adrian Bunk
2007-03-05 13:36         ` David Howells
2007-03-06 23:43           ` Adrian Bunk
2007-03-02 11:04 ` 2.6.21-rc2-mm1 Russell King
2007-03-02 11:08   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-02 11:10     ` 2.6.21-rc2-mm1 Russell King
2007-03-02 11:15       ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-03 18:03         ` 2.6.21-rc2-mm1 Russell King
2007-03-05 10:41           ` arm utrace Roland McGrath
2007-03-02 14:05 ` 2.6.21-rc2-mm1: EIP is at ext2_discard_reservation+0x1c/0x52 Alexey Dobriyan
2007-03-02 14:24 ` 2.6.21-rc2-mm1 Bryan Wu
2007-03-02 14:40 ` [-mm patch] cpu_idle: fix build break Frederik Deweerdt
2007-03-02 15:24   ` Venkatesh Pallipadi
2007-03-02 16:24     ` Frederik Deweerdt
2007-03-02 15:42 ` 2.6.21-rc2-mm1 - build error with HOTPLUG_CPU=N, CPU_IDLE=Y Valdis.Kletnieks
2007-03-02 15:56 ` 2.6.21-rc2-mm1 Michal Piotrowski
2007-03-05 10:14   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-05 10:30     ` 2.6.21-rc2-mm1 Antonino A. Daplas
2007-03-02 16:03 ` 2.6.21-rc2-mm1 - fb_ddc_read() not defined Valdis.Kletnieks
2007-03-02 16:31   ` James Simmons [this message]
2007-03-02 16:51     ` Valdis.Kletnieks
2007-03-02 16:19 ` [PATCH] longhaul pci_find_device -> pci_get_device conversion (was: Re: 2.6.21-rc2-mm1) Michal Piotrowski
     [not found]   ` <3888a5cd0703020945r4ca51f3dxe981050b817e7594@mail.gmail.com>
2007-03-02 18:10     ` Michal Piotrowski
2007-03-02 16:32 ` 2.6.21-rc2-mm1 Badari Pulavarty
2007-03-02 17:03   ` [patch -mm] x86_64: fake numa cmdline flag fix David Rientjes
2007-03-02 17:21     ` Badari Pulavarty
2007-03-02 17:10   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-02 17:15     ` 2.6.21-rc2-mm1 Badari Pulavarty
2007-03-02 21:12 ` 2.6.21-rc2-mm1: what about CONFIG_NO_HZ and !CONFIG_SMP ? Laurent Riffard
2007-03-02 20:57   ` Siddha, Suresh B
2007-03-02 22:09     ` Laurent Riffard
2007-03-02 22:52 ` 2.6.21-rc2-mm1: pata_via: wrong cable detection Laurent Riffard
2007-03-02 23:05 ` [PATCH -mm] char/epca.c remove unused function (was: Re: 2.6.21-rc2-mm1) Michal Piotrowski
2007-03-03  0:48   ` Alan Cox
2007-03-02 23:42 ` 2.6.21-rc2-mm1 Michal Piotrowski
2007-03-03  0:40   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-03  1:22     ` 2.6.21-rc2-mm1 Michal Piotrowski
2007-03-03  1:41       ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-03 10:08         ` 2.6.21-rc2-mm1 Michal Piotrowski
2007-03-03 12:06           ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-03  7:45 ` 2.6.21-rc2-mm1 - build error with CONFIG_NO_HZ=y and CONFIG_SMP=n Antonino A. Daplas
2007-03-03  7:59   ` Andrew Morton
2007-03-03 15:39 ` Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1] Jiri Slaby
2007-03-03 15:54   ` Jiri Slaby
2007-03-03 17:41     ` Andrew Morton
2007-03-09 10:31       ` Jiri Slaby
2007-03-09 14:13         ` Dmitry Torokhov
2007-03-09 14:40           ` Jiri Kosina
2007-03-09 16:01             ` Jiri Kosina
2007-03-09 16:48               ` Jiri Slaby
2007-03-09 17:10                 ` Jiri Slaby
2007-03-11 21:39               ` Jiri Slaby
2007-03-11 21:47                 ` Jiri Kosina
2007-03-11 21:53                   ` Jiri Slaby
2007-03-11 22:11                     ` Jiri Slaby
2007-03-12  9:08                   ` Jiri Slaby
2007-03-12 15:09                     ` Alan Stern
2007-03-12 16:28                       ` Jiri Slaby
2007-03-12 19:56                         ` Alan Stern
2007-03-12 21:00                         ` Jiri Kosina
2007-03-12 22:32                           ` Jiri Slaby
2007-03-13 16:01                             ` Alan Stern
2007-03-13 16:13                               ` Jiri Slaby
2007-03-13 16:30                                 ` Alan Stern
2007-03-15 20:00                                 ` Alan Stern
2007-03-16 10:52                                   ` Jiri Slaby
2007-03-17 22:50                                   ` Jiri Slaby
2007-03-18  2:39                                     ` Alan Stern
2007-03-18  8:46                                       ` Jiri Slaby
2007-03-18 14:26                                         ` Alan Stern
2007-03-18 14:36                                           ` Jiri Slaby
2007-03-18 15:39                                             ` Alan Stern
2007-03-18 15:45                                               ` Jiri Slaby
2007-03-18 16:11                                                 ` Alan Stern
2007-03-04  9:07 ` 2.6.21-rc2-mm1 Mariusz Kozlowski
2007-03-04  9:48   ` 2.6.21-rc2-mm1 Mariusz Kozlowski
2007-03-04 11:34   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-04 12:01     ` 2.6.21-rc2-mm1 Mariusz Kozlowski
2007-03-04 17:06       ` 2.6.21-rc2-mm1 Mariusz Kozlowski
2007-03-04 17:13         ` 2.6.21-rc2-mm1 Michal Piotrowski
2007-03-04 17:20           ` 2.6.21-rc2-mm1 Michal Piotrowski
2007-03-05 16:34   ` 2.6.21-rc2-mm1 Zan Lynx
2007-03-05  0:11 ` 2.6.21-rc2-mm1 J.A. Magallón
2007-03-05  0:29   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-05  1:17   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-05  2:25     ` 2.6.21-rc2-mm1 Neil Brown
2007-03-05 15:42       ` 2.6.21-rc2-mm1 Bill Davidsen
2007-03-05  1:47 ` [-mm patch] saa7134: fix MODULES=n compilation Adrian Bunk
2007-03-05  1:47 ` 2.6.21-rc2-mm1: drivers/net/wireless/ compile error Adrian Bunk
2007-03-05 10:41   ` Michael Buesch
2007-03-05  1:47 ` 2.6.21-rc2-mm1: drivers/usb/host/ohci-ssb.c doesn't compile Adrian Bunk
2007-03-05 10:49   ` Michael Buesch
2007-03-05 10:57     ` Michael Buesch
2007-03-05 11:26       ` Michael Buesch
2007-03-05 18:26         ` Greg KH
2007-03-05 18:37           ` Adrian Bunk
2007-03-05 18:42         ` David Brownell
2007-03-05 19:09           ` Michael Buesch
2007-03-05  1:47 ` [-mm patch] arch/i386/kernel/vmi.c must #include <asm/kmap_types.h> Adrian Bunk
2007-03-05  2:57   ` Zachary Amsden
2007-03-05  1:47 ` [-mm patch] remove arch/i386/kernel/tsc.c:custom_sched_clock Adrian Bunk
2007-03-05  2:57   ` Zachary Amsden
2007-03-05  1:47 ` [-mm patch] make drivers/char/drm/drm_vm.c:drm_io_prot() static Adrian Bunk
2007-03-05  1:47 ` [-mm patch] drivers/cpuidle/: make code static Adrian Bunk
2007-03-05  1:49 ` [-mm patch] drivers/media/video/ivtv/: possible cleanups Adrian Bunk
2007-03-05  6:53   ` [v4l-dvb-maintainer] " Hans Verkuil
2007-03-05  1:49 ` [-mm patch] drivers/net/bonding/bond_main.c:make 3 functions static Adrian Bunk
2007-03-05  1:49 ` [-mm patch] make drivers/video/display/display-sysfs.c:display_class static Adrian Bunk
2007-03-05  1:49 ` [-mm patch] make fb_deferred_io_mkwrite() static Adrian Bunk
2007-03-05  1:49 ` [-mm patch] drivers/video/hecubafb.c: make 4 functions static Adrian Bunk
2007-03-05 22:20 ` 2.6.21-rc2-mm1 J.A. Magallón
2007-03-05 23:11   ` 2.6.21-rc2-mm1 Andrew Morton
2007-03-06  6:25     ` [PATCH] sched: fix idle at tick Con Kolivas
     [not found]       ` <20070305230240.9c2741d1.akpm@linux-foundation.org>
2007-03-06  7:41         ` Con Kolivas
2007-03-06  8:38           ` J.A. Magallón
2007-03-06  0:16 ` i2c vs nVidia [Re: 2.6.21-rc2-mm1] J.A. Magallón
2007-03-06  0:33   ` Andrew Morton
2007-03-06  0:44     ` Greg KH
2007-03-06  8:45       ` Jean Delvare
2007-03-06 10:56         ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0703021630040.3216@pentafluge.infradead.org \
    --to=jsimmons@infradead.org \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=adaplas@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).