linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb
Ard Biesheuvel 2ecf7c43d7 drm/nouveau/fb/nv50: defer DMA mapping of scratch page to oneinit() hook
The 100c08 scratch page is mapped using dma_map_page() before the TTM
layer has had a chance to set the DMA mask. This means we are still
running with the default of 32 when this code executes, and this causes
problems for platforms with no memory below 4 GB (such as AMD Seattle)

So move the dma_map_page() to the .oneinit hook, which executes after the
DMA mask has been set.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2016-10-12 17:29:34 +10:00
..
base.c drm/nouveau/fb/gp100: initial support 2016-07-14 11:53:25 +10:00
g84.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
gddr3.c drm/nouveau/fb/ramnv50: Deal with cards without timing entries 2015-11-03 15:02:18 +10:00
gddr5.c drm/nouveau/bios/rammap: Identify DLLoff for >= GF100 2015-11-03 15:02:18 +10:00
gf100.c drm/nouveau/fb/gf100: defer DMA mapping of scratch page to oneinit() hook 2016-10-12 17:29:33 +10:00
gf100.h drm/nouveau/fb/gp104: initial support 2016-07-14 11:53:25 +10:00
gk20a.c drm/nouveau/fb/gf100-: allow selection of an alternate big page size 2016-07-14 11:53:25 +10:00
gk104.c drm/nouveau/fb/gf100-: allow selection of an alternate big page size 2016-07-14 11:53:25 +10:00
gm107.c drm/nouveau/fb/gf100-: allow selection of an alternate big page size 2016-07-14 11:53:25 +10:00
gm200.c drm/nouveau/fb/gp100: initial support 2016-07-14 11:53:25 +10:00
gp100.c drm/nouveau/fb/gp104: initial support 2016-07-14 11:53:25 +10:00
gp104.c drm/nouveau/fb/gp104: initial support 2016-07-14 11:53:25 +10:00
gt215.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
Kbuild drm/nouveau/fb/gp104: initial support 2016-07-14 11:53:25 +10:00
mcp77.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
mcp89.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv1a.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv4e.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv04.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv10.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv20.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv25.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv30.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv35.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv36.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv40.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv41.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv44.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv46.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv47.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv49.c drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
nv50.c drm/nouveau/fb/nv50: defer DMA mapping of scratch page to oneinit() hook 2016-10-12 17:29:34 +10:00
nv50.h drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
priv.h drm/nouveau/fb/gp100: initial support 2016-07-14 11:53:25 +10:00
ram.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ram.h drm/nouveau/fb/ram: Use Kepler implementation on Maxwell 2016-10-12 17:29:28 +10:00
ramfuc.h drm/nouveau/fb: convert to new-style nvkm_subdev 2015-08-28 12:40:43 +10:00
ramgf100.c drm/nouveau/ltc: convert to new-style nvkm_subdev 2015-08-28 12:40:44 +10:00
ramgk104.c drm/nouveau/fb/ram: Use Kepler implementation on Maxwell 2016-10-12 17:29:28 +10:00
ramgm107.c drm/nouveau/fb/ram: Use Kepler implementation on Maxwell 2016-10-12 17:29:28 +10:00
ramgp100.c drm/nouveau/fb/gp100: initial support 2016-07-14 11:53:25 +10:00
ramgt215.c drm/nouveau/fb/ramgt215: Restructure r111100 calculation for DDR2 2015-11-03 15:02:18 +10:00
rammcp77.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv1a.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv4e.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv04.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv10.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv20.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv40.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv40.h drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv41.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv44.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv49.c drm/nouveau/fb: transition nvkm_ram away from being based on nvkm_object 2015-08-28 12:40:29 +10:00
ramnv50.c drm/nouveau/bus/hwsq: Implement VBLANK waiting heuristic 2015-11-03 15:02:18 +10:00
ramseq.h drm/nouveau/bus/hwsq: Implement VBLANK waiting heuristic 2015-11-03 15:02:18 +10:00
regsnv04.h drm/nouveau/fb: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:52 +10:00
sddr2.c drm/nouveau/fb/ramnv50: Deal with cards without timing entries 2015-11-03 15:02:18 +10:00
sddr3.c drm/nouveau/bios/rammap: Identify DLLoff for >= GF100 2015-11-03 15:02:18 +10:00