]> 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)
commit908c30ad99983b1dc2721736a964e7434b36e33e
treecc412aa3bcc55c924f4fc2886c306a6c47a83b97
parentf3ba415e61186968ecbf0fd5ed0e34a9fd08399c
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