[PATCH 3/3] drm/sysfb: Share helpers for screen_info validation

2025-04-09 Thread Thomas Zimmermann
Share efidrm's and vesadrm's validation of struct screen_info in shared helpers. Update the drivers. Most validation helpers test individual values against limits and can be shared as they are. For color formats, a common helper looks up the correct DRM format info from a driver-provided list of c

Re: [PATCH 3/3] drm/sysfb: Share helpers for screen_info validation

2025-04-09 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Share efidrm's and vesadrm's validation of struct screen_info in > shared helpers. Update the drivers. > > Most validation helpers test individual values against limits and > can be shared as they are. For color formats, a common helper looks > up the correct DRM forma