Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915/display i915: Call i915_...



details:   https://anonhg.NetBSD.org/src/rev/911e263bdc99
branches:  trunk
changeset: 1028830:911e263bdc99
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:09:43 2021 +0000

description:
i915: Call i915_active_fini after init for frontbuffer.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/display/intel_frontbuffer.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8f550aa8470e -r 911e263bdc99 sys/external/bsd/drm2/dist/drm/i915/display/intel_frontbuffer.c
--- a/sys/external/bsd/drm2/dist/drm/i915/display/intel_frontbuffer.c   Sun Dec 19 12:09:35 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/display/intel_frontbuffer.c   Sun Dec 19 12:09:43 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_frontbuffer.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $  */
+/*     $NetBSD: intel_frontbuffer.c,v 1.3 2021/12/19 12:09:43 riastradh Exp $  */
 
 /*
  * Copyright © 2014 Intel Corporation
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_frontbuffer.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_frontbuffer.c,v 1.3 2021/12/19 12:09:43 riastradh Exp $");
 
 #include "display/intel_dp.h"
 
@@ -238,6 +238,7 @@
        spin_unlock(&to_i915(obj->base.dev)->fb_tracking.lock);
 
        i915_gem_object_put(obj);
+       i915_active_fini(&front->write);
        kfree_rcu(front, rcu);
 }
 



Home | Main Index | Thread Index | Old Index