mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
00fe639a56
We only depend on the intel-gtt module for GTT frobbign on older gens. The intel_agp module is optional, except for UMS and some old XvMC userland on gen3. So make AGP support optional. As before, we will fail the i915 init for UMS and gen3 KMS the same as before if intel_agp isn't around. intel-gtt.c is left with a somewhat ugly ifdef mess, but I'm going to save that for a later cleaning. At least my gen2 still works with the patch and CONFIG_AGP=n. v2: Make i915 depend on X86 and PCI, and intel-gtt depend on PCI Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
23 lines
805 B
Makefile
23 lines
805 B
Makefile
agpgart-y := backend.o frontend.o generic.o isoch.o
|
|
|
|
agpgart-$(CONFIG_COMPAT) += compat_ioctl.o
|
|
|
|
obj-$(CONFIG_AGP) += agpgart.o
|
|
obj-$(CONFIG_AGP_ALI) += ali-agp.o
|
|
obj-$(CONFIG_AGP_ATI) += ati-agp.o
|
|
obj-$(CONFIG_AGP_AMD) += amd-k7-agp.o
|
|
obj-$(CONFIG_AGP_AMD64) += amd64-agp.o
|
|
obj-$(CONFIG_AGP_ALPHA_CORE) += alpha-agp.o
|
|
obj-$(CONFIG_AGP_EFFICEON) += efficeon-agp.o
|
|
obj-$(CONFIG_AGP_HP_ZX1) += hp-agp.o
|
|
obj-$(CONFIG_AGP_PARISC) += parisc-agp.o
|
|
obj-$(CONFIG_AGP_I460) += i460-agp.o
|
|
obj-$(CONFIG_AGP_INTEL) += intel-agp.o
|
|
obj-$(CONFIG_INTEL_GTT) += intel-gtt.o
|
|
obj-$(CONFIG_AGP_NVIDIA) += nvidia-agp.o
|
|
obj-$(CONFIG_AGP_SGI_TIOCA) += sgi-agp.o
|
|
obj-$(CONFIG_AGP_SIS) += sis-agp.o
|
|
obj-$(CONFIG_AGP_SWORKS) += sworks-agp.o
|
|
obj-$(CONFIG_AGP_UNINORTH) += uninorth-agp.o
|
|
obj-$(CONFIG_AGP_VIA) += via-agp.o
|