mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
f9f92e7c58
It's probably full of bugs ready for exploiting by userspace. And there's not going to be any userspace for this without any of the drm legacy drivers enabled too. So just couple it together. Note that the frontend is only the /dev/agp ioctl interface, which per Adam is only used by the i810 userspace drivers. All other drivers go through the drm bufmap agp handling abstraction apparently. v2: Augment commit message a bit from m-l feedback. Acked-by: Adam Jackson <ajax@redhat.com> Acked-by: Christian König <christian.koenig@amd.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: David Airlie <airlied@linux.ie> Cc: Adam Jackson <ajax@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201117214029.591896-1-daniel.vetter@ffwll.ch
27 lines
851 B
Makefile
27 lines
851 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
agpgart-y := backend.o generic.o isoch.o
|
|
|
|
ifeq ($(CONFIG_DRM_LEGACY),y)
|
|
agpgart-$(CONFIG_COMPAT) += compat_ioctl.o
|
|
agpgart-y += frontend.o
|
|
endif
|
|
|
|
|
|
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_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
|