mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Zhang Jiaxi <Z1529105815@outlook.com>
To: Rob Clark <robin.clark@oss.qualcomm.com>,
	Dmitry Baryshkov <lumag@kernel.org>
Cc: Abhinav Kumar <abhinav.kumar@linux.dev>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	Sean Paul <sean@poorly.run>,
	Marijn Suijten <marijn.suijten@somainline.org>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"freedreno@lists.freedesktop.org"
	<freedreno@lists.freedesktop.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [RFC PATCH 0/3] drm/msm: correct DSC RGB and command-mode vblank handling
Date: Thu, 8 Oct 2026 22:34:49 +0000	[thread overview]
Message-ID: <SY5PR01MB1060041363FC41A7F40DF59DBA1932@SY5PR01MB10600.ausprd01.prod.outlook.com> (raw)

These three independent corrections preserve current target APIs:
select the existing RGB DSC 1.2 RC table only for version 1.2 and reject
native subsampling in a forced-RGB path; retain the commit's vblank reference
until completion delivers its page-flip event; and reject video-porch
scanout-position conversion for a command-mode tear-check counter.

Command mode initializes that counter at vdisplay, puts RD_PTR at
vdisplay+1 and can wrap at twice vtotal. This is not the video raster used
by the shared timestamp conversion. Returning false only marks that
accurate scanout-derived timestamp unavailable; TE IRQ/counting and the
current off-delay policy remain in place. No always-on IRQ policy is added.
The completion callback consumes the current count/time and does not wait
for another TE interrupt.

The baseline is torvalds/linux
6c377d19d4a5116d9bec5203aa3c6c11523e7898. Normal arm64 Kbuild compiled
DSI/DPU after these revisions without diagnostics; the unchanged atomic
payload reuses its earlier object result. Actual DSI-populate/DPU-scanout
function tests with modeled helper I/O cover table selection, rejected
native formats, the command guard and unchanged video boundaries under
ASan/UBSan, including old-code counterexamples.

No new device timing, idle-power, DSC-math or panel cold-init result is
claimed. Original A830/SM8750 dependencies remain with their public authors
and are not part of this series.

Jiaxi Zhang (3):
  drm/msm/dsi: select RGB DSC 1.2 rate-control parameters
  drm/msm: keep the commit vblank reference through completion
  drm/msm/dpu: reject video scanout timestamps in command mode

             reply	other threads:[~2026-10-08 22:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-08 22:34 Zhang Jiaxi [this message]
2026-10-12  7:00 ` Konrad Dybcio
2026-10-12 18:44   ` Zhang Jiaxi

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=SY5PR01MB1060041363FC41A7F40DF59DBA1932@SY5PR01MB10600.ausprd01.prod.outlook.com \
    --to=z1529105815@outlook.com \
    --cc=abhinav.kumar@linux.dev \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=jesszhan0024@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lumag@kernel.org \
    --cc=marijn.suijten@somainline.org \
    --cc=robin.clark@oss.qualcomm.com \
    --cc=sean@poorly.run \
    --cc=simona@ffwll.ch \
    /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

all inboxes | Powered by JetHome®