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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jul 2015 19:50:36 +0000 (15:50 -0400)
commit0a90a0cff9f429f886f423967ae053150dce9259
tree5435e747c8c4a56cbeb6ecd1dd6c0d6986529634
parent7726e72b3d6879ee5fc743a230eb6f5afa12844b
drm/radeon/combios: add some validation of lvds values

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_combios.c