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).
The v2 revision of this patchset is solely handling review comments by the AI review experiment, when I consider them valid. Icenowy Zheng (3): drm: verisilicon: make vs_format conversion function return int drm: verisilicon: subclass drm_plane_state drm: verisilicon: fill plane's vs_format in atomic_check drivers/gpu/drm/verisilicon/vs_plane.c | 47 ++++++++++++++++++- drivers/gpu/drm/verisilicon/vs_plane.h | 18 ++++++- .../gpu/drm/verisilicon/vs_primary_plane.c | 27 +++++++---- 3 files changed, 79 insertions(+), 13 deletions(-) -- 2.52.0
