commit | 0922b899f36621126d49c0d86e90fb18d572d8a1 | [log] [tgz] |
---|---|---|
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | Thu Apr 30 12:24:05 2020 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu May 28 14:00:48 2020 -0400 |
tree | c39cb076285ca9218b6672cbf97b1ec23b57754b | |
parent | 08a512d4ab2f32c6b06ea89bb8a707a66c3ec13d [diff] |
drm/amd/display: Don't pass invalid fw_bss_data pointer into DMUB srv [Why] If bss_data_size is 0 then we shouldn't be passing down fw_bss_data into the DMUB service since the region isn't really "valid." [How] Pass NULL instead if the size is 0. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Zhan Liu <Zhan.Liu@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>