]> 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)
commit6051bb7a8b4b3614c8dff0b6a945f26f09131b75
treee2661902161f92c64b5a8a85cb307b9ee87ad8ae
parent5a3cf2bf6a013d32996e29a8cb6ada257d84a8b7
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