freebsd-nq/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_agpsupport.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_atomic.h
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_helper.c
drm_crtc_helper.h
drm_crtc.c
drm_crtc.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
drm_drv.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_edid_modes.h
drm_edid.c
drm_edid.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
drm_fourcc.h
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_gem.c 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_sort.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_linux_list.h
drm_lock.c
drm_mem_util.h drm2: Basic use of mallocarray(9). 2018-01-22 15:55:51 +00:00
drm_memory.c
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_pciids.h drm2: Add some missing PCIIDs for some Haswell systems 2017-04-13 01:56:15 +00:00
drm_platform.c
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
drm.h
drmP.h Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00