freebsd-dev/sys/dev/drm2
Adrian Chadd a39b467a26 i915 driver - enable opregion handle; program CADL.
add opregion handling for drm2 - which exposes some ACPI video configuration
pieces that some Lenovo laptop models use to flesh out which video device
to speak to.  This enables the brightness control in ACPI to work these models.

The CADL bits are also important - it's used to figure out which ACPI
events to hook the brightness buttons into.  It doesn't yet seem to work
for me, but it does for the OP.

Tested:

* Lenovo X230 (mine)
* OP: ASUS UX51VZ

PR:	190186
Submitted by:	Henry Hu <henry.hu.sh@gmail.com>
Reviewed by:	dumbbell
2014-08-25 05:03:10 +00:00
..
i915 i915 driver - enable opregion handle; program CADL. 2014-08-25 05:03:10 +00:00
radeon Merge change from upstream linux kernel submitted by OpenBSD: 2014-07-21 19:33:08 +00:00
ttm drm: fix usage of vm_phys_fictitious_to_vm_page 2014-08-06 17:45:59 +00:00
ati_pcigart.c drm/radeon: Import the Radeon KMS driver 2013-08-25 19:37:15 +00:00
drm_agpsupport.c
drm_atomic.h Fix the incomplete conversion from atomic_t to long for test_bit(). 2013-08-29 20:51:12 +00:00
drm_auth.c
drm_buffer.c drm: Import drm_buffer.[ch] from Linux 3.8-rc3 2013-08-24 16:14:20 +00:00
drm_buffer.h drm: Import drm_buffer.[ch] from Linux 3.8-rc3 2013-08-24 16:14:20 +00:00
drm_bufs.c
drm_context.c Fix atomic operations on context_flag without altering semantics. 2013-08-29 18:36:47 +00:00
drm_core.h drm: Call drm_global_init() & drm_global_release() at module load/unload 2013-08-24 15:47:15 +00:00
drm_crtc_helper.c
drm_crtc_helper.h drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
drm_crtc.c drm: Initialize "handle" to 0 before calling drm_gem_handle_create() 2013-11-08 22:44:46 +00:00
drm_crtc.h drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks 2013-08-24 16:50:47 +00:00
drm_dma.c
drm_dp_helper.c drm: Import drm_dp_helper.c from Linux 3.8-rc3 2013-08-24 23:38:57 +00:00
drm_dp_helper.h drm: Import drm_dp_helper.c from Linux 3.8-rc3 2013-08-24 23:38:57 +00:00
drm_dp_iic_helper.c Revert r268543. 2014-07-12 06:23:42 +00:00
drm_drawable.c
drm_drv.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
drm_edid_modes.h
drm_edid.c Revert r268543. 2014-07-12 06:23:42 +00:00
drm_edid.h
drm_fb_helper.c Remove #ifdef-s to reduce difference to upstream. 2014-07-22 08:52:49 +00:00
drm_fb_helper.h
drm_fixed.h drm: Import drm_fixed.h from Linux 3.8 2013-08-25 12:27:15 +00:00
drm_fops.c
drm_fourcc.h
drm_gem_names.c drm: In drm_gem_name_create(), verify argument before acquiring lock 2013-08-25 10:04:10 +00:00
drm_gem_names.h
drm_gem.c drm: Use the new drm_atomic.h, following the merge of projects/atomic64 2013-08-25 15:38:16 +00:00
drm_global.c drm: Fix a call to free(9) with an incorrect malloc type 2013-03-08 18:11:02 +00:00
drm_global.h Import the drm_global references helpers. 2013-03-05 09:27:21 +00:00
drm_hashtab.c
drm_hashtab.h
drm_internal.h
drm_ioc32.c
drm_ioctl.c drm: Support DRM_CAP_TIMESTAMP_MONOTONIC capability 2013-11-17 16:07:52 +00:00
drm_irq.c Fix a compiler warning. With this fix, a negative time can be converted to 2013-08-28 22:57:49 +00:00
drm_linux_list_sort.c drm: Fix build with gcc, broken with r258549 2013-11-25 15:01:59 +00:00
drm_linux_list.h drm: Import list_for_each_entry_safe_from() macro 2013-08-25 10:28:02 +00:00
drm_lock.c
drm_memory.c
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.h Merge VT(9) project (a.k.a. newcons). 2013-12-05 22:38:53 +00:00
drm_pci.c Add missing calls to bus_dmamap_unload() when freeing static DMA 2014-06-13 18:20:44 +00:00
drm_pciids.h drm: Update drm_pciids.h based on Linux 3.8 2013-08-25 12:20:57 +00:00
drm_sarea.h Remove ia64. 2014-07-07 00:27:09 +00:00
drm_scatter.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
drm_sman.c
drm_sman.h
drm_stub.c
drm_sysctl.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
drm_vm.c
drm.h Remove ia64. 2014-07-07 00:27:09 +00:00
drmP.h Disable error message about failed attempt to attach fbd when drm2 built with 2013-12-10 15:53:00 +00:00