Skip to contentSkip to conversation

Expose dsc sink max slice count via debugfs

PATCH In review Swati Sharma 3 participants 5 messages Dec 10, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Expose dsc sink max slice count via debugfs

Expose dsc sink max slice count via i915_dsc_fec_support debugfs. This debugfs entry is required in cases, where sink doesn't support minimum of 8 slices in case of ultrajoiner and minimum of 4 slices in case of big joiner.

Test-with: [email protected]

Swati Sharma (1):
drm/i915/dsc: Expose dsc sink max slice count via debugfs

 drivers/gpu/drm/i915/display/intel_display_debugfs.c | 6 ++++++
 1 file changed, 6 insertions(+)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 drm/i915/dsc: Expose dsc sink max slice count via debugfs

Expose dsc sink max slice count via i915_dsc_fec_support debugfs. This debugfs entry is required in cases, where sink doesn't support minimum of 8 slices in case of ultrajoiner and minimum of 4 slices in case of big joiner.

---
 drivers/gpu/drm/i915/display/intel_display_debugfs.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +6 -0
index 3eb7565cd83c..4823d27cafb5 100644
@@ -1013,6 +1013,12 @@ static int i915_dsc_fec_support_show(struct seq_file *m, void *data)
 								      DP_DSC_YCbCr444)));
 		seq_printf(m, "DSC_Sink_BPP_Precision: %d\n",
 			   drm_dp_dsc_sink_bpp_incr(connector->dp.dsc_dpcd));
+		if (intel_dp_is_edp(intel_dp))
+			seq_printf(m, "DSC_Sink_Max_Slice_Count: %d\n",
+				   drm_dp_dsc_sink_max_slice_count((connector->dp.dsc_dpcd), true));
+		else
+			seq_printf(m, "DSC_Sink_Max_Slice_Count: %d\n",
+				   drm_dp_dsc_sink_max_slice_count((connector->dp.dsc_dpcd), false));
 		seq_printf(m, "Force_DSC_Enable: %s\n",
 			   str_yes_no(intel_dp->force_dsc_en));
 		if (!intel_dp_is_edp(intel_dp))
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#2 lore raw

RE: [PATCH 1/1] drm/i915/dsc: Expose dsc sink max slice count via debugfs

Quoted 41 lines

-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Swati Sharma
Sent: Tuesday, December 10, 2024 7:36 PM
To: [email protected]
Cc: Nautiyal, Ankit K <[email protected]>; Sharma, Swati2 <[email protected]>
Subject: [PATCH 1/1] drm/i915/dsc: Expose dsc sink max slice count via debugfs

Expose dsc sink max slice count via i915_dsc_fec_support debugfs. This debugfs entry is required in cases, where sink doesn't support minimum of 8 slices in case of ultrajoiner and minimum of 4 slices in case of big joiner.

---
 drivers/gpu/drm/i915/display/intel_display_debugfs.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +3 -0
index 3eb7565cd83c..4823d27cafb5 100644
@@ -1013,6 +1013,12 @@ static int i915_dsc_fec_support_show(struct
 seq_file *m, void *data)
 
 DP_DSC_YCbCr444)));
 		seq_printf(m, "DSC_Sink_BPP_Precision: %d\n",
 			   drm_dp_dsc_sink_bpp_incr(connector-
 >dp.dsc_dpcd));
+		if (intel_dp_is_edp(intel_dp))
+			seq_printf(m, "DSC_Sink_Max_Slice_Count: %d\n",
+

drm_dp_dsc_sink_max_slice_count((connector->dp.dsc_dpcd), true));

drivers/gpu/drm/i915/display/intel_display_debugfs.c +3 -0
+		else
+			seq_printf(m, "DSC_Sink_Max_Slice_Count: %d\n",
+
Quoted 2 lines

drm_dp_dsc_sink_max_slice_count((connector->dp.dsc_dpcd), +false));

LGTM,

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +0 -1
 		seq_printf(m, "Force_DSC_Enable: %s\n",
 			   str_yes_no(intel_dp->force_dsc_en));
 		if (!intel_dp_is_edp(intel_dp))
--

2.25.1

