OSDN Git Service

drm/amd/display: fix dcn3 p_state_change_support validation (v2)
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 30 Jun 2020 14:20:06 +0000 (10:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jul 2020 18:37:33 +0000 (14:37 -0400)
commit16a8cb7cc557f980aae19d1b7140713939fa9644
tree66b1f9da4481be66cd2b6a5edfa5b305fb200f2c
parent1f9ce3cf18ed441a0df8f2447c6f9d6556780415
drm/amd/display: fix dcn3 p_state_change_support validation (v2)

Our validation is a known mess with actual validation mixed with
topology configuration. This change makes sure topolgical validation is
completed before any topology changes are made so we do not run into
issues where we merge and split a pipe over the course of a single call.

v2: Squash in compilation fix

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h