diff options
author | Anshuman Gupta <anshuman.gupta@intel.com> | 2022-10-27 12:22:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-31 15:32:06 +0300 |
commit | 6039c79ea54fb079adf7a8351313575371cbff52 (patch) | |
tree | 502f4b88c0d4761e46787aa695726f2f81ddd698 /io_uring/openclose.h | |
parent | 37ec70c44ec9cc43d3b98c6f5f83eb018d2b02a4 (diff) | |
download | linux-6039c79ea54fb079adf7a8351313575371cbff52.tar.xz |
drm/i915: Encapsulate lmem rpm stuff in intel_runtime_pm
[ Upstream commit e66c8dcf997ed54b62f754351e7129e1cc4e3cf9 ]
Runtime pm is not really per GT, therefore it make sense to
move lmem_userfault_list, lmem_userfault_lock and
userfault_wakeref from intel_gt to intel_runtime_pm structure,
which is embedded to i915.
No functional change.
v2:
- Fixes the code comment nit. [Matt Auld]
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221027092242.1476080-2-anshuman.gupta@intel.com
Stable-dep-of: 1cacd6894d5f ("drm/i915/dgfx: Grab wakeref at i915_ttm_unmap_virtual")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'io_uring/openclose.h')
0 files changed, 0 insertions, 0 deletions