Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2024 10:19:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 282399] graphics/drm-kmod: kldunload drm_managed and debugfsint amdgpu leak memory
Message-ID:  <bug-282399-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282399

            Bug ID: 282399
           Summary: graphics/drm-kmod: kldunload drm_managed and
                    debugfsint amdgpu leak memory
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: vedran@miletic.net
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

# uname -aKU
FreeBSD afrodite 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64 1401=
000
1401000

# pciconf -lv
(...)
vgapci0@pci0:0:1:0:     class=3D0x030000 rev=3D0xc6 hdr=3D0x00 vendor=3D0x1=
002
device=3D0x9874 subvendor=3D0x103c subdevice=3D0x805b
    vendor     =3D 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     =3D 'Wani [Radeon R5/R6/R7 Graphics]'
    class      =3D display
    subclass   =3D VGA
(...)

# kldunload amdgpu
# dmesg
(...)
iic3: detached
iicbus3: detached
lkpi_iic3: detached
iic4: detached
iicbus4: detached
lkpi_iic4: detached
iic5: detached
iicbus5: detached
lkpi_iic5: detached
Warning: can't remove non-dynamic nodes (dri)!
drmn0: amdgpu: finishing device.
drmn0: detached
Freed UMA keg (drm_buddy_block) was not empty (83 items).  Lost 3 pages of
memory.
Freed UMA keg (drm_sched_fence) was not empty (1 items).  Lost 1 pages of
memory.
Warning: memory type drm_managed leaked memory on destroy (13 allocations, =
832
bytes leaked).
iic0: detached
iicbus0: <unknown card> at addr 0
iic1: detached
iicbus1: <unknown card> at addr 0
iic2: detached
iicbus2: <unknown card> at addr 0
Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80
bytes leaked).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282399-7141>