drm/amd/display: Fix check for stream and plane
authorEthan Wellenreiter <Ethan.Wellenreiter@amd.com>
Fri, 19 Aug 2022 22:30:44 +0000 (18:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Aug 2022 21:09:01 +0000 (17:09 -0400)
commitd6f84bab48745ea68814d596eb476a9c11ce76ae
treea414ccfc427c23ab5c936c937f8cf1f39ae0653c
parentf5b9c1ffabce5f4acbeabd3a03fd57b3970a13fe
drm/amd/display: Fix check for stream and plane

[WHY]
Function wasn't returning false when it had a no stream

[HOW]
Made it return false when it had no stream.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Ethan Wellenreiter <Ethan.Wellenreiter@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c