On 11/24/2026 10:28 AM, Murthy, Arun R wrote:

-----Original Message-----
From: Jani Nikula <[email protected]>
Sent: Friday, November 20, 2026 7:48 PM
To: Murthy, Arun R <[email protected]>; [email protected];
[email protected]; [email protected]
Cc: Borah, Chaitanya Kumar <[email protected]>; Shankar,
Uma <[email protected]>; Kandpal, Suraj <[email protected]>;
Murthy, Arun R <[email protected]>
Subject: Re: [PATCH v5 13/13] drm/i915/dp: Enable the DP symbol TG, with a
debugfs knob to disable it

On Fri, 20 Nov 2026, Arun R Murthy <[email protected]> wrote:
Enable symbol TG for 8b/10b MST and 128b/132b SST/MST on the platforms
supporting it.

Keep a debugfs knob, enable_dp_symbol_tg, to still select the pixel
based timing generator, for the case of a sink having issues with the
symbol based one, or for debugging purpose.

Signed-off-by: Arun R Murthy <[email protected]>
---
  .../gpu/drm/i915/display/intel_display_params.h    |  6 ++++
  drivers/gpu/drm/i915/display/intel_dp.c            | 32 ++++++++++------------
  2 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_params.h
b/drivers/gpu/drm/i915/display/intel_display_params.h
index

5c5a1a1358c32a08a460bdb81da76c3682827ab9..503eef8cf744fbf802bcf86d2
5f5
81871fcc3f8c 100644
--- a/drivers/gpu/drm/i915/display/intel_display_params.h
+++ b/drivers/gpu/drm/i915/display/intel_display_params.h
@@ -56,6 +56,12 @@ struct drm_printer;
         * in intel_display_params.c on purpose. Runtime-toggle via debugfs.
         */ \
        param(bool, enable_periodic_assdp, false, 0600) \
+       /*
+        * Debugfs-only knob (per-device), to fall back to the pixel based DP
timing
+        * generator, if a sink has issues with the symbol based one. Applies to
the
+        * next modeset or mode validation.
+        */ \

I'm not really convinced about this at all, including the previous one added in
commit 9ed39b7d74b4 ("drm/i915/display: Gate periodic AS SDP skip frames
behind a debugfs knob").

The idea here is that these match 1:1 with module parameters. Everything else
probably should get added through the usual debugfs mechanisms.

Based on the review comment on v4 added the debugfs knob. Based on this 1:1 
mapping with module param I feel its better to drop the debugfs knob.


intel_display_params is not the only way to create a debugfs knob. When I said a "debugfs knob", I meant a per-device/per-connector debugfs file(I haven’t yet looked into which scope would be more appropriate).

Jani, would it make sense to force the 1:1 mapping in code instead of it being a convention that people keep breaking?

==
Chaitanya

Thanks and Regards,
Arun R Murthy
--------------------

Reply via email to