linux/drivers/gpu/drm/amd/display/amdgpu_dm
Victor Lu 3d4e52d0cf drm/amd/display: Add debugfs for forcing stream timing sync
[why]
There's currently no method to enable multi-stream synchronization from
userspace and we don't check the VSDB bits to know whether or not
specific displays should have the feature enable.

[how]
Add a debugfs entry that controls a new DM debug option,
"force_timing_sync". This debug option will set on any newly created
stream following the change to the debug option.
Expose a new interface from DC that performs the timing sync and a helper
to the "force_timing_sync" debugfs that iterates over the current streams
and modifies the current synchornization state and grouping.

Example usage to force a resync (from an X based desktop):

echo 1 > /sys/kernel/debug/dri/0/amdgpu_dm_force_timing_sync
xset dpms force off && xset dpms force on

Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Aurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-04 17:29:28 -04:00
..
amdgpu_dm.c drm/amd/display: Add debugfs for forcing stream timing sync 2020-08-04 17:29:28 -04:00
amdgpu_dm.h drm/amd/display: Add debugfs for forcing stream timing sync 2020-08-04 17:29:28 -04:00
amdgpu_dm_color.c drm/amd/display: change global buffer to local buffer 2020-07-01 01:59:21 -04:00
amdgpu_dm_crc.c
amdgpu_dm_crc.h
amdgpu_dm_debugfs.c drm/amd/display: Add debugfs for forcing stream timing sync 2020-08-04 17:29:28 -04:00
amdgpu_dm_debugfs.h
amdgpu_dm_hdcp.c drm/amdgpu/display: Unlock mutex on error 2020-07-01 01:59:26 -04:00
amdgpu_dm_hdcp.h drm/amd/display: Add sysfs interface for set/get srm 2020-02-06 15:04:36 -05:00
amdgpu_dm_helpers.c drm/amd/display: Add DCN3 Support in DM (v2) 2020-07-01 01:59:15 -04:00
amdgpu_dm_irq.c
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: DSC Bit target rate debugfs write entry 2020-08-04 17:29:27 -04:00
amdgpu_dm_mst_types.h drm/amdgpu/display: create fake mst encoders ahead of time (v4) 2020-07-10 17:50:00 -04:00
amdgpu_dm_pp_smu.c drm/amdgpu/display: properly guard the calls to swSMU functions 2020-07-01 01:59:23 -04:00
amdgpu_dm_services.c drm/amd/display: Handle persistence in DM 2020-05-28 14:00:47 -04:00
amdgpu_dm_trace.h
Makefile