]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Park the GPU on module load
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Sep 2018 16:13:43 +0000 (17:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Sep 2018 19:43:30 +0000 (20:43 +0100)
commit8e1cb32d515bc6b691782104b00d9056a33127c8
tree0d7dba3c27226a43cbb006d9db8fa795c4eb86da
parentb8bdd9cc6049fe8d96178001da84ac98e697a5ba
drm/i915: Park the GPU on module load

Once we have flushed the first request through the system to both load a
context and record the default state; tell the GPU to park and idle
itself, putting itself immediately (hopefully at least) into a
powersaving state, and allowing ourselves to start from known state
after setting up all our bookkeeping.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180920161343.1117-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c