drm/amd/display: Fix subvp+drr logic errors
authorAlvin Lee <alvin.lee2@amd.com>
Mon, 11 Dec 2023 18:20:02 +0000 (13:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jan 2024 15:31:06 +0000 (10:31 -0500)
commit8a0f02b7beed7b2b768dbdf3b79960de68f460c5
tree4beb5d8b74552d76eeb5b8e4b62ebf7ac99c0da4
parenta32c6f7f5737cc7e31cd7ad5133f0d96fca12ea6
drm/amd/display: Fix subvp+drr logic errors

[Why]
There is some logic error where the wrong variable was used to check for
OTG_MASTER and DPP_PIPE.

[How]
Add booleans to confirm that the expected pipes were found before
validating schedulability.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Reviewed-by: Samson Tam <samson.tam@amd.com>
Reviewed-by: Chaitanya Dhere <chaitanya.dhere@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/dml/dcn32/dcn32_fpu.c