Nathan Chancellor 8daa12182a drm/amd/display: Use memset to initialize variables in fill_plane_dcc_attributes
Clang warns:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2314:38:
warning: suggest braces around initialization of subobject
[-Wmissing-braces]
        struct dc_surface_dcc_cap output = {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/022e41c0-8465-dc7a-a45c-64187ecd9684@amd.com/
[2]: https://lore.kernel.org/lkml/20181128.215241.702406654469517539.davem@davemloft.net/

Fixes: 7df7e505e82a ("drm/amd/display: Set requested plane state DCC params for GFX9")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-02-05 21:15:32 -05:00
..
2018-12-20 13:25:28 +01:00
2019-01-10 05:58:52 +10:00
2018-11-22 12:54:38 +10:00
2019-01-10 05:58:52 +10:00
2018-12-25 11:48:26 -08:00
2018-11-28 09:31:07 -08:00
2019-01-10 05:58:52 +10:00
2018-12-25 11:48:26 -08:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2018-12-17 10:51:20 +01:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2019-01-02 11:37:11 +02:00
2018-11-20 14:56:18 +01:00
2019-01-10 05:58:52 +10:00
2018-12-25 11:48:26 -08:00
2018-11-20 14:56:18 +01:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2018-10-04 11:03:34 +10:00
2018-11-30 10:57:18 +01:00