Skip to content

Commit f453ba0

Browse files
committed
DRM: add mode setting support
Add mode setting support to the DRM layer. This is a fairly big chunk of work that allows DRM drivers to provide full output control and configuration capabilities to userspace. It was motivated by several factors: - the fb layer's APIs aren't suited for anything but simple configurations - coordination between the fb layer, DRM layer, and various userspace drivers is poor to non-existent (radeonfb excepted) - user level mode setting drivers makes displaying panic & oops messages more difficult - suspend/resume of graphics state is possible in many more configurations with kernel level support This commit just adds the core DRM part of the mode setting APIs. Driver specific commits using these new structure and APIs will follow. Co-authors: Jesse Barnes <jbarnes@virtuousgeek.org>, Jakob Bornecrantz <jakob@tungstengraphics.com> Contributors: Alan Hourihane <alanh@tungstengraphics.com>, Maarten Maathuis <madman2003@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent de151cf commit f453ba0

File tree

20 files changed

+6469
-41
lines changed

20 files changed

+6469
-41
lines changed

drivers/gpu/drm/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ drm-y := drm_auth.o drm_bufs.o drm_cache.o \
99
drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
1010
drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
1111
drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
12-
drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o
12+
drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
13+
drm_crtc.o drm_crtc_helper.o drm_modes.o drm_edid.o
1314

1415
drm-$(CONFIG_COMPAT) += drm_ioc32.o
1516

0 commit comments

Comments
 (0)