]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Document runtime pm for intel_lrc_irq_handler()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Apr 2017 17:58:50 +0000 (18:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Apr 2017 08:44:08 +0000 (09:44 +0100)
commita675d073c0c5252ce5618ae46e4f2fd6dd099ed9
treeb4469c3dc070bf13dea434d88c785d08a8498061
parent4f0a615cc85820cc315739d5f2aa1065b78765e6
drm/i915/execlists: Document runtime pm for intel_lrc_irq_handler()

We indirectly hold the runtime-pm for the intel_lrc_irq_handler() by
virtue of dev_priv->gt.awake keeping a wakeref whilst the requests are
busy. As this is not obvious from the code, add a comment.

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