diff options
| author | Jouni Högander <[email protected]> | 2023-10-12 07:21:57 +0000 |
|---|---|---|
| committer | Jouni Högander <[email protected]> | 2023-10-23 06:06:10 +0000 |
| commit | 501069dad5214fafe1b8ba38fa26a5d07df784c3 (patch) | |
| tree | 765b4aeb51462a0bdf6baf8a1e740c61d196d17f /drivers/gpu/drm/i915/display/intel_frontbuffer.c | |
| parent | drm/i915/mtl: Remove the 'force_probe' requirement for Meteor Lake (diff) | |
| download | kernel-501069dad5214fafe1b8ba38fa26a5d07df784c3.tar.gz kernel-501069dad5214fafe1b8ba38fa26a5d07df784c3.zip | |
drm/i915/display: Move releasing gem object away from fb tracking
As a preparation for Xe we want to remove all i915_gem_object details away
from frontbuffer tacking code. Due to this move releasing gem object
reference to i915_gem_object_set_frontbuffer.
Signed-off-by: Jouni Högander <[email protected]>
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_frontbuffer.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_frontbuffer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c index ec46716b2f49..2ea37c0414a9 100644 --- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c +++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c @@ -265,8 +265,6 @@ static void frontbuffer_release(struct kref *ref) spin_unlock(&intel_bo_to_i915(obj)->display.fb_tracking.lock); i915_active_fini(&front->write); - - i915_gem_object_put(obj); kfree_rcu(front, rcu); } |
