On 10/11/22 18:51, Javier Martinez Canillas wrote: > Add a helper function and make drivers that have the same logic in their > struct drm_crtc_helper_funcs .atomic_check handler to use this instead. > > Patch #1, #2 and #3 are just cleanups for the mgag200, simpledrm and > ssd130x drivers respectively. Finally patch #4 converts the last two > drivers to use a helper instead of open coding it the same logic. > > The changes are inspired by a patch from Thomas Zimmermann for the ast > DRM driver: > > https://patchwork.kernel.org/project/dri-devel/patch/20221010103625.19958-4-tzimmermann@xxxxxxx/ > > This is a v2 that addresses issues pointed out also by Thomas in v1: > Pushed this to drm-misc (drm-misc-next). Thanks! -- Best regards, Javier Martinez Canillas Core Platforms Red Hat