drm/amd/display: fix compliler errors [-Werror,-Wmissing-braces]
authorShirish S <shirish.s@amd.com>
Thu, 20 Dec 2018 10:38:02 +0000 (16:08 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:45 +0000 (15:04 -0500)
commit785fd44c251c08c1490e20daec604f0f924dd7fc
treeb4c204a633310ad0a050498c6c20bd9dc65c6d5b
parentb187af3709131f0530995b1abb9da4c18026417b
drm/amd/display: fix compliler errors [-Werror,-Wmissing-braces]

Initializing structures with { } is known to be problematic since
it doesn't necessararily initialize all bytes, in case of padding,
causing random failures when structures are memcmp().

This patch fixes the structure initialisation related compiler
error by memset.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c