linux_dsm_epyc7002/drivers/gpu/drm/nouveau
Ben Skeggs ebb945a94b drm/nouveau: port all engines to new engine module format
This is a HUGE commit, but it's not nearly as bad as it looks - any problems
can be isolated to a particular chipset and engine combination.  It was
simply too difficult to port each one at a time, the compat layers are
*already* ridiculous.

Most of the changes here are simply to the glue, the process for each of the
engine modules was to start with a standard skeleton and copy+paste the old
code into the appropriate places, fixing up variable names etc as needed.

v2: Marcin Slusarz <marcin.slusarz@gmail.com>
- fix find/replace bug in license header

v3: Ben Skeggs <bskeggs@redhat.com>
- bump indirect pushbuf size to 8KiB, 4KiB barely enough for userspace and
  left no space for kernel's requirements during GEM pushbuf submission.
- fix duplicate assignments noticed by clang

v4: Marcin Slusarz <marcin.slusarz@gmail.com>
- add sparse annotations to nv04_fifo_pause/nv04_fifo_start
- use ioread32_native/iowrite32_native for fifo control registers

v5: Ben Skeggs <bskeggs@redhat.com>
- rebase on v3.6-rc4, modified to keep copy engine fix intact
- nv10/fence: unmap fence bo before destroying
- fixed fermi regression when using nvidia gr fuc
- fixed typo in supported dma_mask checking

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2012-10-03 13:12:56 +10:00
..
core drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
Kconfig drm/nouveau: select POWER_SUPPLY 2012-04-02 10:45:49 +01:00
Makefile drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_abi16.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_abi16.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_acpi.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_agp.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_agp.h drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_backlight.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_bios.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_bios.h drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_bo.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_bo.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_calc.c drm/nouveau/clock: pull in the implementation from all over the place 2012-10-03 13:12:47 +10:00
nouveau_chan.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_chan.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_compat.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_compat.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_connector.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_connector.h drm/nouveau/i2c: port to subdev interfaces 2012-10-03 13:12:46 +10:00
nouveau_crtc.h drm/nv50/display: expose color vibrance control 2012-03-13 17:14:56 +10:00
nouveau_display.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_dma.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_dma.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_dp.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_drm.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_drm.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_drv.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_drv.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_encoder.h drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nouveau_fb.h drm/nouveau/fb: merge fb/vram and port to subdev interfaces 2012-10-03 13:12:49 +10:00
nouveau_fbcon.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_fbcon.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_fence.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_fence.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_gem.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_gem.h drm/nouveau: pull nouveau_gem definitions into their own header 2012-10-03 13:12:53 +10:00
nouveau_hdmi.c drm/nouveau/hdmi: use correct hdmi regs for nvaa/nvac 2012-04-30 15:55:39 +10:00
nouveau_hw.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nouveau_hw.h drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nouveau_hwsq.h drm/nouveau/hwsq: remove some magic, give proper opcode names 2011-12-21 19:01:44 +10:00
nouveau_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
nouveau_irq.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_mem.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_mxm.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nouveau_perf.c drm/nva3/pm: initial attempt at more magic PFB regs 2012-05-24 16:31:16 +10:00
nouveau_pm.c drm/nouveau/timer: port to subdev interfaces 2012-10-03 13:12:48 +10:00
nouveau_pm.h drm/nva3/pm: initial attempt at more magic PFB regs 2012-05-24 16:31:16 +10:00
nouveau_prime.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_reg.h drm/nva3/backlight: add suppport for newer style backlight regs 2011-09-20 16:10:06 +10:00
nouveau_revcompat.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_revcompat.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_sgdma.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_state.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_temp.c drm/nouveau/i2c: port to subdev interfaces 2012-10-03 13:12:46 +10:00
nouveau_ttm.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_ttm.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nouveau_volt.c drm/nouveau/gpio: port gpio to subdev interfaces 2012-10-03 13:12:45 +10:00
nv04_crtc.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv04_cursor.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv04_dac.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv04_dfp.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv04_display.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv04_display.h drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv04_fbcon.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv04_fence.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv04_pm.c drm/nouveau/timer: port to subdev interfaces 2012-10-03 13:12:48 +10:00
nv04_tv.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv10_fence.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv17_tv_modes.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv17_tv.c drm/nv04/disp: kick all private state out to own header 2012-10-03 13:12:53 +10:00
nv17_tv.h drm: Mark constant arrays of drm_display_mode const 2011-02-23 11:13:11 +10:00
nv40_pm.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv50_crtc.c drm/nouveau/clock: pull in the implementation from all over the place 2012-10-03 13:12:47 +10:00
nv50_cursor.c drm/nouveau: use the same packet header macros as userspace 2012-05-24 16:31:49 +10:00
nv50_dac.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nv50_display.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv50_display.h drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv50_evo.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv50_evo.h drm/nv50/display: expose color vibrance control 2012-03-13 17:14:56 +10:00
nv50_fbcon.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv50_fence.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv50_pm.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nv50_sor.c drm/nouveau: implement devinit subdev, and new init table parser 2012-10-03 13:12:47 +10:00
nv84_fence.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nva3_pm.c drm/nouveau/fb: merge fb/vram and port to subdev interfaces 2012-10-03 13:12:49 +10:00
nvc0_fbcon.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nvc0_fence.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nvc0_pm.c drm/nouveau/fb: merge fb/vram and port to subdev interfaces 2012-10-03 13:12:49 +10:00
nvd0_display.c drm/nouveau: port all engines to new engine module format 2012-10-03 13:12:56 +10:00
nvreg.h drm/nv17-nv40: Fix modesetting failure when pitch == 4096px (fdo bug 35901). 2011-06-07 09:22:29 +10:00