OSDN Git Service

drm/amd/display: Add connector to the state if DSC debugfs is set
authorEryk Brol <eryk.brol@amd.com>
Thu, 27 Aug 2020 21:13:57 +0000 (17:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:42 +0000 (17:52 -0400)
commitc44a22b3128d143a66421004b728eed688c21ee6
tree64d54822baf02bbaa3e997a51a83b87909c7e78c
parent28b2f656d3ae27e85a3ac312876d1f3114a2463d
drm/amd/display: Add connector to the state if DSC debugfs is set

[why]
We want to trigger atomic check on connector, which DSC debugfs
properties have changed.

[how]
Add a helper function that iterates through all active connectors
and add them to the state if DSC debugfs parameters have changed.

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c