Re: [PATCH drm-misc-next v3 0/4] drm: verisilicon: convert drm_format to vs_format in atomic_check
From: Icenowy Zheng
Date: Tue Mar 24 2026 - 01:01:27 EST
在 2026-03-05四的 23:38 +0800,Icenowy Zheng写道:
> This patchset tries to move the process of converting drm_format to
> vs_format into plane's atomic_check callback (instead of the
> atomic_commit one, which the process currently sits) for more proper
> error handling (because atomic_commit cannot fail).
>
> In addition, because of the original flow of primary plane's
> atomic_check seems to be flawed, it's also updated before filling
> vs_format is added there.
Ping. It looks like this patchset didn't get a review, maybe it's
buried in the heavy flow of dri-devel?
Thanks,
Icenowy
>
> Icenowy Zheng (4):
> drm: verisilicon: make vs_format conversion function return int
> drm: verisilicon: subclass drm_plane_state
> drm: verisilicon: call atomic helper's plane state check even if no
> CRTC
> drm: verisilicon: fill plane's vs_format in atomic_check
>
> drivers/gpu/drm/verisilicon/vs_plane.c | 53
> ++++++++++++++++++-
> drivers/gpu/drm/verisilicon/vs_plane.h | 18 ++++++-
> .../gpu/drm/verisilicon/vs_primary_plane.c | 53 +++++++++++------
> --
> 3 files changed, 99 insertions(+), 25 deletions(-)