Name

drm_mode_sort — sort mode list

Synopsis

void drm_mode_sort (struct list_head * mode_list);
 

Arguments

mode_list

list of drm_display_mode structures to sort

Description

Sort mode_list by favorability, moving good modes to the head of the list.