]> git.baikalelectronics.ru Git - kernel.git/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)
commit093a78df168c01d5070c3385b81bb54974b93dd5
tree802132a84330670d3e394b033a371510cdac596b
parenta5c06e5b1d8d4258b8cb9776ca46bc2c229cf76f
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