]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move GT powersaving init to i915_gem_init()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Nov 2017 14:26:29 +0000 (14:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Nov 2017 17:20:26 +0000 (17:20 +0000)
commit0860c96eca3ab1279e67008d59b5801a6e57b5a8
treecc412aa3bcc55c924f4fc2886c306a6c47a83b97
parentedf8e4d386d73b67b8021c9fe1e5f60e7b36b934
drm/i915: Move GT powersaving init to i915_gem_init()

GT powersaving is tightly coupled to the request infrastructure. To
avoid complications with the order of initialisation in the next patch
(where we want to send requests to hw during GEM init) move the
powersaving initialisation into the purview of i915_gem_init().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171110142634.10551-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pm.c