diff options
author | 2024-06-27 11:51:27 -0600 | |
---|---|---|
committer | 2024-07-23 17:07:11 -0400 | |
commit | 5559598742fb4538e4c51c48ef70563c49c2af23 (patch) | |
tree | 5cb8b2e5b1912d76e829bf9218c9000425323256 /drivers/gpu/drm/amd/display/amdgpu_dm | |
parent | drm/amd/display: Check phantom_stream before it is used (diff) | |
download | wireguard-linux-5559598742fb4538e4c51c48ef70563c49c2af23.tar.xz wireguard-linux-5559598742fb4538e4c51c48ef70563c49c2af23.zip |
drm/amd/display: Pass non-null to dcn20_validate_apply_pipe_split_flags
[WHAT & HOW]
"dcn20_validate_apply_pipe_split_flags" dereferences merge, and thus it
cannot be a null pointer. Let's pass a valid pointer to avoid null
dereference.
This fixes 2 FORWARD_NULL issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm')
0 files changed, 0 insertions, 0 deletions