Remove invalid modes from mode list
void drm_mode_prune_invalid(struct drm_device * dev, struct list_head * mode_list, bool verbose);
dev
DRM device
mode_list
list of modes to check
verbose
be verbose about it
This helper function can be used to prune a display mode list after validation has been completed. All modes who's status is not MODE_OK will be removed from the list, and if verbose the status code and mode name is also printed to dmesg.
Jesse Barnes <[email protected]>
Intel Corporation,
Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
Contributions all over the place