]> Pileus Git - ~andy/linux/commit
drm/edid: Allow drm_mode_find_dmt to hunt for reduced-blanking modes
authorAdam Jackson <ajax@redhat.com>
Fri, 13 Apr 2012 20:33:31 +0000 (16:33 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:57:03 +0000 (12:57 +0100)
commitf6e252bac45cab5edc30c2ede971def51e272c9b
tree802132a84330670d3e394b033a371510cdac596b
parentf8b46a05e6ced02e75cd782c015a57e67d5c644d
drm/edid: Allow drm_mode_find_dmt to hunt for reduced-blanking modes

It won't find any, yet.  Fix up callers to match: standard mode codes
will look prefer r-b modes for a given size if present, EST3 mode codes
will look for exactly the r-b-ness mentioned in the mode code.  This
might mean fewer modes matched for EST3 mode codes between now and when
the DMT mode list regrows the r-b modes, but practically speaking EST3
codes don't exist in the wild.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_crtc.h