All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cody Kang <codykang.hk@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-phy@lists.infradead.org, linux-clk@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org, vkoul@kernel.org,
	neil.armstrong@linaro.org, olteanv@gmail.com
Subject: Re: [PATCH v4 08/16] drm/spacemit: add Saturn DPU hardware backend
Date: Thu, 03 Dec 2026 06:53:35 +0800	[thread overview]
Message-ID: <71cab97c-36c9-436d-9de3-7d4c39b611e5@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-239607@kernel.org>

On Sun, 29 Nov 2026 12:49:11 +0000, sashiko-bot@kernel.org wrote:
[...]
> > +	irq_bit = saturn_hee_get_irq_bit(INT_CFG_RDY);
> > +	if (irq_raw & irq_bit) {
> > +		saturn_hee_clr_int_sts(a_crtc, irq_bit);
> > +		timer_delete(&a_crtc->cfg_rdy_timer);
> > +		a_crtc->ur_reported = false;
> > +		saturn_hee_enable_irq(a_crtc, INT_CFG_RDY, false);
> > +		handled |= irq_bit;
> > +
> > +		/* The lists are taken: the next vblank completes the commit. */

Will fix this comment in v5. CFG_RDY and VSYNC normally come in the
same interrupt, so the event is sent in this pass, not at the next
vblank.

[...]
> [Severity: High]
> Can spacemit_dpu_online_isr() complete a_crtc->event one frame early and
> dispatch masked interrupts?

Not a bug: the status register shows only unmasked sources, and the
frame that starts at that vsync already shows the new buffer (both
checked on the board).

[...]
> [Severity: Medium]
> Can an in-flight spacemit_cfg_rdy_timer_handler() or a late INT_CFG_RDY
> from a timed-out commit race with spacemit_dpu_run()?

Will fix in v5.

[...]
> [Severity: Medium]
> Does saturn_hee_cfg_ready() immediately fire on a stale underrun bit and
> race on a_crtc->ur_mask_armed?

Will fix in v5.

Cody

WARNING: multiple messages have this Message-ID (diff)
From: Cody Kang <codykang.hk@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-phy@lists.infradead.org, linux-clk@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org, vkoul@kernel.org,
	neil.armstrong@linaro.org, olteanv@gmail.com
Subject: Re: [PATCH v4 08/16] drm/spacemit: add Saturn DPU hardware backend
Date: Thu, 03 Dec 2026 06:53:35 +0800	[thread overview]
Message-ID: <71cab97c-36c9-436d-9de3-7d4c39b611e5@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-239607@kernel.org>

On Sun, 29 Nov 2026 12:49:11 +0000, sashiko-bot@kernel.org wrote:
[...]
> > +	irq_bit = saturn_hee_get_irq_bit(INT_CFG_RDY);
> > +	if (irq_raw & irq_bit) {
> > +		saturn_hee_clr_int_sts(a_crtc, irq_bit);
> > +		timer_delete(&a_crtc->cfg_rdy_timer);
> > +		a_crtc->ur_reported = false;
> > +		saturn_hee_enable_irq(a_crtc, INT_CFG_RDY, false);
> > +		handled |= irq_bit;
> > +
> > +		/* The lists are taken: the next vblank completes the commit. */

Will fix this comment in v5. CFG_RDY and VSYNC normally come in the
same interrupt, so the event is sent in this pass, not at the next
vblank.

[...]
> [Severity: High]
> Can spacemit_dpu_online_isr() complete a_crtc->event one frame early and
> dispatch masked interrupts?

Not a bug: the status register shows only unmasked sources, and the
frame that starts at that vsync already shows the new buffer (both
checked on the board).

[...]
> [Severity: Medium]
> Can an in-flight spacemit_cfg_rdy_timer_handler() or a late INT_CFG_RDY
> from a timed-out commit race with spacemit_dpu_run()?

Will fix in v5.

[...]
> [Severity: Medium]
> Does saturn_hee_cfg_ready() immediately fire on a stale underrun bit and
> race on a_crtc->ur_mask_armed?

Will fix in v5.

Cody

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  reply	other threads:[~2026-12-02 22:53 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 12:32 [PATCH v4 00/16] drm/spacemit: add SpacemiT K3 display support Cody Kang via B4 Relay
2026-11-29 12:32 ` Cody Kang via B4 Relay
2026-11-29 12:32 ` Cody Kang
2026-11-29 12:32 ` Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 01/16] dt-bindings: display: spacemit: add K3 Saturn DPU controller Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:36   ` sashiko-bot
2026-11-29 12:36     ` sashiko-bot
2026-12-02 13:07     ` Cody Kang
2026-12-02 13:07       ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 02/16] dt-bindings: phy: add SpacemiT K3 Innosilicon DP PHY Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 03/16] dt-bindings: display: spacemit: add K3 Innosilicon DP/eDP controller Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:38   ` sashiko-bot
2026-11-29 12:38     ` sashiko-bot
2026-12-02 13:07     ` Cody Kang
2026-12-02 13:07       ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 04/16] dt-bindings: soc: spacemit: allow eDP/DP PHY PLL pixel clocks on K3 APMU Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 05/16] phy: spacemit: add Innosilicon DP TX PHY driver Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:48   ` sashiko-bot
2026-11-29 12:48     ` sashiko-bot
2026-12-02 14:42     ` Cody Kang
2026-12-02 14:42       ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 06/16] drm/spacemit: add Saturn DPU register model Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 07/16] drm/spacemit: add Saturn DPU core types, cmdlist and display MMU Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 08/16] drm/spacemit: add Saturn DPU hardware backend Cody Kang
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:49   ` sashiko-bot
2026-11-29 12:49     ` sashiko-bot
2026-12-02 22:53     ` Cody Kang [this message]
2026-12-02 22:53       ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 09/16] drm/spacemit: add Saturn DPU KMS pipeline Cody Kang
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:54   ` sashiko-bot
2026-11-29 12:54     ` sashiko-bot
2026-12-02 12:39     ` Cody Kang
2026-12-02 12:39       ` Cody Kang
2026-12-02 22:57     ` Cody Kang
2026-12-02 22:57       ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 10/16] drm/spacemit: add Saturn DPU DRM device driver Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 11/16] drm/spacemit: add Innosilicon DP/eDP controller bridge driver Cody Kang
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 13:01   ` sashiko-bot
2026-11-29 13:01     ` sashiko-bot
2026-12-02 23:01     ` Cody Kang
2026-12-02 23:01       ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 12/16] MAINTAINERS: add SpacemiT K3 display driver entry Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 13/16] riscv: dts: spacemit: k3: add display nodes Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:48   ` sashiko-bot
2026-11-29 12:48     ` sashiko-bot
2026-12-02 13:08     ` Cody Kang
2026-12-02 13:08       ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 14/16] riscv: dts: spacemit: k3-pico-itx: enable the DisplayPort output Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang
2026-11-29 12:32 ` [PATCH v4 15/16] riscv: dts: spacemit: k3-com260-ifx: " Cody Kang
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 16/16] riscv: defconfig: spacemit: k3: enable display driver Cody Kang
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-11-29 12:32   ` Cody Kang via B4 Relay
2026-12-01  1:36 ` [PATCH v4 00/16] drm/spacemit: add SpacemiT K3 display support Encrow Thorne
2026-12-01  1:36   ` Encrow Thorne
2026-12-01  1:36   ` Encrow Thorne
2026-12-01 11:33   ` Cody Kang
2026-12-01 11:33     ` Cody Kang
2026-12-01 11:33     ` Cody Kang
2026-12-02 11:41     ` Cody Kang
2026-12-02 11:41       ` Cody Kang
2026-12-02 11:41       ` Cody Kang
2026-12-01 11:26 ` Cody Kang
2026-12-01 11:26   ` Cody Kang
2026-12-01 11:26   ` Cody Kang

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=71cab97c-36c9-436d-9de3-7d4c39b611e5@gmail.com \
    --to=codykang.hk@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /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.