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
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