drm/i915/glk: Don't allow 12 bpc when htotal is too big
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 24 Apr 2017 10:47:18 +0000 (13:47 +0300)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Wed, 26 Apr 2017 16:03:36 +0000 (19:03 +0300)
commit46649d8b6cb876e4f823e741d39959cf6e231e85
tree525a78bea525f3089ee8d3da7e6b6528d65b6d46
parentf7b02a529a81761b44d7fa164bd84333f3232989
drm/i915/glk: Don't allow 12 bpc when htotal is too big

Display workaround #1139 for Geminilake instructs us to restrict HDMI
to 8 bpc when htotal is greater than 5460. Otherwise, the pipe is unable
to generate a proper signal and is left in a state where corruption is
seen with other modes.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100440
Cc: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170424104718.26448-1-ander.conselvan.de.oliveira@intel.com
drivers/gpu/drm/i915/intel_hdmi.c