]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Update connector on DSC property change
authorEryk Brol <eryk.brol@amd.com>
Thu, 15 Oct 2020 17:07:09 +0000 (13:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:31:16 +0000 (15:31 -0500)
commit17e5fc4dafd90f08b2cf3a822e2f832041bc788d
tree12fee29f6c54dccda7a19b738b8189d1e20ac7f5
parent9795e6512185bca466f4c18afac8adf9fe044620
drm/amd/display: Update connector on DSC property change

[Why]
We want to trigger atomic check on connector when
DSC debugfs properties are changed. The previous
method was reverted because it accessed connector
properties unsafely and would also heavily
impact performance.

[How]
Add a flag for forcing DSC update in CRTC state
and add connector to the state if the flag is set.

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c