]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/gpu/drm/i915/display/intel_psr.c
drm/i915/psr: Don't tell sink that main link will be active while is active PSR2
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 4 Dec 2018 00:33:56 +0000 (16:33 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 4 Dec 2018 20:12:29 +0000 (12:12 -0800)
commit60cae44251e8f312381c82322ab6f68e3a481113
tree1514a1a3a8c4803d86d4e6b5a3b810eb33927030
parent7c5c641a930ed06ca317ee39faee7d5824266348
drm/i915/psr: Don't tell sink that main link will be active while is active PSR2

For PSR2 there is no register to tell HW to keep main link enabled
while PSR2 is active, so don't configure sink DPCD with a
misleading value.

v2: Moving the set of DP_PSR_CRC_VERIFICATION to the else block
of 'if (dev_priv->psr.psr2_enabled)' to another patch. (Rodrigo)

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181204003403.23361-2-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c