maintainer-feedback requested: [Bug 282399] graphics/drm-kmod: kldunload drm_managed and debugfsint amdgpu leak memory

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 282399: graphics/drm-kmod: kldunload drm_managed and debugfsint amdgpu leak
memory
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282399



--- Description ---
# uname -aKU
FreeBSD afrodite 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64 1401000
1401000

# pciconf -lv
(...)
vgapci0@pci0:0:1:0:	class=0x030000 rev=0xc6 hdr=0x00 vendor=0x1002
device=0x9874 subvendor=0x103c subdevice=0x805b
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Wani [Radeon R5/R6/R7 Graphics]'
    class      = display
    subclass   = 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).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.