diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/Kconfig | 20 | ||||
-rw-r--r-- | drivers/video/intelfb/Makefile | 4 |
2 files changed, 21 insertions, 3 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 5a2840aeb547..743c853ad150 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -809,6 +809,8 @@ config FB_INTEL | |||
809 | depends on FB && EXPERIMENTAL && PCI && X86 | 809 | depends on FB && EXPERIMENTAL && PCI && X86 |
810 | select AGP | 810 | select AGP |
811 | select AGP_INTEL | 811 | select AGP_INTEL |
812 | select I2C_ALGOBIT if FB_INTEL_I2C | ||
813 | select I2C if FB_INTEL_I2C | ||
812 | select FB_MODE_HELPERS | 814 | select FB_MODE_HELPERS |
813 | select FB_CFB_FILLRECT | 815 | select FB_CFB_FILLRECT |
814 | select FB_CFB_COPYAREA | 816 | select FB_CFB_COPYAREA |
@@ -818,17 +820,31 @@ config FB_INTEL | |||
818 | 830M/845G/852GM/855GM/865G chipsets. | 820 | 830M/845G/852GM/855GM/865G chipsets. |
819 | Say Y if you have and plan to use such a board. | 821 | Say Y if you have and plan to use such a board. |
820 | 822 | ||
821 | To compile this driver as a module, choose M here: the | 823 | If you say Y here and want DDC/I2C support you must first say Y to |
824 | "I2C support" and "I2C bit-banging support" in the character devices | ||
825 | section. | ||
826 | |||
827 | If you say M here then "I2C support" and "I2C bit-banging support" | ||
828 | can be build either as modules or built-in. | ||
829 | |||
830 | To compile this driver as a module, choose M here: the | ||
822 | module will be called intelfb. | 831 | module will be called intelfb. |
823 | 832 | ||
824 | config FB_INTEL_DEBUG | 833 | config FB_INTEL_DEBUG |
825 | bool "Intel driver Debug Messages" | 834 | bool "Intel driver Debug Messages" |
826 | depends on FB_INTEL | 835 | depends on FB_INTEL |
827 | ---help--- | 836 | ---help--- |
828 | Say Y here if you want the Intel driver to output all sorts | 837 | Say Y here if you want the Intel driver to output all sorts |
829 | of debugging informations to provide to the maintainer when | 838 | of debugging informations to provide to the maintainer when |
830 | something goes wrong. | 839 | something goes wrong. |
831 | 840 | ||
841 | config FB_INTEL_I2C | ||
842 | bool "DDC/I2C for Intel framebuffer support" | ||
843 | depends on FB_INTEL | ||
844 | default y | ||
845 | help | ||
846 | Say Y here if you want DDC/I2C support for your on-board Intel graphics. | ||
847 | |||
832 | config FB_MATROX | 848 | config FB_MATROX |
833 | tristate "Matrox acceleration" | 849 | tristate "Matrox acceleration" |
834 | depends on FB && PCI | 850 | depends on FB && PCI |
diff --git a/drivers/video/intelfb/Makefile b/drivers/video/intelfb/Makefile index 722d21d6e5cd..6c782d3ae1be 100644 --- a/drivers/video/intelfb/Makefile +++ b/drivers/video/intelfb/Makefile | |||
@@ -1,6 +1,8 @@ | |||
1 | obj-$(CONFIG_FB_INTEL) += intelfb.o | 1 | obj-$(CONFIG_FB_INTEL) += intelfb.o |
2 | 2 | ||
3 | intelfb-objs := intelfbdrv.o intelfbhw.o | 3 | intelfb-y := intelfbdrv.o intelfbhw.o |
4 | intelfb-$(CONFIG_FB_INTEL_I2C) += intelfb_i2c.o | ||
5 | intelfb-objs := $(intelfb-y) | ||
4 | 6 | ||
5 | ifdef CONFIG_FB_INTEL_DEBUG | 7 | ifdef CONFIG_FB_INTEL_DEBUG |
6 | #EXTRA_CFLAGS += -DDEBUG -DVERBOSE -DREGDUMP | 8 | #EXTRA_CFLAGS += -DDEBUG -DVERBOSE -DREGDUMP |