]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit859578972e3a08c525606778f34a5508ac43630e
tree3a2aa0d0b7e62aca3af32b9f448b16495451f166
parent164e1a8ae6a57a8725a000dd2d226457e98a016d
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