From: Ville Syrjälä Date: Thu, 14 Aug 2014 22:22:04 +0000 (+0300) Subject: drm/i915: Check pixel clock in ns2501 mode_valid hook X-Git-Tag: fixes-against-v3.18-rc2~73^2~32^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07aaf8849f08b2e4c1ea1a91cae80e0c11c8d2a;p=pandora-kernel.git drm/i915: Check pixel clock in ns2501 mode_valid hook The vbt on my Fujitsu-Siemens Lifebook S6010 provides two 800x600 modes, 60Hz and 56Hz. The magic register values we have correspond to the 60Hz mode, and as I don't know how one would trick the VGA BIOS to set up the 56Hz mode we can't get the magic values for the orther mode. So when checking whether a mode is valid also check the pixel clock so that we filter out the 56Hz variant. Signed-off-by: Ville Syrjälä Reviewed-by: Thomas Richter Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed