]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rename intel_wakeref_[is]_active
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jun 2019 13:01:14 +0000 (14:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jun 2019 19:17:22 +0000 (20:17 +0100)
commitd5a1c36013ed1dc0d5f88332d10d353c204d63d3
treead8bb973bd13a96e047acda20cc3a09f0470121c
parentbb193b3ed2ad7aebe5f388d05ab91cf3b445cf46
drm/i915: Rename intel_wakeref_[is]_active

Our general rule is to use is/has as the verb for boolean functions,
rename intel_wakeref_active to intel_wakeref_is_active so the question
being asked is clear.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190625130128.11009-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_pm.c
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_engine_pm.h
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_reset.c
drivers/gpu/drm/i915/intel_wakeref.h