diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2020-04-30 12:24:05 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-28 14:00:48 -0400 |
commit | 0922b899f36621126d49c0d86e90fb18d572d8a1 (patch) | |
tree | c39cb076285ca9218b6672cbf97b1ec23b57754b /lib/bch.c | |
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>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions