drm/amd/display: Initialize dmub_rb_cmd unions to 0
authorWyatt Wood <wyatt.wood@amd.com>
Mon, 18 Jan 2021 19:51:02 +0000 (14:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:48:11 +0000 (15:48 -0500)
commit148816f93fa0db19029dc91e09ad7842251fc720
tree3a2aa0d0b7e62aca3af32b9f448b16495451f166
parent7a03fdf628af0c66ab2714278f786b7b97a2a1ac
drm/amd/display: Initialize dmub_rb_cmd unions to 0

[Why]
Since dmub_rb_cmds are not initialized to 0,
the header is filled with invalid data.
This is causing issues on the fw side.

[How]
Initialize dmub_rb_cmd unions to 0.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Josip Pavic <Josip.Pavic@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c
drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hwseq.c