]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify gem stolen initialization.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Dec 2016 19:05:47 +0000 (11:05 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Dec 2016 19:12:53 +0000 (11:12 -0800)
commit5af7edc5859abf7b38e3158bf078db831ec28853
tree37bafc53c10dbf99ffb88767ac29a734ba500547
parent9244f858d74131352305e417515b90c0d4b24e0e
drm/i915: Simplify gem stolen initialization.

Let's take usage of IS_LP to simplify the gem stolen
initialization as suggest by Tvrtko.

Also assume that all new LP platforms follows the chv+
and others bdw+.

v2: Remove the wrong commit message about bxt and glk. (Ander)

Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
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/1482174347-24911-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_gem_stolen.c