mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
![Ville Syrjälä](/assets/img/avatar_default.png)
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>
22 lines
805 B
Makefile
22 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
|