From: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>
To: Arun R Murthy <arun.r.murthy@intel.com>,
<intel-gfx@lists.freedesktop.org>,
<intel-xe@lists.freedesktop.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>,
<uma.shankar@intel.com>, <suraj.kandpal@intel.com>
Subject: Re: [PATCH v4 2/7] drm/i915/display: Add the DP link layer symbol timing generator registers
Date: Sun, 15 Nov 2026 17:34:58 +0530 [thread overview]
Message-ID: <7b272ba2-4e82-4dbf-aa8a-12a9c44f277e@intel.com> (raw)
In-Reply-To: <20261104-vlk-64036-dp-symbol-tg-v4-2-d06fe6c466a9@intel.com>
On 11/4/2026 8:54 AM, Arun R Murthy wrote:
> Add the definitions of the registers of the DP link layer (LL) symbol
> based timing generator.
>
> v3: change MMIO -> MMIO_TRANS2 (Suraj)
>
> Bspec: 68849, 68922, 69961
nit: The registers this patch defines are on 74606 (TRANS_LLSYM_HTOTAL),
74607 (TRANS_LLSYM_CHUNK_SIZE), 74609 (TRANS_LLSYM_HACT),
74747/74748 (DP_LLSYM_DATAM/N) and 76160/76161 (_EXT).
Add those; keep 69961 for TRANSCONF.
> Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_display_regs.h | 38 +++++++++++++++++++++++
> 1 file changed, 38 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_regs.h b/drivers/gpu/drm/i915/display/intel_display_regs.h
> index bbdbc27629d7104c1f80baad44e710872214d42b..1a7badeb327977916c85ce88327ec496623d787b 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_regs.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_regs.h
> @@ -879,6 +879,7 @@
> #define TRANSCONF_DSI_PLL_LOCKED REG_BIT(29) /* vlv & pipe A only */
> #define TRANSCONF_FRAME_START_DELAY_MASK REG_GENMASK(28, 27) /* pre-hsw */
> #define TRANSCONF_FRAME_START_DELAY(x) REG_FIELD_PREP(TRANSCONF_FRAME_START_DELAY_MASK, (x)) /* pre-hsw: 0-3 */
> +#define TRANSCONF_DP_SYMBOL_TG_ENABLE REG_BIT(28) /* xe3p+ */
> #define TRANSCONF_PIPE_LOCKED REG_BIT(25)
> #define TRANSCONF_FORCE_BORDER REG_BIT(25)
> #define TRANSCONF_GAMMA_MODE_MASK_I9XX REG_BIT(24) /* gmch */
> @@ -930,6 +931,7 @@
> #define TRANSCONF_DITHER_TYPE_TEMP REG_FIELD_PREP(TRANSCONF_DITHER_TYPE_MASK, 3)
> #define TRANSCONF_PIXEL_COUNT_SCALING_MASK REG_GENMASK(1, 0)
> #define TRANSCONF_PIXEL_COUNT_SCALING_X4 1
> +#define TRANSCONF_PIXEL_COUNT_SCALING_X1 3 /* xe3p+ */
>
> #define _PIPEASTAT 0x70024
> #define PIPESTAT(dev_priv, pipe) _MMIO_PIPE2(dev_priv, pipe, _PIPEASTAT)
> @@ -2332,6 +2334,42 @@
> #define _DP_MIN_HBLANK_CTL_B 0x610ac
> #define DP_MIN_HBLANK_CTL(trans) _MMIO_TRANS(trans, _DP_MIN_HBLANK_CTL_A, _DP_MIN_HBLANK_CTL_B)
>
> +/* DP link layer (LL) symbol based timing generator, display version 35+ */
> +#define _TRANS_LLSYM_HACT_A 0x600dc
> +#define TRANS_LLSYM_HACT(display, trans) \
> + _MMIO_TRANS2(display, trans, _TRANS_LLSYM_HACT_A)
> +#define TRANS_LLSYM_HACT_MASK REG_GENMASK(14, 0)
> +#define TRANS_LLSYM_HACT_VAL(x) REG_FIELD_PREP(TRANS_LLSYM_HACT_MASK, (x))
> +
> +#define _TRANS_LLSYM_HTOTAL_A 0x600e0
> +#define TRANS_LLSYM_HTOTAL(display, trans) \
> + _MMIO_TRANS2(display, trans, _TRANS_LLSYM_HTOTAL_A)
> +#define TRANS_LLSYM_HTOTAL_MASK REG_GENMASK(14, 0)
> +#define TRANS_LLSYM_HTOTAL_VAL(x) REG_FIELD_PREP(TRANS_LLSYM_HTOTAL_MASK, (x))
> +
> +#define _TRANS_LLSYM_CHUNK_SIZE_A 0x600e4
> +#define TRANS_LLSYM_CHUNK_SIZE(display, trans) \
> + _MMIO_TRANS2(display, trans, _TRANS_LLSYM_CHUNK_SIZE_A)
> +#define TRANS_LLSYM_CHUNK_SIZE_MASK REG_GENMASK(11, 0)
> +#define TRANS_LLSYM_CHUNK_SIZE_VAL(x) REG_FIELD_PREP(TRANS_LLSYM_CHUNK_SIZE_MASK, (x))
> +
> +/* Data M/N value DW0/DW1 at the base offset, DW2/DW3 in the _EXT register */
> +#define _DP_LLSYM_DATAM_A 0x60024
> +#define DP_LLSYM_DATAM(display, trans, dw) \
> + _MMIO_TRANS2(display, trans, _DP_LLSYM_DATAM_A + (dw) * 4)
> +
> +#define _DP_LLSYM_DATAN_A 0x60038
> +#define DP_LLSYM_DATAN(display, trans, dw) \
> + _MMIO_TRANS2(display, trans, _DP_LLSYM_DATAN_A + (dw) * 4)
> +
> +#define _DP_LLSYM_DATAM_EXT_A 0x60470
> +#define DP_LLSYM_DATAM_EXT(display, trans, dw) \
> + _MMIO_TRANS2(display, trans, _DP_LLSYM_DATAM_EXT_A + (dw) * 4)
> +
> +#define _DP_LLSYM_DATAN_EXT_A 0x60478
> +#define DP_LLSYM_DATAN_EXT(display, trans, dw) \
> + _MMIO_TRANS2(display, trans, _DP_LLSYM_DATAN_EXT_A + (dw) * 4)
> +
> /* SNB eDP training params */
> /* SNB A-stepping */
> #define EDP_LINK_TRAIN_400MV_0DB_SNB_A (0x38 << 22)
>
next prev parent reply other threads:[~2026-11-15 12:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 3:24 [PATCH v4 0/7] drm/i915/dp: Add support for the DP symbol based timing generator Arun R Murthy
2026-11-04 3:24 ` [PATCH v4 1/7] drm/i915/dp: Factor out the DSC slice count and link bpp lookup Arun R Murthy
2026-11-04 3:24 ` [PATCH v4 2/7] drm/i915/display: Add the DP link layer symbol timing generator registers Arun R Murthy
2026-11-15 12:04 ` Borah, Chaitanya Kumar [this message]
2026-11-04 3:24 ` [PATCH v4 3/7] drm/i915/display: Add the DP symbol timing generator crtc state Arun R Murthy
2026-11-04 3:24 ` [PATCH v4 4/7] drm/i915/display: Add HAS_DP_SYMBOL_TG() Arun R Murthy
2026-11-15 12:05 ` Borah, Chaitanya Kumar
2026-11-04 3:24 ` [PATCH v4 5/7] drm/i915/dp: Compute the DP symbol based timing generator parameters Arun R Murthy
2026-11-04 3:24 ` [PATCH v4 6/7] drm/i915/display: Program and enable the DP symbol based timing generator Arun R Murthy
2026-11-05 4:47 ` Kandpal, Suraj
2026-11-04 3:24 ` [PATCH v4 7/7] drm/i915/dp: Don't limit the Link M/N ratio with the symbol " Arun R Murthy
2026-11-04 3:40 ` ✓ CI.KUnit: success for drm/i915/dp: Add support for the DP symbol based timing generator (rev4) Patchwork
2026-11-04 4:12 ` ✗ i915.CI.BAT: failure " Patchwork
2026-11-04 4:14 ` ✓ Xe.CI.BAT: success " Patchwork
2026-11-04 18:35 ` ✓ Xe.CI.FULL: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-11-03 9:58 [PATCH v4 0/7] drm/i915/dp: Add support for the DP symbol based timing generator Arun R Murthy
2026-11-03 9:58 ` [PATCH v4 2/7] drm/i915/display: Add the DP link layer symbol timing generator registers Arun R Murthy
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=7b272ba2-4e82-4dbf-aa8a-12a9c44f277e@intel.com \
--to=chaitanya.kumar.borah@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=suraj.kandpal@intel.com \
--cc=uma.shankar@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.