drm/amd/display: Don't return false if no stream
authorAlvin Lee <Alvin.Lee2@amd.com>
Thu, 6 Oct 2022 21:26:49 +0000 (17:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Oct 2022 18:34:47 +0000 (14:34 -0400)
commit27fcf77830d0e8af53cd562909ff37aa3ec345dd
treebe538e16de96b6c4d19bb66296999e10cf87066d
parent345b16961afe0deae8633ce10dbff46c7e64e35f
drm/amd/display: Don't return false if no stream

pipe_ctx[i] exists even if the pipe is not
in use. If the pipe is not in use it will
always have a null stream, so don't return
false in this case.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c