]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a87d5b2a8c2c22b9782737be52f24bbae57bfd9
treee2661902161f92c64b5a8a85cb307b9ee87ad8ae
parentb7cf7126291b7936bc55763b25671ba47a03b1ff
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