drm/i915/psr: Set PSR CRC verification bit in sink inside PSR1 block
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 4 Dec 2018 00:33:57 +0000 (16:33 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 4 Dec 2018 20:12:30 +0000 (12:12 -0800)
commitde570946c0e5a44568c4d40d52042100936f93fd
treef4ee93c5e1ee40a1a1e44b33b4e2015ebc2be1f0
parent60cae44251e8f312381c82322ab6f68e3a481113
drm/i915/psr: Set PSR CRC verification bit in sink inside PSR1 block

As we have a else block for the 'if (dev_priv->psr.psr2_enabled) {'
and this bit is only set for PSR1 move it to that block to make it
more easy to read.

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-3-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c