From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 3/5] drm/i915/dsi: Make 'clock_stop' boolean
Date: Thu, 26 Mar 2026 17:22:46 +0200 [thread overview]
Message-ID: <edfc0b07a01969ee3a827f8b56df13656e14bf73@intel.com> (raw)
In-Reply-To: <acVNxsGGgsGo9Zqw@intel.com>
On Thu, 26 Mar 2026, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> On Thu, Mar 26, 2026 at 05:01:33PM +0200, Jani Nikula wrote:
>> On Thu, 26 Mar 2026, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
>> > On Thu, Mar 26, 2026 at 03:40:56PM +0200, Jani Nikula wrote:
>> >> On Thu, 26 Mar 2026, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
>> >> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>> >> >
>> >> > The DSI 'clock_stop' parameter is a boolean, so use a real
>> >> > 'bool' for it. And pimp the debug print while at it.
>> >> >
>> >> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>> >> > ---
>> >> > drivers/gpu/drm/i915/display/intel_dsi.h | 2 +-
>> >> > drivers/gpu/drm/i915/display/intel_dsi_vbt.c | 4 ++--
>> >> > 2 files changed, 3 insertions(+), 3 deletions(-)
>> >> >
>> >> > diff --git a/drivers/gpu/drm/i915/display/intel_dsi.h b/drivers/gpu/drm/i915/display/intel_dsi.h
>> >> > index 8e39d2b52c54..0023ac341aa0 100644
>> >> > --- a/drivers/gpu/drm/i915/display/intel_dsi.h
>> >> > +++ b/drivers/gpu/drm/i915/display/intel_dsi.h
>> >> > @@ -81,7 +81,7 @@ struct intel_dsi {
>> >> > int video_mode;
>> >> >
>> >> > bool eot_pkt;
>> >> > - u8 clock_stop;
>> >> > + bool clock_stop;
>> >> >
>> >> > u8 escape_clk_div;
>> >> > u8 dual_link;
>> >> > diff --git a/drivers/gpu/drm/i915/display/intel_dsi_vbt.c b/drivers/gpu/drm/i915/display/intel_dsi_vbt.c
>> >> > index 51f6a5b82cb2..23da7f5f9578 100644
>> >> > --- a/drivers/gpu/drm/i915/display/intel_dsi_vbt.c
>> >> > +++ b/drivers/gpu/drm/i915/display/intel_dsi_vbt.c
>> >> > @@ -719,7 +719,7 @@ void intel_dsi_log_params(struct intel_dsi *intel_dsi)
>> >> > drm_printf(&p, "Burst mode ratio %d\n", intel_dsi->burst_mode_ratio);
>> >> > drm_printf(&p, "Reset timer %d\n", intel_dsi->rst_timer_val);
>> >> > drm_printf(&p, "EoT packet %s\n", str_enabled_disabled(intel_dsi->eot_pkt));
>> >> > - drm_printf(&p, "Clockstop %s\n", str_enabled_disabled(!intel_dsi->clock_stop));
>> >> > + drm_printf(&p, "Clock stop during BLLP %s\n", str_enabled_disabled(intel_dsi->clock_stop));
>> >>
>> >> What's with the reversed !intel_dsi->clock_stop in the existing log and
>> >> the change here?
>> >
>> > I've had these sitting around for a while so completely forgot I changed
>> > it.
>> >
>> > Looks that it's been wrong since the initial commit.
>> >
>> > Apparently v2 of the patch
>> > https://lore.kernel.org/intel-gfx/1397454507-10273-5-git-send-email-shobhit.kumar@intel.com/
>> > had it the correct way around, but then it got messed in
>> > in v3 while the capital letters were being made lowercase.
>> >
>> > I can split that out into its own patch with that explanation.
>>
>> Not sure I care enough, other than please mention it in the commit
>> message. Unless you specifically want that fix backported too.
>
> Nah. I guess I'll just amend the commit message a bit.
Also,
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
--
Jani Nikula, Intel
next prev parent reply other threads:[~2026-03-26 15:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 11:18 [PATCH 0/5] drm/i915/dsi: Some DSI fixes and improvements Ville Syrjala
2026-03-26 11:18 ` [PATCH 1/5] drm/i915/dsi: Don't do DSC horizontal timing adjustments in command mode Ville Syrjala
2026-03-26 15:20 ` Jani Nikula
2026-03-26 11:18 ` [PATCH 2/5] drm/i915/dsi: s/eotp_pkt/eot_pkt/ Ville Syrjala
2026-03-26 15:22 ` Jani Nikula
2026-03-26 11:18 ` [PATCH 3/5] drm/i915/dsi: Make 'clock_stop' boolean Ville Syrjala
2026-03-26 13:40 ` Jani Nikula
2026-03-26 14:02 ` Ville Syrjälä
2026-03-26 15:01 ` Jani Nikula
2026-03-26 15:16 ` Ville Syrjälä
2026-03-26 15:22 ` Jani Nikula [this message]
2026-03-26 11:18 ` [PATCH 4/5] drm/i915/dsi: Fill BLLPs with blanking packets if requested Ville Syrjala
2026-03-26 15:23 ` Jani Nikula
2026-03-26 11:18 ` [PATCH 5/5] drm/i915/dsi: Place clock into LP during LPM " Ville Syrjala
2026-03-26 15:24 ` Jani Nikula
2026-03-26 11:24 ` ✗ CI.checkpatch: warning for drm/i915/dsi: Some DSI fixes and improvements Patchwork
2026-03-26 11:26 ` ✓ CI.KUnit: success " Patchwork
2026-03-26 12:00 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-27 0: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=edfc0b07a01969ee3a827f8b56df13656e14bf73@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--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