Skip to content

drm/vkms: skip composer work that changes nothing

Oarora Etimis dri-devel lkml 2 versions New

Get series with b4
b4 am [email protected] change-id 20261120-composer-fastpath-8e60c7f7e58e

Versions newest first

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- do not queue a CRC for a frame that was copied without computing one
- restrict the direct copy to XRGB8888, the only 4-byte format vkms reads
and writes back
- describe the new parameters in the kernel-doc
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/vkms: skip a blend that cannot change the framedrivers/gpu/drm/vkms/vkms_composer.c+40 -40 replies
2/2drm/vkms: copy a full-screen frame straight to writebackdrivers/gpu/drm/vkms/vkms_composer.c drivers/gpu/drm/vkms/vkms_drv.h drivers/gpu/drm/vkms/vkms_formats.c+106 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/vkms: skip composer work that changes nothing

Patch 1 reads a full-screen plane straight into the output line instead of blending it there. Patch 2 writes the frame straight into the writeback buffer instead of going through the 16-bit line buffer.

---
Changes in v2:
- do not queue a CRC for a frame that was copied without computing one
- restrict the direct copy to XRGB8888, the only 4-byte format vkms reads
and writes back
- describe the new parameters in the kernel-doc
- Link to v1: https://patch.msgid.link/[email protected]

---
Oarora Etimis (2):
drm/vkms: skip a blend that cannot change the frame drm/vkms: copy a full-screen frame straight to writeback

 drivers/gpu/drm/vkms/vkms_composer.c | 124 ++++++++++++++++++++++++++++++++---
 drivers/gpu/drm/vkms/vkms_drv.h      |   5 ++
 drivers/gpu/drm/vkms/vkms_formats.c  |  26 ++++++++
 3 files changed, 145 insertions(+), 10 deletions(-)

---
base-commit: 5ce32a0c94a827ff44ee60898c28060714dcff75
change-id: 20261120-composer-fastpath-8e60c7f7e58e

Best regards,

Signature · 1 line
Oarora Etimis <[email protected]>