Skip to content

Commit 1e28fbf

Browse files
swatish2-linuxhogander
authored andcommitted
drm/i915/dsc: Expose dsc sink max slice count via debugfs
Number of DSC slices can be shown in the DSC debugfs so that test can take a call whether the configuration can support forcing bigjoiner/ultrajoiner. v2: used intel_dp_is_edp() as the parameter to drm_dp_dsc_sink_max_slice_count() (Jani N) Reviewed-by: Nemesa Garg <nemesa.garg@intel.com> (v1) Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3387 Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241213093008.2149452-1-swati2.sharma@intel.com
1 parent 3e10457 commit 1e28fbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/i915/display/intel_display_debugfs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,8 @@ static int i915_dsc_fec_support_show(struct seq_file *m, void *data)
10151015
DP_DSC_YCbCr444)));
10161016
seq_printf(m, "DSC_Sink_BPP_Precision: %d\n",
10171017
drm_dp_dsc_sink_bpp_incr(connector->dp.dsc_dpcd));
1018+
seq_printf(m, "DSC_Sink_Max_Slice_Count: %d\n",
1019+
drm_dp_dsc_sink_max_slice_count((connector->dp.dsc_dpcd), intel_dp_is_edp(intel_dp)));
10181020
seq_printf(m, "Force_DSC_Enable: %s\n",
10191021
str_yes_no(intel_dp->force_dsc_en));
10201022
if (!intel_dp_is_edp(intel_dp))

0 commit comments

Comments
 (0)