Skip to content

Commit feb8846

Browse files
author
Manasi Navare
committed
drm/i915/dp: Expose force_dsc_enable through debugfs
Currently we use force_dsc_enable to force DSC from IGT, but we dont expose this value to userspace through debugfs. This patch exposes this through the same dsc_fec_support debugfs node per connector so that we can restore its value back after the tests are completed. Suggested-by: Imre Deak <[email protected]> Cc: Imre Deak <[email protected]> Cc: Lyude Paul <[email protected]> Cc: Anusha Srivatsa <[email protected]> Signed-off-by: Manasi Navare <[email protected]> Reviewed-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 8455dad commit feb8846

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/i915/i915_debugfs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4822,6 +4822,8 @@ static int i915_dsc_fec_support_show(struct seq_file *m, void *data)
48224822
yesno(crtc_state->dsc_params.compression_enable));
48234823
seq_printf(m, "DSC_Sink_Support: %s\n",
48244824
yesno(drm_dp_sink_supports_dsc(intel_dp->dsc_dpcd)));
4825+
seq_printf(m, "Force_DSC_Enable: %s\n",
4826+
yesno(intel_dp->force_dsc_en));
48254827
if (!intel_dp_is_edp(intel_dp))
48264828
seq_printf(m, "FEC_Sink_Support: %s\n",
48274829
yesno(drm_dp_sink_supports_fec(intel_dp->fec_capable)));

0 commit comments

Comments
 (0)