2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# Makefile for the drm device driver.  This driver provides support for the
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								ccflags-y := -Iinclude/drm
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2010-02-01 19:11:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								drm-y       :=	drm_auth.o drm_buffer.o drm_bufs.o drm_cache.o \
							 | 
						
					
						
							
								
									
										
										
										
											2010-08-23 22:53:31 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										drm_context.o drm_dma.o \
							 | 
						
					
						
							
								
									
										
										
										
											2008-07-30 12:06:12 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
							 | 
						
					
						
							
								
									
										
										
										
											2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
										drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
							 | 
						
					
						
							
								
									
										
										
										
											2012-11-23 11:12:10 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										drm_agpsupport.o drm_scatter.o drm_pci.o \
							 | 
						
					
						
							
								
									
										
										
										
											2011-10-25 23:19:27 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										drm_platform.o drm_sysfs.o drm_hashtab.o drm_mm.o \
							 | 
						
					
						
							
								
									
										
										
										
											2009-09-07 15:45:33 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										drm_crtc.o drm_modes.o drm_edid.o \
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-01 16:47:31 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										drm_info.o drm_debugfs.o drm_encoder_slave.o \
							 | 
						
					
						
							
								
									
										
										
										
											2011-11-25 15:21:02 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										drm_trace_points.o drm_global.o drm_prime.o
							 | 
						
					
						
							
								
									
										
										
										
											2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								drm-$(CONFIG_COMPAT) += drm_ioc32.o
							 | 
						
					
						
							
								
									
										
										
										
											2012-06-27 15:30:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
							 | 
						
					
						
							
								
									
										
										
										
											2012-11-23 11:12:10 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								drm-$(CONFIG_PCI) += ati_pcigart.o
							 | 
						
					
						
							
								
									
										
										
										
											2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2012-03-20 06:59:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								drm-usb-y   := drm_usb.o
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2012-10-18 10:15:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								drm_kms_helper-y := drm_fb_helper.o drm_crtc_helper.o drm_dp_helper.o
							 | 
						
					
						
							
								
									
										
										
										
											2012-03-18 22:37:33 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
							 | 
						
					
						
							
								
									
										
										
										
											2012-07-02 16:37:47 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
							 | 
						
					
						
							
								
									
										
										
										
											2009-09-07 15:45:33 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2009-09-08 11:08:32 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o
							 | 
						
					
						
							
								
									
										
										
										
											2009-09-07 15:45:33 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2010-07-01 16:47:31 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								CFLAGS_drm_trace_points.o := -I$(src)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM)	+= drm.o
							 | 
						
					
						
							
								
									
										
										
										
											2012-03-20 06:59:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_USB)   += drm_usb.o
							 | 
						
					
						
							
								
									
										
										
										
											2009-06-22 18:16:13 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_TTM)	+= ttm/
							 | 
						
					
						
							
								
									
										
										
										
											2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_TDFX)	+= tdfx/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_R128)	+= r128/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_RADEON)+= radeon/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_MGA)	+= mga/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_I810)	+= i810/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_I915)  += i915/
							 | 
						
					
						
							
								
									
										
										
										
											2012-04-17 15:01:25 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_MGAG200) += mgag200/
							 | 
						
					
						
							
								
									
										
										
										
											2012-04-17 14:12:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_CIRRUS_QEMU) += cirrus/
							 | 
						
					
						
							
								
									
										
										
										
											2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_SIS)   += sis/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_SAVAGE)+= savage/
							 | 
						
					
						
							
								
									
										
										
										
											2009-12-10 00:19:58 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
							 | 
						
					
						
							
								
									
										
										
										
											2008-05-29 10:09:59 +10:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_VIA)	+=via/
							 | 
						
					
						
							
								
									
										
										
										
											2009-12-11 19:24:15 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
							 | 
						
					
						
							
								
									
										
										
										
											2011-10-04 19:19:01 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_EXYNOS) +=exynos/
							 | 
						
					
						
							
								
									
										
										
										
											2011-11-03 18:22:48 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_GMA500) += gma500/
							 | 
						
					
						
							
								
									
										
										
										
											2010-12-15 07:14:24 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_UDL) += udl/
							 | 
						
					
						
							
								
									
										
											 
										 
										
											
												drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series (v2)
This is the initial driver for the Aspeed Technologies chips found in
servers. This driver supports the AST 2000, 2100, 2200, 2150 and 2300. It
doesn't support the AST11xx due to lack of hw to test it on, and them requiring
different codepaths.
This driver is intended to be used with xf86-video-modesetting in userspace.
This driver has a slightly different design than other KMS drivers, but
future server chips will probably share similiar setup. As these GPUs commonly
have low video RAM, it doesn't make sense to put the kms console in VRAM
always. This driver places the kms console into system RAM, and does dirty
updates to a copy in video RAM. When userspace sets a new scanout buffer,
it forcefully evicts the video RAM console, and X can create a framebuffer
that can use all of of video RAM.
This driver uses TTM but in a very simple fashion to control the eviction
to system RAM of the console, and multiple servers.
v2: add s/r support, fix Kconfig.
Signed-off-by: Dave Airlie <airlied@redhat.com>
											
										 
										
											2012-02-29 13:40:04 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_AST) += ast/
							 | 
						
					
						
							
								
									
										
										
										
											2012-04-26 13:53:59 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
							 | 
						
					
						
							
								
									
										
										
										
											2012-11-15 21:28:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_TEGRA) += tegra/
							 | 
						
					
						
							
								
									
										
										
										
											2013-02-11 12:43:09 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_OMAP)	+= omapdrm/
							 | 
						
					
						
							
								
									
										
										
										
											2013-01-08 15:04:28 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-$(CONFIG_DRM_TILCDC)	+= tilcdc/
							 | 
						
					
						
							
								
									
										
										
										
											2009-12-11 19:24:15 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								obj-y			+= i2c/
							 |