linux/drivers/gpu/drm/nouveau/nvkm/engine/disp
Ben Skeggs 76b8f81a5b drm/nouveau: improve handling of 64-bit BARs
GPUs exist now with a 64-bit BAR0, which mean that BAR1 and BAR2's
indices (as passed to pci_resource_len() etc) are bumped up by one.

Modify nvkm_device.resource_addr/size() to take an enum instead of
an integer bar index, and take IORESOURCE_MEM_64 into account when
translating to the "raw" bar id.

[airlied: fixup ERR_PTR]
Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Timur Tabi <ttabi@nvidia.com>
Tested-by: Timur Tabi <ttabi@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2025-05-19 07:14:35 +10:00
..
base.c
chan.c drm/nouveau: improve handling of 64-bit BARs 2025-05-19 07:14:35 +10:00
chan.h
conn.c
conn.h
dp.c
dp.h
g84.c
g94.c
ga102.c
gf119.c
gk104.c
gk110.c
gm107.c
gm200.c
gp100.c
gp102.c
gt200.c
gt215.c
gv100.c drm/nouveau: improve handling of 64-bit BARs 2025-05-19 07:14:35 +10:00
hdmi.c
hdmi.h
head.c
head.h
ior.c
ior.h
Kbuild drm/nouveau/gsp: add display class ids to gpu hal 2025-05-19 06:29:23 +10:00
mcp77.c drm/nouveau/disp: Fix missing backlight control on Macbook 5,1 2025-01-07 15:45:55 +01:00
mcp89.c
nv04.c
nv50.c
outp.c
outp.h
priv.h
tu102.c
uconn.c
udisp.c
uhead.c
uoutp.c
vga.c