drm/i915: PSR: Organize PSR enable function
authorRodrigo Vivi <rodrigo.vivi@gmail.com>
Tue, 16 Sep 2014 23:19:06 +0000 (19:19 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 08:37:00 +0000 (10:37 +0200)
commit0aa48783979d40a1de59eb5b04989e1398400c3c
treef8c75ec0f472cb9809ce2393f63b77cca9af1d8b
parentba80f4d4266b2c804a2dd6deec6e2df32cb033ce
drm/i915: PSR: Organize PSR enable function

We don't need to setup everything else if it doesn't match all conditions.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c