]> 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)
commit56b61847c444099e62f9134b305429d90ff270ad
treead8bb973bd13a96e047acda20cc3a09f0470121c
parentc7250179f50bb8f99e314e759d2b068012b890b0
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