opnsense-src/sys/dev/drm
Hans Petter Selasky 3da1cf1e88 Extend the meaning of the CTLFLAG_TUN flag to automatically check if
there is an environment variable which shall initialize the SYSCTL
during early boot. This works for all SYSCTL types both statically and
dynamically created ones, except for the SYSCTL NODE type and SYSCTLs
which belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added to
be used in the case a tunable sysctl has a custom initialisation
function allowing the sysctl to still be marked as a tunable. The
kernel SYSCTL API is mostly the same, with a few exceptions for some
special operations like iterating childrens of a static/extern SYSCTL
node. This operation should probably be made into a factored out
common macro, hence some device drivers use this. The reason for
changing the SYSCTL API was the need for a SYSCTL parent OID pointer
and not only the SYSCTL parent OID list pointer in order to quickly
generate the sysctl path. The motivation behind this patch is to avoid
parameter loading cludges inside the OFED driver subsystem. Instead of
adding special code to the OFED driver subsystem to post-load tunables
into dynamically created sysctls, we generalize this in the kernel.

Other changes:
- Corrected a possibly incorrect sysctl name from "hw.cbb.intr_mask"
to "hw.pcic.intr_mask".
- Removed redundant TUNABLE statements throughout the kernel.
- Some minor code rewrites in connection to removing not needed
TUNABLE statements.
- Added a missing SYSCTL_DECL().
- Wrapped two very long lines.
- Avoid malloc()/free() inside sysctl string handling, in case it is
called to initialize a sysctl from a tunable, hence malloc()/free() is
not ready when sysctls from the sysctl dataset are registered.
- Bumped FreeBSD version to indicate SYSCTL API change.

MFC after:	2 weeks
Sponsored by:	Mellanox Technologies
2014-06-27 16:33:43 +00:00
..
ati_pcigart.c Add missing calls to bus_dmamap_unload() when freeing static DMA 2014-06-13 18:20:44 +00:00
drm.h
drm_agpsupport.c Do a sweep of the tree replacing calls to pci_find_extcap() with calls to 2011-03-23 13:10:15 +00:00
drm_atomic.h
drm_auth.c
drm_bufs.c
drm_context.c
drm_dma.c
drm_drawable.c
drm_drv.c Extend the meaning of the CTLFLAG_TUN flag to automatically check if 2014-06-27 16:33:43 +00:00
drm_fops.c Streamline use of cdevpriv and correct some corner cases. 2012-08-15 16:19:39 +00:00
drm_hashtab.c Address some WITNESS panics that occur when using the via driver. 2010-04-23 14:48:30 +00:00
drm_hashtab.h
drm_internal.h
drm_ioctl.c
drm_irq.c fix atomic_set_xxx misuse in drm 2010-12-11 10:18:05 +00:00
drm_linux_list.h
drm_lock.c
drm_memory.c Make drm(4) build, if not work reliably, on PowerPC. 2010-11-16 03:43:06 +00:00
drm_mm.c Address some WITNESS panics that occur when using the via driver. 2010-04-23 14:48:30 +00:00
drm_mm.h
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 Add support for ATI Radeon HD 4250. 2010-08-03 16:30:56 +00:00
drm_sarea.h
drm_scatter.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
drm_sman.c Address some WITNESS panics that occur when using the via driver. 2010-04-23 14:48:30 +00:00
drm_sman.h
drm_sysctl.c Extend the meaning of the CTLFLAG_TUN flag to automatically check if 2014-06-27 16:33:43 +00:00
drm_vm.c
drmP.h Back out r261266 pending security buy-in. 2014-01-31 17:39:51 +00:00
i915_dma.c
i915_drm.h
i915_drv.c
i915_drv.h Do not define bool/true/false if the symbols already exist. 2011-12-12 18:43:24 +00:00
i915_irq.c
i915_mem.c
i915_reg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
i915_suspend.c
mach64_dma.c In sys/dev/drm/mach64_dma.c, remove static function mach64_set_dma_eol(), 2013-12-26 00:11:19 +00:00
mach64_drm.h
mach64_drv.c
mach64_drv.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
mach64_irq.c
mach64_state.c
mga_dma.c
mga_drm.h
mga_drv.c
mga_drv.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
mga_irq.c
mga_state.c
mga_ucode.h
mga_warp.c
r128_cce.c
r128_drm.h
r128_drv.c
r128_drv.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r128_irq.c
r128_state.c
r300_cmdbuf.c
r300_reg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r600_blit.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
r600_cp.c Now that we properly set write-combining on the pages that back the GART, 2010-04-22 18:47:30 +00:00
r600_microcode.h
radeon_cp.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
radeon_cs.c Make drm(4) build, if not work reliably, on PowerPC. 2010-11-16 03:43:06 +00:00
radeon_drm.h
radeon_drv.c
radeon_drv.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
radeon_irq.c
radeon_mem.c
radeon_microcode.h
radeon_state.c In sys/dev/drm/radeon_state.c, use the correct printf length modifiers 2011-12-30 02:07:50 +00:00
savage_bci.c
savage_drm.h
savage_drv.c
savage_drv.h
savage_state.c
sis_drm.h
sis_drv.c
sis_drv.h
sis_ds.c
sis_ds.h
sis_mm.c
tdfx_drv.c
tdfx_drv.h
via_3d_reg.h
via_dma.c Cast VIA_READ to (void) where the result is unused. 2012-11-09 14:46:23 +00:00
via_dmablit.c - Modify vm_page_unwire() and vm_page_enqueue() to directly accept 2014-06-16 18:15:27 +00:00
via_dmablit.h
via_drm.h
via_drv.c
via_drv.h
via_irq.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
via_map.c
via_mm.c
via_verifier.c
via_verifier.h
via_video.c fx->lock is used as an index, correct test case. 2010-04-28 10:33:41 +00:00