mirror_ubuntu-kernels/drivers/gpu/drm/amd/amdgpu
Arnd Bergmann e8411302b4 drm/amdgpu: fix warning on older gcc releases
gcc-4.8 warns about '{0}' being used an an initializer for nested structures:

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function ‘gfx_v8_0_ring_emit_ce_meta_init’:
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:7263:2: warning: missing braces around initializer [-Wmissing-braces]
  } ce_payload = {0};
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function ‘gfx_v8_0_ring_emit_de_meta_init’:
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:7290:2: warning: missing braces around initializer [-Wmissing-braces]
  } de_payload = {0};

Using an empty {} initializer however has the same effect and works on all versions.

Fixes: acad2b2a7b ("drm/amdgpu:implement CE/DE meta-init routines")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-02-16 12:19:52 -05:00
..
amdgpu_acp.c
amdgpu_acp.h
amdgpu_acpi.c
amdgpu_afmt.c
amdgpu_amdkfd_gfx_v7.c
amdgpu_amdkfd_gfx_v8.c
amdgpu_amdkfd.c
amdgpu_amdkfd.h
amdgpu_atombios.c
amdgpu_atombios.h
amdgpu_atpx_handler.c
amdgpu_benchmark.c
amdgpu_bios.c
amdgpu_bo_list.c
amdgpu_cgs.c drm/amd/powerplay: add kicker flag into smumgr 2017-02-16 11:43:11 -05:00
amdgpu_connectors.c
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: report the number of bytes moved at buffer creation 2017-02-09 11:29:44 -05:00
amdgpu_ctx.c
amdgpu_device.c
amdgpu_display.c
amdgpu_dpm.c
amdgpu_dpm.h
amdgpu_drv.c
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c
amdgpu_fence.c
amdgpu_gart.c
amdgpu_gds.h
amdgpu_gem.c drm/amdgpu: use amdgpu_gem_va_check() in amdgpu_gem_va_update_vm() 2017-02-10 12:07:33 -05:00
amdgpu_gfx.c
amdgpu_gfx.h
amdgpu_gtt_mgr.c
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c
amdgpu_irq.h
amdgpu_job.c
amdgpu_kms.c
amdgpu_mn.c
amdgpu_mode.h
amdgpu_object.c drm/amdgpu: report the number of bytes moved at buffer creation 2017-02-09 11:29:44 -05:00
amdgpu_object.h
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amdgpu/pm: check for headless before calling compute_clocks 2017-02-10 18:09:32 -05:00
amdgpu_pm.h
amdgpu_powerplay.c
amdgpu_powerplay.h
amdgpu_prime.c
amdgpu_ring.c
amdgpu_ring.h
amdgpu_sa.c
amdgpu_sync.c
amdgpu_sync.h
amdgpu_test.c
amdgpu_trace_points.c
amdgpu_trace.h
amdgpu_ttm.c
amdgpu_ttm.h
amdgpu_ucode.c
amdgpu_ucode.h
amdgpu_uvd.c
amdgpu_uvd.h
amdgpu_vce.c
amdgpu_vce.h
amdgpu_virt.c drm/amdgpu/virt: fix double kfree on bo_va 2017-02-08 21:06:00 -05:00
amdgpu_virt.h
amdgpu_vm.c
amdgpu_vm.h
amdgpu_vram_mgr.c
amdgpu.h drm/amdgpu: read hw register to check pg status. 2017-02-13 12:43:04 -05:00
atom.c
atom.h
atombios_crtc.c
atombios_crtc.h
atombios_dp.c
atombios_dp.h
atombios_encoders.c
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
ci_dpm.c
ci_dpm.h
ci_smc.c
cik_dpm.h
cik_ih.c
cik_ih.h
cik_sdma.c
cik_sdma.h
cik.c
cik.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_si.h
clearstate_vi.h
cz_ih.c
cz_ih.h
dce_v6_0.c
dce_v6_0.h
dce_v8_0.c
dce_v8_0.h
dce_v10_0.c
dce_v10_0.h
dce_v11_0.c drm/amdgpu: add more cases to DCE11 possible crtc mask setup 2017-02-10 12:07:33 -05:00
dce_v11_0.h
dce_virtual.c
dce_virtual.h
gfx_v6_0.c drm/amd/gfx6: update gb_addr_config 2017-02-08 17:25:19 -05:00
gfx_v6_0.h
gfx_v7_0.c drm/amdgpu: Initialize pipe priority order on graphic initialization 2017-02-13 15:08:33 -05:00
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu: fix warning on older gcc releases 2017-02-16 12:19:52 -05:00
gfx_v8_0.h
gmc_v6_0.c
gmc_v6_0.h
gmc_v7_0.c
gmc_v7_0.h
gmc_v8_0.c
gmc_v8_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
Kconfig
kv_dpm.c
kv_dpm.h
kv_smc.c
Makefile
mxgpu_vi.c
mxgpu_vi.h
ObjectID.h
ppsmc.h
r600_dpm.h
sdma_v2_4.c
sdma_v2_4.h
sdma_v3_0.c
sdma_v3_0.h
si_dma.c
si_dma.h
si_dpm.c
si_dpm.h
si_enums.h drm/amdgpu: update HAINAN_GB_ADDR_CONFIG_GOLDEN 2017-02-08 17:25:02 -05:00
si_ih.c
si_ih.h
si_smc.c
si.c drm/amdgpu: refine si_read_register 2017-02-08 17:24:26 -05:00
si.h
sid.h
sislands_smc.h
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.h
uvd_v4_2.c drm/amd/amdgpu: Fix flow control in uvd_v4_2_stop() 2017-02-16 11:43:44 -05:00
uvd_v4_2.h
uvd_v5_0.c drm/amdgpu: read hw register to check pg status. 2017-02-13 12:43:04 -05:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu: read hw register to check pg status. 2017-02-13 12:43:04 -05:00
uvd_v6_0.h
vce_v2_0.c drm/amdgpu: move subfunctions to the front of vce_v2_0.c. 2017-02-08 17:23:03 -05:00
vce_v2_0.h
vce_v3_0.c drm/amdgpu: read hw register to check pg status. 2017-02-13 12:43:04 -05:00
vce_v3_0.h
vi_dpm.h
vi.c
vi.h
vid.h