drm/i915: Split sink_crc function in start, stop and read.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 30 Jul 2015 23:26:39 +0000 (16:26 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Aug 2015 08:06:57 +0000 (10:06 +0200)
commit082dcc7c0c666df9a37879d79a15a8115f05a08f
treed0b38c032a4f9d9ed8f02a3e944cf72c3c586f01
parent74b4ea1e4e8a5134b8a201e7fd6a3b529f7d0035
drm/i915: Split sink_crc function in start, stop and read.

This is just a preparation patch to make clear what operation we
are performing. There is no functional change on the sink crc
logic.

hsw_disable_ips has been moved a bit further in the start function
to avoid disabling ips when sink crc is not going to be started.
and to avoid goto on this function.

v2: explain why hsw_disable_ips() call place has changed.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c