diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-03 11:22:11 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-03 12:18:10 +0200 |
commit | 7b668ebe2fce517873b0c28dd70c10fef1d3dc2f (patch) | |
tree | 37ae8513e853e32e32c5dfc01d6b734bc77fd3c6 /arch/arm/mach-kirkwood/Kconfig | |
parent | drm/radeon: fix rare segfault (diff) | |
download | linux-7b668ebe2fce517873b0c28dd70c10fef1d3dc2f.tar.xz linux-7b668ebe2fce517873b0c28dd70c10fef1d3dc2f.zip |
drm: edid: Don't add inferred modes with higher resolution
When a monitor EDID doesn't give the preferred bit, driver assumes
that the mode with the higest resolution and rate is the preferred
mode. Meanwhile the recent changes for allowing more modes in the
GFT/CVT ranges give actually more modes, and some modes may be over
the native size. Thus such a mode would be picked up as the preferred
mode although it's no native resolution.
For avoiding such a problem, this patch limits the addition of
inferred modes by checking not to be greater than other modes.
Also, it checks the duplicated mode entry at the same time.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch/arm/mach-kirkwood/Kconfig')
0 files changed, 0 insertions, 0 deletions