aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2019-02-01 20:14:28 +0000
committerAlex Deucher <[email protected]>2019-02-06 02:15:32 +0000
commit19afd79951e6303dbe0d15293a2f66ceb4c772f6 (patch)
tree5ffed7fd5cfa7f94f3a664d91e42fc0ec1a0d665 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amd/display: Use memset to initialize variable in wait_for_training_aux_r... (diff)
downloadkernel-19afd79951e6303dbe0d15293a2f66ceb4c772f6.tar.gz
kernel-19afd79951e6303dbe0d15293a2f66ceb4c772f6.zip
drm/amd/display: Use memset to initialize variables in amdgpu_dm_atomic_commit_tail
Clang warns: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5089:60: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct dc_surface_update dummy_updates[MAX_SURFACES] = { 0 }; ^ {} Previous efforts to fix this type of warning by adding or removing braces have been met with some pushback in favor of using memset [1][2]. Do that here, mirroring commit 05794eff1aa6 ("drm/amdgpu/gmc: fix compiler errors [-Werror,-Wmissing-braces] (V2)") in this tree. [1]: https://lore.kernel.org/lkml/[email protected]/ [2]: https://lore.kernel.org/lkml/[email protected]/ Fixes: 02d6a6fcdf68 ("drm/amd/display: Simplify underscan and ABM commit") Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions