]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Move rps.enabled/active to flags
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Apr 2020 20:54:42 +0000 (21:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Apr 2020 23:57:35 +0000 (00:57 +0100)
commit3e385fd60780381c97a863432037ecd3a0044c44
tree0d45752080bf5f242ab1f5e35aa981ee24d2ff03
parenta156d1d0a3a2ccc72ec3f41643aae83ebe6bbc6b
drm/i915/gt: Move rps.enabled/active to flags

Pull the boolean intel_rps.enabled and intel_rps.active into a single
flags field, in preparation for more.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429205446.3259-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/debugfs_gt_pm.c
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/gt/intel_rps.h
drivers/gpu/drm/i915/gt/intel_rps_types.h
drivers/gpu/drm/i915/gt/selftest_rps.c
drivers/gpu/drm/i915/i915_debugfs.c