linux/drivers/gpu/drm/amd/display/amdgpu_dm
Eryk Brol 0749ddeb7d drm/amd/display: Add DSC force disable to dsc_clock_en debugfs entry
[why]
For debug purposes we want not to enable DSC on certain connectors
even if algorithm deesires to do so, instead it should enable DSC
on other capable connectors or fail the atomic check.

[how]
Adding the third option to connector's debugfs entry dsc_clock_en.

Accepted inputs:
     0x0 - connector is using default DSC enablement policy
     0x1 - force enable DSC on the connector, if it supports DSC
     0x2 - force disable DSC on the connector, if DSC is supported

Ex. # echo 0x2 > /sys/kernel/debug/dri/0/DP-1/dsc_clock_en

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>
2020-09-15 17:52:41 -04:00
..
amdgpu_dm_color.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
amdgpu_dm_crc.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
amdgpu_dm_crc.h
amdgpu_dm_debugfs.c drm/amd/display: Add DSC force disable to dsc_clock_en debugfs entry 2020-09-15 17:52:41 -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_params.h drm/amd/display: Refactor to prevent crtc state access in DM IRQ handler 2020-09-15 17:52:39 -04:00
amdgpu_dm_irq.c drm/amdgpu: Get DRM dev from adev by inline-f 2020-08-24 13:06:06 -04:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Add DSC force disable to dsc_clock_en debugfs entry 2020-09-15 17:52:41 -04:00
amdgpu_dm_mst_types.h drm/amdgpu/display: create fake mst encoders ahead of time (v4) 2020-07-14 15:11:07 -04:00
amdgpu_dm_pp_smu.c drm/amdgpu: drop BOOLEAN define in display part 2020-09-15 17:52:40 -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
amdgpu_dm.c drm/amd/display: Add DSC force disable to dsc_clock_en debugfs entry 2020-09-15 17:52:41 -04:00
amdgpu_dm.h drm/amd/display: Add DSC force disable to dsc_clock_en debugfs entry 2020-09-15 17:52:41 -04:00
Makefile