#3 lore raw

✗ Fi.CI.CHECKPATCH: warning for Expose dsc sink max slice count via debugfs

In reply to Swati Sharma
== Series Details ==

== Series Details ==

Series: Expose dsc sink max slice count via debugfs
URL : https://patchwork.freedesktop.org/series/142354/
State : warning

== Summary ==

Error: dim checkpatch failed
06d13d827dc9 drm/i915/dsc: Expose dsc sink max slice count via debugfs -:27: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #27: FILE: drivers/gpu/drm/i915/display/intel_display_debugfs.c:1021:
+ drm_dp_dsc_sink_max_slice_count((connector->dp.dsc_dpcd), false));

total: 0 errors, 1 warnings, 0 checks, 12 lines checked

#4 lore raw

✗ i915.CI.BAT: failure for Expose dsc sink max slice count via debugfs

In reply to Swati Sharma
== Series Details ==

== Series Details ==

Series: Expose dsc sink max slice count via debugfs
URL : https://patchwork.freedesktop.org/series/142354/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_15814 -> Patchwork_142354v1
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_142354v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_142354v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/index.html

Participating hosts (45 -> 44)
------------------------------

Missing (1): fi-snb-2520m

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_142354v1:

### IGT changes ###

#### Possible regressions ####

* igt@kms_flip@basic-flip-vs-dpms@b-dp2:
- fi-cfl-8109u: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/fi-cfl-8109u/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/fi-cfl-8109u/igt@kms_flip@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc@pipe-a-dp-1:
- fi-kbl-7567u: [PASS][3] -> [DMESG-WARN][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/fi-kbl-7567u/igt@kms_pipe_crc_basic@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/fi-kbl-7567u/igt@kms_pipe_crc_basic@[email protected]

Known issues
------------

Here are the changes found in Patchwork_142354v1 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@late_gt_pm:
- fi-cfl-8109u: [PASS][5] -> [DMESG-WARN][6] ([i915#11621]) +130 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/fi-cfl-8109u/igt@i915_selftest@live@late_gt_pm.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/fi-cfl-8109u/igt@i915_selftest@live@late_gt_pm.html

* igt@kms_flip@basic-flip-vs-dpms@c-dp2:
- fi-cfl-8109u: [PASS][7] -> [DMESG-WARN][8] ([i915#11621] / [i915#12914]) +1 other test dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/fi-cfl-8109u/igt@kms_flip@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/fi-cfl-8109u/igt@kms_flip@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc@pipe-c-dp-1:
- fi-kbl-7567u: [PASS][9] -> [DMESG-WARN][10] ([i915#12926]) +1 other test dmesg-warn
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/fi-kbl-7567u/igt@kms_pipe_crc_basic@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/fi-kbl-7567u/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: [PASS][11] -> [SKIP][12] ([i915#9197]) +2 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/bat-dg2-11/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/bat-dg2-11/igt@[email protected]

#### Possible fixes ####

* igt@i915_module_load@load:
- bat-adlp-6: [DMESG-WARN][13] ([i915#12253]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/bat-adlp-6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/bat-adlp-6/igt@[email protected]

* igt@i915_selftest@live:
- bat-mtlp-8: [ABORT][15] ([i915#12061]) -> [PASS][16] +1 other test pass
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/bat-mtlp-8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/bat-mtlp-8/igt@[email protected]

* igt@i915_selftest@live@workarounds:
- {bat-mtlp-9}: [ABORT][17] ([i915#12061]) -> [PASS][18] +1 other test pass
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15814/bat-mtlp-9/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/bat-mtlp-9/igt@i915_selftest@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[i915#11621]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11621
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#12253]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12253
[i915#12914]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12914
[i915#12926]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12926
[i915#9197]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9197

Build changes
-------------

* Linux: CI_DRM_15814 -> Patchwork_142354v1

CI-20190529: 20190529
CI_DRM_15814: 6966a52cb5531bf6cc785fadba160a71cd31e7aa @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8146: 4134194b806f286bf0bf47ce02416ca3701b7b34 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_142354v1: 6966a52cb5531bf6cc785fadba160a71cd31e7aa @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142354v1/index.html