mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] drm/msm: correct DSC RGB and command-mode vblank handling
@ 2026-10-08 22:34 Zhang Jiaxi
  2026-10-12  7:00 ` Konrad Dybcio
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Jiaxi @ 2026-10-08 22:34 UTC (permalink / raw)
  To: Rob Clark, Dmitry Baryshkov
  Cc: Abhinav Kumar, Jessica Zhang, Sean Paul, Marijn Suijten,
	David Airlie, Simona Vetter, linux-arm-msm, dri-devel, freedreno,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-12 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 22:34 [RFC PATCH 0/3] drm/msm: correct DSC RGB and command-mode vblank handling Zhang Jiaxi
2026-10-12  7:00 ` Konrad Dybcio
2026-10-12 18:44   ` Zhang Jiaxi

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®