]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915: Disable infoframes when shutting down DDI HDMI
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 Aug 2017 14:09:14 +0000 (17:09 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 Aug 2017 14:53:56 +0000 (17:53 +0300)
commitc5f93fcf2ee1089cdc1c67a8146f81ff26c7c824
tree46470c1a4315580328233aaa18d1b6f50bfe1543
parentb47ef0f793d9b67a998bb8468f4d81485897d833
drm/i915: Disable infoframes when shutting down DDI HDMI

Disabling the video DIP when shutting the port down seems like a good
idea.

Bspec says:
"When disabling both the DIP port and DIP transmission,
 first disable the port and then disable DIP."
and
"Restriction : GCP is only supported with HDMI when the bits per color is
 not equal to 8. GCP must be enabled prior to enabling TRANS_DDI_FUNC_CTL
 for HDMI with bits per color not equal to 8 and disabled after disabling
 TRANS_DDI_FUNC_CTL"

So let's do it in the .post_disable() hook.

v2: Remove double "dpms off" caused by rebase fail

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170822140914.24413-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_ddi.c