2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/drivers/gpu/drm/nouveau/nvkm/subdev
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
..
bar drm/nouveau/bar/nv50: fix bar2 vm size 2016-10-12 17:29:31 +10:00
bios drm/nouveau/bios/vmap: unk0 field is the mode 2016-10-12 17:29:26 +10:00
bus drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
clk drm/nouveau/clk: Allow boosting only when NvBoost is set 2016-10-12 17:29:25 +10:00
devinit drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
fb drm/nouveau/fb/nv50: defer DMA mapping of scratch page to oneinit() hook 2016-10-12 17:29:34 +10:00
fuse drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
gpio drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
i2c drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
ibus drm/nouveau/ibus/gk20a: use udelay() in interrupt context 2016-10-12 17:29:02 +10:00
iccsense drm/nouveau/iccsense: Parse the resistors and config the right way 2016-10-12 17:29:02 +10:00
instmem dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
ltc drm/nouveau/ltc/gp100: initial support 2016-07-14 11:53:25 +10:00
mc drm/nouveau/mc/gp100: initial support 2016-07-14 11:53:25 +10:00
mmu drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
mxm drm/nouveau/nouveau: bios pointers may be unaligned, use proper accessors 2016-10-12 17:29:02 +10:00
pci drm/nouveau/pci/gp100: initial support 2016-07-14 11:53:25 +10:00
pmu drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
secboot drm/nouveau/secboot/gm200: initial support 2016-07-14 11:53:25 +10:00
therm drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
timer drm/nouveau/core: remove pmc_enable argument from subdev ctor 2016-05-20 14:43:04 +10:00
top drm/nouveau/top/gp100: initial support 2016-07-14 11:53:25 +10:00
volt drm/nouveau/volt: use kernel's 64-bit signed division function 2016-10-12 17:29:30 +10:00
Kbuild drm/nouveau/core: add top plumbing 2016-05-20 14:43:04 +10:00