]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Expand is_lp backwards to gen8_lp and gen7_lp.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Sun, 18 Dec 2016 21:36:26 +0000 (13:36 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Dec 2016 19:08:00 +0000 (11:08 -0800)
commit8727dc090284de5e30006034dc732245c5259501
tree05fe127a06208ad9f4137448728c583c06c45d6b
parent9f2bdb006a7e432726434aabf67a9cc0b62d266b
drm/i915: Expand is_lp backwards to gen8_lp and gen7_lp.

Valleyview/Baytrail (gen7_lp) and Cherryview/Braswell (gen8_lp)
are both Atom platforms like Broxton/Apollolake and Geminilake.

So let's expand this is_lp back to these platforms and
create the IS_LP(dev_priv) so we can start simplifying a bit
our if/else for platform lists.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1482096988-400-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c