All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joshi, Kunal1" <kunal1.joshi@intel.com>
To: Sowmiya S <sowmiya.s@intel.com>, igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com
Subject: Re: [PATCH i-g-t v5 1/4] lib/i915/i915_dp: Add UHBR helpers and const-correct set_link_params
Date: Wed, 19 Aug 2026 10:54:09 +0530	[thread overview]
Message-ID: <9d84c53c-1de2-432c-a20a-328f6626a20e@intel.com> (raw)
In-Reply-To: <20260817082612.1101382-2-sowmiya.s@intel.com>


On 17-08-2026 13:56, Sowmiya S wrote:
> Add i915_dp_is_uhbr_rate() and i915_dp_get_next_lower_rate(), prep for
> the UHBR-to-HBR fallback subtest later in this series; no caller yet.
>
> i915_dp_get_next_lower_rate() parses intel_dp_allowed_link_configs
> (source & sink & current limits) rather than i915_dp_force_link_rate,
> since the latter is source-only and lets the kernel silently clamp a
> rate the sink never advertised.
>
> Also take link_rate/lane_count as const char * in
> i915_dp_set_link_params() so callers can pass string literals.
>
> v4: - name the UHBR10 threshold and make i915_dp_is_uhbr_rate() a
>        static inline in the header to avoid a cross-TU call (Kunal)
>      - parse intel_dp_allowed_link_configs instead of the source-only
>        i915_dp_force_link_rate list in i915_dp_get_next_lower_rate()
>        (Kunal)
>      - avoid the implicit long to int narrowing on the return value
>        (Kunal)
>
> Signed-off-by: Sowmiya S <sowmiya.s@intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi@intel.com>

  reply	other threads:[~2026-08-19  5:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17  8:26 [PATCH i-g-t v5 0/4] kms_dp_linktrain_fallback: Add UHBR-to-HBR fallback subtest Sowmiya S
2026-08-17  8:26 ` [PATCH i-g-t v5 1/4] lib/i915/i915_dp: Add UHBR helpers and const-correct set_link_params Sowmiya S
2026-08-19  5:24   ` Joshi, Kunal1 [this message]
2026-08-17  8:26 ` [PATCH i-g-t v5 2/4] tests/intel/kms_dp_linktrain_fallback: Reset traversed MST output count Sowmiya S
2026-08-19  5:24   ` Joshi, Kunal1
2026-08-17  8:26 ` [PATCH i-g-t v5 3/4] tests/intel/kms_dp_linktrain_fallback: Add UHBR-to-HBR fallback subtest Sowmiya S
2026-08-19  5:25   ` Joshi, Kunal1
2026-08-17  8:26 ` [PATCH i-g-t v5 4/4] tests/intel/kms_dp_linktrain_fallback: commit display reset before fallback Sowmiya S
2026-08-19  5:16   ` Joshi, Kunal1
2026-08-17  9:02 ` [PATCH i-g-t v5 0/4] kms_dp_linktrain_fallback: Add UHBR-to-HBR fallback subtest Jani Nikula
2026-08-17  9:21   ` S, Sowmiya
2026-08-17  9:50     ` Jani Nikula
2026-08-17 16:23 ` ✓ Xe.CI.BAT: success for kms_dp_linktrain_fallback: Add UHBR-to-HBR fallback subtest (rev3) Patchwork
2026-08-17 16:39 ` ✓ i915.CI.BAT: " Patchwork
2026-08-17 19:04 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-08-18  6:30 ` ✗ i915.CI.Full: " 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=9d84c53c-1de2-432c-a20a-328f6626a20e@intel.com \
    --to=kunal1.joshi@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karthik.b.s@intel.com \
    --cc=sowmiya.s@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.