]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit439423bd80f8ecc1587e917bb17ef5ee8ef19863
tree66b1f9da4481be66cd2b6a5edfa5b305fb200f2c
parentde1414632bec5291cde3af1f5697ed90cbe1b38c
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