opnsense-src/sys/dev/drm2
Dimitry Andric a0e8aab7d8 Fix build of i915kms with base gcc
Base gcc fails to compile sys/dev/drm2/i915/intel_display.c for i386,
with the following -Werror warnings:

cc1: warnings being treated as errors
/usr/src/sys/dev/drm2/i915/intel_display.c:8884: warning:
initialization from incompatible pointer type

This is due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36432, which
incorrectly interprets the [] as a flexible array member.

Because base gcc does not have a -W flag to suppress this particular
warning, it requires a rather ugly cast.  To not influence any other
compiler, put it in a #if/#endif block.

Reviewed by:	kib
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D15744
2018-06-11 08:11:35 +00:00
..
i915 Fix build of i915kms with base gcc 2018-06-11 08:11:35 +00:00
radeon Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ttm vm_wait() rework. 2018-02-20 10:13:13 +00:00
ati_pcigart.c
drm.h
drm_agpsupport.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
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 Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
drm_context.c
drm_core.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_crtc_helper.c
drm_crtc_helper.h
drm_dma.c Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
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 Really revert 312923 this time 2017-01-28 16:40:51 +00:00
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_edid_modes.h
drm_fb_helper.c Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +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.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_gem_names.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_gem_names.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
drm_ioctl.c
drm_irq.c
drm_linux_list.h drm/i915: Update to match Linux 3.8.13 2016-03-08 20:33:02 +00:00
drm_linux_list_sort.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +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 drm2: Basic use of mallocarray(9). 2018-01-22 15:55:51 +00:00
drm_memory.c Allow DRM2 code to be built on platforms without AGP. 2016-11-13 13:31:23 +00:00
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_os_freebsd.h Really revert 312923 this time 2017-01-28 16:40:51 +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 drm2: Add some missing PCIIDs for some Haswell systems 2017-04-13 01:56:15 +00:00
drm_platform.c Import drm_patform.c, an implementation of non-PCI based attachment 2016-12-26 14:28:23 +00:00
drm_sarea.h
drm_scatter.c Use atop() instead of OFF_TO_IDX() for convertion of addresses or 2017-03-14 19:39:17 +00:00
drm_stub.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_sysctl.c
drm_vm.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
drmP.h Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00