# SPDX-License-Identifier: GPL-2.0
# Makefile for the drm device driver. This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
drm-y := drm_auth.o drm_cache.o \
drm_file.o drm_gem.o drm_ioctl.o drm_irq.o \
drm_memory.o drm_drv.o drm_pci.o \
drm_sysfs.o drm_hashtab.o drm_mm.o \
drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o \
drm_encoder_slave.o \
drm_trace_points.o drm_prime.o \
drm_rect.o drm_vma_manager.o drm_flip_work.o \
drm_modeset_lock.o drm_atomic.o drm_bridge.o \
drm_framebuffer.o drm_connector.o drm_blend.o \
drm_encoder.o drm_mode_object.o drm_property.o \
drm_plane.o drm_color_mgmt.o drm_print.o \
drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \
drm_syncobj.o drm_lease.o drm_writeback.o drm_client.o \
drm_client_modeset.o drm_atomic_uapi.o drm_hdcp.o
drm-$([31mCONFIG_DRM_LEGACY[0m) += drm_legacy_misc.o drm_bufs.o drm_context.o drm_dma.o drm_scatter.o drm_lock.o
drm-$([31mCONFIG_DRM_LIB_RANDOM[0m) += lib/drm_random.o
drm-$([31mCONFIG_DRM_VM[0m) += drm_vm.o
drm-$([31mCONFIG_COMPAT[0m) += drm_ioc32.o
drm-$([31mCONFIG_DRM_GEM_CMA_HELPER[0m) += drm_gem_cma_helper.o
drm-$([31mCONFIG_DRM_GEM_SHMEM_HELPER[0m) += drm_gem_shmem_helper.o
drm-$([31mCONFIG_DRM_ATI_PCIGART[0m) += ati_pcigart.o
drm-$([31mCONFIG_DRM_PANEL[0m) += drm_panel.o
drm-$([31mCONFIG_OF[0m) += drm_of.o
drm-$([31mCONFIG_AGP[0m) += drm_agpsupport.o
drm-$([31mCONFIG_DEBUG_FS[0m) += drm_debugfs.o drm_debugfs_crc.o
drm-$([31mCONFIG_DRM_LOAD_EDID_FIRMWARE[0m) += drm_edid_load.o
drm_vram_helper-y := drm_gem_vram_helper.o \
drm_vram_helper_common.o \
drm_vram_mm_helper.o
obj-$([31mCONFIG_DRM_VRAM_HELPER[0m) += drm_vram_helper.o
drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_dsc.o drm_probe_helper.o \
drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
drm_simple_kms_helper.o drm_modeset_helper.o \
drm_scdc_helper.o drm_gem_framebuffer_helper.o \
drm_atomic_state_helper.o drm_damage_helper.o \
drm_format_helper.o drm_self_refresh_helper.o
drm_kms_helper-$([31mCONFIG_DRM_PANEL_BRIDGE[0m) += bridge/panel.o
drm_kms_helper-$([31mCONFIG_DRM_FBDEV_EMULATION[0m) += drm_fb_helper.o
drm_kms_helper-$([31mCONFIG_DRM_KMS_CMA_HELPER[0m) += drm_fb_cma_helper.o
drm_kms_helper-$([31mCONFIG_DRM_DP_AUX_CHARDEV[0m) += drm_dp_aux_dev.o
drm_kms_helper-$([31mCONFIG_DRM_DP_CEC[0m) += drm_dp_cec.o
obj-$([31mCONFIG_DRM_KMS_HELPER[0m) += drm_kms_helper.o
obj-$([31mCONFIG_DRM_DEBUG_SELFTEST[0m) += selftests/
obj-$([31mCONFIG_DRM[0m) += drm.o
obj-$([31mCONFIG_DRM_MIPI_DBI[0m) += drm_mipi_dbi.o
obj-$([31mCONFIG_DRM_MIPI_DSI[0m) += drm_mipi_dsi.o
obj-$([31mCONFIG_DRM_PANEL_ORIENTATION_QUIRKS[0m) += drm_panel_orientation_quirks.o
obj-y += arm/
obj-$([31mCONFIG_DRM_TTM[0m) += ttm/
obj-$([31mCONFIG_DRM_SCHED[0m) += scheduler/
obj-$([31mCONFIG_DRM_TDFX[0m) += tdfx/
obj-$([31mCONFIG_DRM_R128[0m) += r128/
obj-$([31mCONFIG_DRM_RADEON[0m)+= radeon/
obj-$([31mCONFIG_DRM_AMDGPU[0m)+= amd/amdgpu/
obj-$([31mCONFIG_DRM_MGA[0m) += mga/
obj-$([31mCONFIG_DRM_I810[0m) += i810/
obj-$([31mCONFIG_DRM_I915[0m) += i915/
obj-$([31mCONFIG_DRM_MGAG200[0m) += mgag200/
obj-$([31mCONFIG_DRM_V3D[0m) += v3d/
obj-$([31mCONFIG_DRM_VC4[0m) += vc4/
obj-$([31mCONFIG_DRM_CIRRUS_QEMU[0m) += cirrus/
obj-$([31mCONFIG_DRM_SIS[0m) += sis/
obj-$([31mCONFIG_DRM_SAVAGE[0m)+= savage/
obj-$([31mCONFIG_DRM_VMWGFX[0m)+= vmwgfx/
obj-$([31mCONFIG_DRM_VIA[0m) +=via/
obj-$([31mCONFIG_DRM_VGEM[0m) += vgem/
obj-$([31mCONFIG_DRM_VKMS[0m) += vkms/
obj-$([31mCONFIG_DRM_NOUVEAU[0m) +=nouveau/
obj-$([31mCONFIG_DRM_EXYNOS[0m) +=exynos/
obj-$([31mCONFIG_DRM_ROCKCHIP[0m) +=rockchip/
obj-$([31mCONFIG_DRM_GMA500[0m) += gma500/
obj-$([31mCONFIG_DRM_UDL[0m) += udl/
obj-$([31mCONFIG_DRM_AST[0m) += ast/
obj-$([31mCONFIG_DRM_ARMADA[0m) += armada/
obj-$([31mCONFIG_DRM_ATMEL_HLCDC[0m) += atmel-hlcdc/
obj-y += rcar-du/
obj-$([31mCONFIG_DRM_SHMOBILE[0m) +=shmobile/
obj-y += omapdrm/
obj-$([31mCONFIG_DRM_SUN4I[0m) += sun4i/
obj-y += tilcdc/
obj-$([31mCONFIG_DRM_QXL[0m) += qxl/
obj-$([31mCONFIG_DRM_BOCHS[0m) += bochs/
obj-$([31mCONFIG_DRM_VIRTIO_GPU[0m) += virtio/
obj-$([31mCONFIG_DRM_MSM[0m) += msm/
obj-$([31mCONFIG_DRM_TEGRA[0m) += tegra/
obj-$([31mCONFIG_DRM_STM[0m) += stm/
obj-$([31mCONFIG_DRM_STI[0m) += sti/
obj-$([31mCONFIG_DRM_IMX[0m) += imx/
obj-$([31mCONFIG_DRM_INGENIC[0m) += ingenic/
obj-$([31mCONFIG_DRM_MEDIATEK[0m) += mediatek/
obj-$([31mCONFIG_DRM_MESON[0m) += meson/
obj-y += i2c/
obj-y += panel/
obj-y += bridge/
obj-$([31mCONFIG_DRM_FSL_DCU[0m) += fsl-dcu/
obj-$([31mCONFIG_DRM_ETNAVIV[0m) += etnaviv/
obj-$([31mCONFIG_DRM_ARCPGU[0m)+= arc/
obj-y += hisilicon/
obj-$([31mCONFIG_DRM_ZTE[0m) += zte/
obj-$([31mCONFIG_DRM_MXSFB[0m) += mxsfb/
obj-y += tiny/
obj-$([31mCONFIG_DRM_PL111[0m) += pl111/
obj-$([31mCONFIG_DRM_TVE200[0m) += tve200/
obj-$([31mCONFIG_DRM_XEN[0m) += xen/
obj-$([31mCONFIG_DRM_VBOXVIDEO[0m) += vboxvideo/
obj-$([31mCONFIG_DRM_LIMA[0m) += lima/
obj-$([31mCONFIG_DRM_PANFROST[0m) += panfrost/
obj-$([31mCONFIG_DRM_ASPEED_GFX[0m) += aspeed/
obj-$([31mCONFIG_DRM_MCDE[0m) += mcde/