drm/radeon/combios: add some validation of lvds values
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jul 2015 23:24:31 +0000 (19:24 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:51:35 +0000 (20:51 -0700)
commit2f1a904ec548e48e7daa7b54fe18664d5a7e0d44
tree1a57eb40ba65952d52f8838d30a588307fbe8297
parent36db20aee5f89a3e23cca351841214d7d9aa4e8b
drm/radeon/combios: add some validation of lvds values

commit 0a90a0cff9f429f886f423967ae053150dce9259 upstream.

Fixes a broken hsync start value uncovered by:
abc0b1447d4974963548777a5ba4a4457c82c426
(drm: Perform basic sanity checks on probed modes)

The driver handled the bad hsync start elsewhere, but
the above commit prevented it from getting added.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=91401

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_combios.c