Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Suraj Kandpal" <suraj.kandpal@intel.com>
Cc: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/dp: Disable DC5/6 before AUX programming
Date: Fri, 18 Sep 2026 06:10:55 +0000	[thread overview]
Message-ID: <20260918061056.6F3841F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260918060426.1162123-1-suraj.kandpal@intel.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] drm/i915/dp: missing 'if' keyword before HAS_LT_PHY() causing build error
--

commit 50d9f2e05d7a2031877229580c7c2591f8281933
Author: Suraj Kandpal <suraj.kandpal@intel.com>

drm/i915/dp: Disable DC5/6 before AUX programming

This commit disables DC5/6 before AUX programming for platforms with LT PHY.
It ensures that step 4 of the AUX programming sequence is honored since the
LT PHY powers down the PHY.

> diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux.c b/drivers/gpu/drm/i915/display/intel_dp_aux.c
> index 3cb07b0a901cf..350dac72c9961 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp_aux.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp_aux.c
> @@ -286,6 +287,9 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
>  
>  	aux_wakeref = intel_display_power_get(display, aux_domain);
>  
> +	(HAS_LT_PHY(display))
> +		dc_off_wakeref = intel_display_power_get(display, POWER_DOMAIN_DC_OFF);
> +

[Severity: Low]
Is there a missing 'if' keyword here in intel_dp_aux_xfer()? This appears to
introduce a syntax error by having the expression (HAS_LT_PHY(display))
adjacent to the assignment without a control flow statement, which will cause
a build failure.

>  	/*
>  	 * The PPS state needs to be locked for:

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260918060426.1162123-1-suraj.kandpal@intel.com?part=1

  parent reply	other threads:[~2026-09-18  6:10 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18  6:04 [PATCH] drm/i915/dp: Disable DC5/6 before AUX programming Suraj Kandpal
2026-09-18  6:10 ` ✗ CI.checkpatch: warning for " Patchwork
2026-09-18  6:10 ` sashiko-bot [this message]
2026-09-18  6:12 ` ✓ CI.KUnit: success " Patchwork
2026-09-18  6:22 ` [PATCH] " Murthy, Arun R
2026-09-18  6:35   ` Murthy, Arun R
2026-09-18  6:38 ` [PATCH v2] " Suraj Kandpal
2026-09-18  6:46   ` sashiko-bot
2026-09-18  7:59   ` Murthy, Arun R
2026-09-18 10:08   ` Jani Nikula
2026-09-18 16:40     ` Kandpal, Suraj
2026-09-18 15:09   ` Imre Deak
2026-09-18 16:40     ` Kandpal, Suraj
2026-09-18  6:44 ` ✗ CI.checkpatch: warning for drm/i915/dp: Disable DC5/6 before AUX programming (rev2) Patchwork
2026-09-18  6:46 ` ✓ CI.KUnit: success " Patchwork
2026-09-18  8:01 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-18 16:17 ` ✓ Xe.CI.FULL: " Patchwork
2026-09-21  2:20 ` [PATCH] drm/i915/xe3plpd: Map AUX power domains to DC_off Suraj Kandpal
2026-09-21  7:25   ` Kandpal, Suraj
2026-09-21  8:14     ` Jani Nikula
2026-09-22  3:39   ` Murthy, Arun R
2026-09-21  2:26 ` ✗ CI.checkpatch: warning for drm/i915/dp: Disable DC5/6 before AUX programming (rev3) Patchwork
2026-09-21  2:28 ` ✓ CI.KUnit: success " Patchwork
2026-09-21  3:06 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-09-21  4:39 ` ✗ Xe.CI.FULL: " Patchwork
2026-09-21  5:49 ` ✗ CI.checkpatch: warning for drm/i915/dp: Disable DC5/6 before AUX programming (rev4) Patchwork
2026-09-21  5:51 ` ✓ CI.KUnit: success " Patchwork
2026-09-21  7:02 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-09-21  8:36 ` ✗ Xe.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=20260918061056.6F3841F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=suraj.kandpal@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