]> 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)
commit0e4f8aee14ed36449a74dda1222a40ba92b6a113
tree66b1f9da4481be66cd2b6a5edfa5b305fb200f2c
parent7abe7bb863ea750a08bdcd85ac2b9d120bc138a7
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