]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amd/display: Do full modeset when DSC debugfs is changed
authorEryk Brol <eryk.brol@amd.com>
Thu, 19 Nov 2020 21:48:57 +0000 (16:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 21:03:46 +0000 (16:03 -0500)
commit115a385c08d8d1874b3496d134cba0cc218f0fda
tree4d1c8bc250ab4f7206079c313972bf80407f6ac2
parentd0274aba24bf98aad04beb917dea4fbe45659a79
drm/amd/display: Do full modeset when DSC debugfs is changed

[Why]
Whenever DSC parameters are changed we need to perform full modeset to commit
DSC changes to DC.

[How]
If dsc_force_changed is set, need to set mode_changed on new CRTC state

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-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