aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2012-07-03 11:22:11 +0200
committerDave Airlie <[email protected]>2012-07-03 11:18:10 +0100
commit7b668ebe2fce517873b0c28dd70c10fef1d3dc2f (patch)
tree37ae8513e853e32e32c5dfc01d6b734bc77fd3c6 /scripts/patch-kernel
parent1ef5325b238676c7a16bcd374250b07e77682736 (diff)
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions