freebsd-dev/sys/dev/drm2
Enji Cooper e5619a893e Always panic if an invalid capability is passed to capable(..) instead of
just with INVARIANTS

rwatson's point was valid in the sense that if the data passed at runtime is
invalid, it should always trip the invariant, not just in the debug case.
This is a deterrent against malicious input, or input caused by hardware
errors.

MFC after: 4 days
X-MFC with: r302577
Requested by: rwatson
Sponsored by: EMC / Isilon Storage Division
2016-07-14 13:55:38 +00:00
..
i915 Remove redundant declarations for intel_fbc_enabled(..) and 2016-07-11 15:50:06 +00:00
radeon Remove redundant declaration for radeon_pm_acpi_event_handler(..) to fix 2016-07-11 15:47:43 +00:00
ttm sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ati_pcigart.c
drm_agpsupport.c
drm_atomic.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00
drm_auth.c
drm_buffer.c
drm_buffer.h
drm_bufs.c
drm_context.c
drm_core.h
drm_crtc_helper.c
drm_crtc_helper.h
drm_crtc.c drm: Revert the part of r288653 about M_WAITOK vs M_NOWAIT 2016-01-13 20:35:02 +00:00
drm_crtc.h
drm_dma.c
drm_dp_helper.c
drm_dp_helper.h
drm_dp_iic_helper.c Revert bus_get_cpus() for now. 2016-05-03 01:17:40 +00:00
drm_drv.c drm: Fix dev->ioctl_count references leak 2016-03-11 18:59:15 +00:00
drm_edid_modes.h
drm_edid.c drm2(4): Fix double-free in low-memory error path 2016-04-20 03:45:45 +00:00
drm_edid.h
drm_fb_helper.c Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
drm_fb_helper.h
drm_fixed.h
drm_fops.c drm2: a few minor fixes after r280183 2015-10-04 07:45:36 +00:00
drm_fourcc.h
drm_gem_names.c
drm_gem_names.h
drm_gem.c
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_linux_list_sort.c
drm_linux_list.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00
drm_lock.c Hide an unused in FreeBSD function behind #ifdef linux to get rid of 2015-09-22 15:32:27 +00:00
drm_mem_util.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00
drm_memory.c
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.c [drm] fix up hex_dump_to_buffer to not overflow linebuf. 2016-06-03 05:01:35 +00:00
drm_os_freebsd.h Always panic if an invalid capability is passed to capable(..) instead of 2016-07-14 13:55:38 +00:00
drm_pci.c drm: Revert the part of r288653 about M_WAITOK vs M_NOWAIT 2016-01-13 20:35:02 +00:00
drm_pciids.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00
drm_sarea.h
drm_scatter.c
drm_stub.c drm2: a few minor fixes after r280183 2015-10-04 07:45:36 +00:00
drm_sysctl.c
drm_vm.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
drm.h
drmP.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00