drm: Sort connector modes based on vrefresh
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 31 May 2013 12:17:08 +0000 (12:17 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Jun 2013 22:35:51 +0000 (08:35 +1000)
commit9bc3cd5673d84d29272fa7181a4dfca83cbb48c1
treecfe55d25141ebe5f287c752fca2467b546d99de6
parent990256aec2f10800595dddf4d1c3441fcd6b2616
drm: Sort connector modes based on vrefresh

Keeping the modes sorted by vrefresh before the pixel clock makes the
mode list somehow more pleasing to the eye.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_modes.c