diff options
author | Anshuman Gupta <anshuman.gupta@intel.com> | 2022-09-13 20:57:13 +0530 |
---|---|---|
committer | Anshuman Gupta <anshuman.gupta@intel.com> | 2022-09-14 18:18:55 +0530 |
commit | f5e92d23f51ced4f366b3193822f705a08beb3b1 (patch) | |
tree | 146138365472716bf0d934055ee1ac7c2d95afe0 /drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | |
parent | 42b2bdc8c478a705a9642c85d8b3802f5516447d (diff) | |
download | linux-f5e92d23f51ced4f366b3193822f705a08beb3b1.tar.gz linux-f5e92d23f51ced4f366b3193822f705a08beb3b1.tar.bz2 linux-f5e92d23f51ced4f366b3193822f705a08beb3b1.zip |
drm/i915: Refactor userfault_wakeref to re-use
Refactor userfault_wakeref to re-use for discrete lmem mmap mapping
as well, as on discrete GTT mmap are not supported. Moving
userfault_wakeref from ggtt to gt structure.
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220913152714.16541-2-anshuman.gupta@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c')
-rw-r--r-- | drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c b/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c index 6ebda3d65086..f920d5484132 100644 --- a/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c +++ b/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c @@ -842,7 +842,6 @@ void intel_ggtt_init_fences(struct i915_ggtt *ggtt) INIT_LIST_HEAD(&ggtt->fence_list); INIT_LIST_HEAD(&ggtt->userfault_list); - intel_wakeref_auto_init(&ggtt->userfault_wakeref, uncore->rpm); detect_bit_6_swizzle(ggtt); |