drm/i915: PSR also doesn't have link_entry_time on SKL.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Sat, 12 Dec 2015 00:31:31 +0000 (16:31 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Sat, 12 Dec 2015 00:32:56 +0000 (16:32 -0800)
commit7370c68d5b9a2e853600290e797a4a79fefaf1e7
treee2661902161f92c64b5a8a85cb307b9ee87ad8ae
parent618100f8a84b8a97f7c1a0e03acf0d466102f40f
drm/i915: PSR also doesn't have link_entry_time on SKL.

This bit is also reserved on Skylake. Actually the only
platform that supports this is Haswell, so let's fix
this logic and apply this link entry time only for the
platform that supports it, i.e. Haswell.

This also changes the style to let more clear platform
differences outside the reg write. We would probably catch
this case sooner if separated, or not...

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449880291-21388-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_psr.c