1 2# Makefile for the drm device driver. This driver provides support for the 3# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. 4 5drm-y := drm_auth.o drm_bufs.o drm_cache.o \ 6 drm_context.o drm_dma.o \ 7 drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ 8 drm_lock.o drm_memory.o drm_drv.o drm_vm.o \ 9 drm_scatter.o drm_pci.o \ 10 drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \ 11 drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \ 12 drm_info.o drm_debugfs.o drm_encoder_slave.o \ 13 drm_trace_points.o drm_global.o drm_prime.o \ 14 drm_rect.o drm_vma_manager.o drm_flip_work.o \ 15 drm_modeset_lock.o drm_atomic.o drm_bridge.o 16 17drm-$(CONFIG_COMPAT) += drm_ioc32.o 18drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o 19drm-$(CONFIG_PCI) += ati_pcigart.o 20drm-$(CONFIG_DRM_PANEL) += drm_panel.o 21drm-$(CONFIG_OF) += drm_of.o 22drm-$(CONFIG_AGP) += drm_agpsupport.o 23 24drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \ 25 drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \ 26 drm_kms_helper_common.o drm_dp_dual_mode_helper.o \ 27 drm_simple_kms_helper.o drm_blend.o 28 29drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o 30drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o 31drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o 32drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o 33 34obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o 35 36CFLAGS_drm_trace_points.o := -I$(src) 37 38obj-$(CONFIG_DRM) += drm.o 39obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o 40obj-$(CONFIG_DRM_ARM) += arm/ 41obj-$(CONFIG_DRM_TTM) += ttm/ 42obj-$(CONFIG_DRM_TDFX) += tdfx/ 43obj-$(CONFIG_DRM_R128) += r128/ 44obj-$(CONFIG_HSA_AMD) += amd/amdkfd/ 45obj-$(CONFIG_DRM_RADEON)+= radeon/ 46obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/ 47obj-$(CONFIG_DRM_MGA) += mga/ 48obj-$(CONFIG_DRM_I810) += i810/ 49obj-$(CONFIG_DRM_I915) += i915/ 50obj-$(CONFIG_DRM_MGAG200) += mgag200/ 51obj-$(CONFIG_DRM_VC4) += vc4/ 52obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/ 53obj-$(CONFIG_DRM_SIS) += sis/ 54obj-$(CONFIG_DRM_SAVAGE)+= savage/ 55obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ 56obj-$(CONFIG_DRM_VIA) +=via/ 57obj-$(CONFIG_DRM_VGEM) += vgem/ 58obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ 59obj-$(CONFIG_DRM_EXYNOS) +=exynos/ 60obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/ 61obj-$(CONFIG_DRM_GMA500) += gma500/ 62obj-$(CONFIG_DRM_UDL) += udl/ 63obj-$(CONFIG_DRM_AST) += ast/ 64obj-$(CONFIG_DRM_ARMADA) += armada/ 65obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/ 66obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/ 67obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/ 68obj-y += omapdrm/ 69obj-$(CONFIG_DRM_SUN4I) += sun4i/ 70obj-y += tilcdc/ 71obj-$(CONFIG_DRM_QXL) += qxl/ 72obj-$(CONFIG_DRM_BOCHS) += bochs/ 73obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/ 74obj-$(CONFIG_DRM_MSM) += msm/ 75obj-$(CONFIG_DRM_TEGRA) += tegra/ 76obj-$(CONFIG_DRM_STI) += sti/ 77obj-$(CONFIG_DRM_IMX) += imx/ 78obj-$(CONFIG_DRM_MEDIATEK) += mediatek/ 79obj-y += i2c/ 80obj-y += panel/ 81obj-y += bridge/ 82obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/ 83obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/ 84obj-$(CONFIG_DRM_ARCPGU)+= arc/ 85obj-y += hisilicon/ 86