public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: Jani Nikula <jani.nikula@linux.intel.com>,
	<intel-gfx@lists.freedesktop.org>,
	<intel-xe@lists.freedesktop.org>
Cc: <ville.syrjala@linux.intel.com>, <arun.r.murthy@intel.com>
Subject: Re: [PATCH 05/12] drm/i915/dp: Add crtc state for AS SDP transmission line
Date: Mon, 13 Apr 2026 15:06:05 +0530	[thread overview]
Message-ID: <9510f654-05a2-47ba-ac91-943aa9b0edee@intel.com> (raw)
In-Reply-To: <720b7ddc96cd4fe4c6af0f8e6e96c3e602634803@intel.com>


On 4/13/2026 2:06 PM, Jani Nikula wrote:
> On Mon, 13 Apr 2026, Ankit Nautiyal <ankit.k.nautiyal@intel.com> wrote:
>> The Adaptive Sync SDP is currently the only DisplayPort SDP with a
>> programmable transmission line. Store the AS SDP transmission line
>> in the crtc state and include it in the pipe configuration comparison.
>>
>> This provides a common place for SDP transmission lines and paves the way
>> for supporting additional SDP TL programming, including the common base
>> SDP transmission line introduced with Xe3p_lpd.
>>
>> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
>> ---
>>   drivers/gpu/drm/i915/display/intel_display.c       | 2 ++
>>   drivers/gpu/drm/i915/display/intel_display_types.h | 8 ++++++++
>>   2 files changed, 10 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
>> index 10b6c6fcb03f..c66541f26a09 100644
>> --- a/drivers/gpu/drm/i915/display/intel_display.c
>> +++ b/drivers/gpu/drm/i915/display/intel_display.c
>> @@ -5434,6 +5434,8 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
>>   	}
>>   	PIPE_CONF_CHECK_DP_VSC_SDP(vsc);
>>   
>> +	PIPE_CONF_CHECK_I(dp_sdp_tl.as);
>> +
> Too short, too many acronyms.

Hmm I can make it `dp_sdp_transmission_line` or just 
`sdp_transmission_line` instead of `dp_sdp_tl`.

Instead of `as` I can use `adaptive_sync`, but then it will become an 
odd one out, unless we want to expand pps, vsc, gmp and all too.

I was thinking of as_sdp too, but then that is trading one acronym with 
other and also duplicate `sdp` in the naming.


>
>>   	PIPE_CONF_CHECK_X(sync_mode_slaves_mask);
>>   	PIPE_CONF_CHECK_I(master_transcoder);
>>   	PIPE_CONF_CHECK_X(joiner_pipes);
>> diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
>> index e2496db1642a..f58454c23859 100644
>> --- a/drivers/gpu/drm/i915/display/intel_display_types.h
>> +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
>> @@ -1298,6 +1298,14 @@ struct intel_crtc_state {
>>   		struct drm_dp_as_sdp as_sdp;
>>   	} infoframes;
>>   
>> +	struct {
>> +		/*
>> +		 * SDP Transmission line, relative to the Vtotal.
>> +		 * The programmed transmit line is (Vtotal - value)
>> +		 */
>> +		u16 as;
>> +	} dp_sdp_tl;
> Why would this deserve to be a top level sub-struct in the crtc state?


Hmm.. the struct is designed to collect all SDP transmission lines (not 
just AS, as mentioned in the commit message). It made sense to me to add 
a separate struct for storing all SDP transmission lines.

I am open to suggestion for a new place to store this though.


Regards,

Ankit


>
>> +
>>   	u8 eld[MAX_ELD_BYTES];
>>   
>>   	/* HDMI scrambling status */

  reply	other threads:[~2026-04-13  9:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-13  3:53 [PATCH 00/12] Add support for Common SDP Transmission Line Ankit Nautiyal
2026-04-13  3:53 ` [PATCH 01/12] drm/i915/vrr: Add HAS_EMP_AS_SDP_TL macro Ankit Nautiyal
2026-04-13  8:31   ` Jani Nikula
2026-04-13  8:58     ` Nautiyal, Ankit K
2026-04-13  3:53 ` [PATCH 02/12] drm/i915/vrr: Add helper to readback EMP_AS_SDP_TL Ankit Nautiyal
2026-04-13  8:32   ` Jani Nikula
2026-04-13  9:25   ` Ville Syrjälä
2026-04-13  9:54     ` Nautiyal, Ankit K
2026-04-13 10:21       ` Ville Syrjälä
2026-04-13  3:53 ` [PATCH 03/12] drm/i915/vrr: Separate out helper to write EMP_AS_SDP_TL Ankit Nautiyal
2026-04-13  3:53 ` [PATCH 04/12] drm/i915/dp: Add helper to get AS SDP Transmission Line Ankit Nautiyal
2026-04-13  8:34   ` Jani Nikula
2026-04-13  9:38     ` Nautiyal, Ankit K
2026-04-13  3:53 ` [PATCH 05/12] drm/i915/dp: Add crtc state for AS SDP transmission line Ankit Nautiyal
2026-04-13  8:36   ` Jani Nikula
2026-04-13  9:36     ` Nautiyal, Ankit K [this message]
2026-04-13  3:53 ` [PATCH 06/12] drm/i915/dp: Store and use AS SDP transmission line from crtc state Ankit Nautiyal
2026-04-13  3:53 ` [PATCH 07/12] drm/i915/nvl: Add register definitions for common SDP Transmission Line Ankit Nautiyal
2026-04-13  3:53 ` [PATCH 08/12] drm/i915/display: Add HAS_CMN_SDP_TL macro Ankit Nautiyal
2026-04-13  8:37   ` Jani Nikula
2026-04-13  3:53 ` [PATCH 09/12] drm/i915/dp: Store SDP transmission lines in crtc_state Ankit Nautiyal
2026-04-13  3:53 ` [PATCH 10/12] drm/i915/dp: Introduce helpers to enable/disable CMN SDP Transmission line Ankit Nautiyal
2026-04-13  3:53 ` [PATCH 11/12] drm/i915/dp: Enable Common " Ankit Nautiyal
2026-04-13  3:53 ` [PATCH 12/12] drm/i915/display: Dump SDP Transmission lines Ankit Nautiyal
2026-04-13  4:18 ` ✗ CI.checkpatch: warning for Add support for Common SDP Transmission Line (rev2) Patchwork
2026-04-13  4:19 ` ✓ CI.KUnit: success " Patchwork
2026-04-13  5:00 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-13  6:04 ` ✗ Xe.CI.FULL: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9510f654-05a2-47ba-ac91-943aa9b0edee@intel.com \
    --to=ankit.k.nautiyal@intel.com \
    --cc=arun.r.murthy@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=ville.syrjala@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox