Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 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 | |
| 5 | ccflags-y := -Iinclude/drm |
| 6 | |
Pauli Nieminen | 7a9f0dd | 2010-02-01 19:11:15 +0200 | [diff] [blame] | 7 | drm-y := drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \ |
Daniel Vetter | 8f87919 | 2010-08-23 22:53:31 +0200 | [diff] [blame] | 8 | drm_context.o drm_dma.o \ |
Eric Anholt | 673a394 | 2008-07-30 12:06:12 -0700 | [diff] [blame] | 9 | drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ |
Daniel Vetter | cb6458f | 2013-08-08 15:41:34 +0200 | [diff] [blame] | 10 | drm_lock.o drm_memory.o drm_stub.o drm_vm.o \ |
James Hogan | dff98e5 | 2012-11-23 11:12:10 +0000 | [diff] [blame] | 11 | drm_agpsupport.o drm_scatter.o drm_pci.o \ |
Daniel Vetter | 7a6e0da | 2011-10-25 23:19:27 +0200 | [diff] [blame] | 12 | drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \ |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 13 | drm_crtc.o drm_modes.o drm_edid.o \ |
Jesse Barnes | ac2874b | 2010-07-01 16:47:31 -0700 | [diff] [blame] | 14 | drm_info.o drm_debugfs.o drm_encoder_slave.o \ |
Ville Syrjälä | 3512f97 | 2013-04-24 18:52:34 +0300 | [diff] [blame] | 15 | drm_trace_points.o drm_global.o drm_prime.o \ |
Rob Clark | cabaafc | 2013-08-07 14:41:54 -0400 | [diff] [blame] | 16 | drm_rect.o drm_vma_manager.o drm_flip_work.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 17 | |
| 18 | drm-$(CONFIG_COMPAT) += drm_ioc32.o |
Sascha Hauer | b9d4745 | 2012-06-27 15:30:18 +0200 | [diff] [blame] | 19 | drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o |
James Hogan | dff98e5 | 2012-11-23 11:12:10 +0000 | [diff] [blame] | 20 | drm-$(CONFIG_PCI) += ati_pcigart.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 21 | |
Dave Airlie | 9c1dfc5 | 2012-03-20 06:59:29 +0000 | [diff] [blame] | 22 | drm-usb-y := drm_usb.o |
| 23 | |
Daniel Vetter | 92b6f89 | 2013-10-08 17:44:47 +0200 | [diff] [blame] | 24 | drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o |
Carsten Emde | da0df92 | 2012-03-18 22:37:33 +0100 | [diff] [blame] | 25 | drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o |
Daniel Vetter | 92b6f89 | 2013-10-08 17:44:47 +0200 | [diff] [blame] | 26 | drm_kms_helper-$(CONFIG_DRM_KMS_FB_HELPER) += drm_fb_helper.o |
Lars-Peter Clausen | 2e3b3c4 | 2012-07-02 16:37:47 +0200 | [diff] [blame] | 27 | drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 28 | |
Dave Airlie | 6fcefd5 | 2009-09-08 11:08:32 +1000 | [diff] [blame] | 29 | obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o |
Dave Airlie | 13a8195 | 2009-09-07 15:45:33 +1000 | [diff] [blame] | 30 | |
Jesse Barnes | ac2874b | 2010-07-01 16:47:31 -0700 | [diff] [blame] | 31 | CFLAGS_drm_trace_points.o := -I$(src) |
| 32 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 33 | obj-$(CONFIG_DRM) += drm.o |
Dave Airlie | 9c1dfc5 | 2012-03-20 06:59:29 +0000 | [diff] [blame] | 34 | obj-$(CONFIG_DRM_USB) += drm_usb.o |
Jerome Glisse | 176f613 | 2009-06-22 18:16:13 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_DRM_TTM) += ttm/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 36 | obj-$(CONFIG_DRM_TDFX) += tdfx/ |
| 37 | obj-$(CONFIG_DRM_R128) += r128/ |
| 38 | obj-$(CONFIG_DRM_RADEON)+= radeon/ |
| 39 | obj-$(CONFIG_DRM_MGA) += mga/ |
| 40 | obj-$(CONFIG_DRM_I810) += i810/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 41 | obj-$(CONFIG_DRM_I915) += i915/ |
Dave Airlie | 414c453 | 2012-04-17 15:01:25 +0100 | [diff] [blame] | 42 | obj-$(CONFIG_DRM_MGAG200) += mgag200/ |
Dave Airlie | f9aa76a | 2012-04-17 14:12:29 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 44 | obj-$(CONFIG_DRM_SIS) += sis/ |
| 45 | obj-$(CONFIG_DRM_SAVAGE)+= savage/ |
Jakob Bornecrantz | fb1d973 | 2009-12-10 00:19:58 +0000 | [diff] [blame] | 46 | obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 47 | obj-$(CONFIG_DRM_VIA) +=via/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 48 | obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ |
Inki Dae | 1c248b7 | 2011-10-04 19:19:01 +0900 | [diff] [blame] | 49 | obj-$(CONFIG_DRM_EXYNOS) +=exynos/ |
Alan Cox | 91c7549 | 2011-11-03 18:22:48 +0000 | [diff] [blame] | 50 | obj-$(CONFIG_DRM_GMA500) += gma500/ |
Dave Airlie | 5320918 | 2010-12-15 07:14:24 +1000 | [diff] [blame] | 51 | obj-$(CONFIG_DRM_UDL) += udl/ |
Dave Airlie | 312fec1 | 2012-02-29 13:40:04 +0000 | [diff] [blame] | 52 | obj-$(CONFIG_DRM_AST) += ast/ |
Russell King | 96f60e3 | 2012-08-15 13:59:49 +0100 | [diff] [blame] | 53 | obj-$(CONFIG_DRM_ARMADA) += armada/ |
Laurent Pinchart | 4bf8e19 | 2013-06-19 13:54:11 +0200 | [diff] [blame] | 54 | obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/ |
Laurent Pinchart | 51c1327 | 2012-04-26 13:53:59 +0200 | [diff] [blame] | 55 | obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/ |
Rob Clark | 8bb0daf | 2013-02-11 12:43:09 -0500 | [diff] [blame] | 56 | obj-$(CONFIG_DRM_OMAP) += omapdrm/ |
Rob Clark | 16ea975 | 2013-01-08 15:04:28 -0600 | [diff] [blame] | 57 | obj-$(CONFIG_DRM_TILCDC) += tilcdc/ |
Dave Airlie | f64122c | 2013-02-25 14:47:55 +1000 | [diff] [blame] | 58 | obj-$(CONFIG_DRM_QXL) += qxl/ |
Rob Clark | c8afe68 | 2013-06-26 12:44:06 -0400 | [diff] [blame] | 59 | obj-$(CONFIG_DRM_MSM) += msm/ |
Thierry Reding | dee8268 | 2013-10-09 10:32:49 +0200 | [diff] [blame] | 60 | obj-$(CONFIG_DRM_TEGRA) += tegra/ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 61 | obj-y += i2c/ |