diff options
author | Ander Conselvan de Oliveira | 2017-04-24 12:47:18 +0200 |
---|---|---|
committer | Ander Conselvan de Oliveira | 2017-04-26 18:03:36 +0200 |
commit | 46649d8b6cb876e4f823e741d39959cf6e231e85 (patch) | |
tree | 525a78bea525f3089ee8d3da7e6b6528d65b6d46 /drivers/gpu/drm/i915/intel_hdmi.c | |
parent | drm/i915: Skip waking the signaler when enabling before request submission (diff) | |
download | kernel-qcow2-linux-46649d8b6cb876e4f823e741d39959cf6e231e85.tar.gz kernel-qcow2-linux-46649d8b6cb876e4f823e741d39959cf6e231e85.tar.xz kernel-qcow2-linux-46649d8b6cb876e4f823e741d39959cf6e231e85.zip |
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_hdmi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 6efc3cb8c471..52f0b2d5fad2 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -1327,6 +1327,11 @@ static bool hdmi_12bpc_possible(struct intel_crtc_state *crtc_state) return false; } + /* Display Wa #1139 */ + if (IS_GLK_REVID(dev_priv, 0, GLK_REVID_A1) && + crtc_state->base.adjusted_mode.htotal > 5460) + return false; + return true; } |