linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb
Wentao Liang 67b4411538 drm/nouveau: Fix bridge reference leak in nv1a_ram_new()
pci_get_domain_bus_and_slot() takes a reference to the PCI device,
which is never released once the memory size has been read from its
config space.  Drop the reference before returning.

Fixes: 2fa6d6cdaf ("drm/nouveau: deprecate pci_get_bus_and_slot()")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260916180036.2090118-1-vulab@iscas.ac.cn
2026-09-17 13:19:03 -04:00
..
base.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
g84.c
ga100.c drm/nouveau/fb/tu102-: prepare for GSP-RM 2023-10-31 15:08:11 +10:00
ga102.c drm/nouveau: add support for GH100 2025-05-19 07:14:44 +10:00
gb100.c drm/nouveau: verify that hardware supports the flush page address 2025-11-24 17:53:22 -05:00
gb202.c drm/nouveau: verify that hardware supports the flush page address 2025-11-24 17:53:22 -05:00
gddr3.c
gddr5.c
gf100.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
gf100.h
gf108.c drm/nouveau/fb: add missing sysmen flush callbacks 2023-04-11 12:35:46 +02:00
gh100.c drm/nouveau: verify that hardware supports the flush page address 2025-11-24 17:53:22 -05:00
gk20a.c
gk104.c drm/nouveau/fb: add missing sysmen flush callbacks 2023-04-11 12:35:46 +02:00
gk104.h
gk110.c drm/nouveau/fb: add missing sysmen flush callbacks 2023-04-11 12:35:46 +02:00
gm20b.c
gm107.c drm/nouveau/fb: add missing sysmen flush callbacks 2023-04-11 12:35:46 +02:00
gm200.c
gp10b.c
gp100.c
gp102.c drm/nouveau/fb/gp102-ga100: switch to simpler vram size detection method 2023-07-06 17:22:33 +02:00
gt215.c
gv100.c drm/nouveau/fb/gp102-ga100: switch to simpler vram size detection method 2023-07-06 17:22:33 +02:00
Kbuild drm/nouveau: add support for GB20x 2025-05-19 07:14:45 +10:00
mcp77.c
mcp89.c
nv1a.c
nv04.c
nv4e.c
nv10.c
nv20.c
nv25.c
nv30.c
nv35.c
nv36.c
nv40.c
nv41.c
nv44.c
nv46.c
nv47.c
nv49.c
nv50.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
nv50.h
priv.h drm/nouveau: add support for GH100 2025-05-19 07:14:44 +10:00
r535.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ram.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ram.h drm/nouveau/fb: restore init() for ramgp102 2024-09-10 12:22:48 +02:00
ramfuc.h
ramgf100.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ramgf108.c
ramgk104.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ramgm107.c
ramgm200.c
ramgp100.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ramgp102.c drm/nouveau/fb: restore init() for ramgp102 2024-09-10 12:22:48 +02:00
ramgt215.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rammcp77.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ramnv1a.c drm/nouveau: Fix bridge reference leak in nv1a_ram_new() 2026-09-17 13:19:03 -04:00
ramnv04.c
ramnv4e.c
ramnv10.c
ramnv20.c
ramnv40.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ramnv40.h
ramnv41.c
ramnv44.c
ramnv49.c
ramnv50.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ramseq.h
regsnv04.h
sddr2.c
sddr3.c
tu102.c drm/nouveau/fb/tu102-: prepare for GSP-RM 2023-10-31 15:08:11 +10:00