linux-sg2042/drivers/gpu/drm/nouveau
Marcin Slusarz 382d62e524 drm/nouveau: fix annoying nouveau_fence type issue
nouveau_fence_* functions are not type safe, which could lead to bugs.
Additionally every use of nouveau_fence_unref had to cast struct
nouveau_fence to void **.
Fix it by renaming old functions and creating static inline functions with
new prototypes. We still need old functions, because we pass function
pointers to ttm.
As we are wrapping functions, drop unused "void *arg" parameter where possible.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-03 15:11:07 +10:00
..
Kconfig drm/nouveau: Fix build regression, undefined reference to `acpi_video_get_edid' 2010-09-24 16:27:40 +10:00
Makefile drm/nv50: move evo handling to nv50_evo.c 2010-12-03 15:10:52 +10:00
nouveau_acpi.c drm/nouveau: we can't free ACPI EDID, so make a copy that we can 2010-09-24 16:26:24 +10:00
nouveau_backlight.c drm/nouveau: don't expose backlight control when available through ACPI 2010-11-18 14:39:02 +10:00
nouveau_bios.c drm/nouveau: Fix a few confusions between "chipset" and "card_type". 2010-11-18 14:39:04 +10:00
nouveau_bios.h drm/nouveau: make bios code easier to use externally 2010-09-24 16:26:56 +10:00
nouveau_bo.c drm/nouveau: fix annoying nouveau_fence type issue 2010-12-03 15:11:07 +10:00
nouveau_calc.c drm/nouveau: make the behaviour of get_pll_limits() consistent 2010-09-24 16:26:49 +10:00
nouveau_channel.c drm/nouveau: fix annoying nouveau_fence type issue 2010-12-03 15:11:07 +10:00
nouveau_connector.c drm/nouveau: Don't use load detection for connector polling. 2010-11-18 14:38:49 +10:00
nouveau_connector.h drm/nouveau: Use "force" to decide if analog load detection is ok or not. 2010-11-18 14:38:41 +10:00
nouveau_crtc.h drm/nouveau: allow cursor image and position to survive suspend 2010-05-28 16:06:17 +10:00
nouveau_debugfs.c drm/nouveau: add debugfs file to forcibly evict everything from vram 2010-09-24 16:28:33 +10:00
nouveau_display.c drm: Propagate error code from fb_create() 2010-08-10 10:46:51 +10:00
nouveau_dma.c drm/nouveau: Minor refactoring/cleanup of the fence code. 2010-10-05 09:58:59 +10:00
nouveau_dma.h drm/nouveau: Use semaphores to handle inter-channel sync in hardware. 2010-10-05 09:59:16 +10:00
nouveau_dp.c drm/nouveau: fix typo in c2aa91afea5f7e7ae4530fabd37414a79c03328c 2010-10-05 09:57:58 +10:00
nouveau_drv.c drm/nouveau: fix annoying nouveau_fence type issue 2010-12-03 15:11:07 +10:00
nouveau_drv.h drm/nouveau: fix annoying nouveau_fence type issue 2010-12-03 15:11:07 +10:00
nouveau_encoder.h drm/nouveau: enable enhanced framing only if DP display supports it 2010-10-05 09:57:35 +10:00
nouveau_fb.h drm/fb: fix fbdev object model + cleanup properly. 2010-04-07 10:21:03 +10:00
nouveau_fbcon.c drm/nouveau: fallback to sw fbcon if we can't get mutex immediately 2010-12-03 15:06:23 +10:00
nouveau_fbcon.h drm/nouveau: disallow fbcon accel if running in interrupt context 2010-12-03 15:04:20 +10:00
nouveau_fence.c drm/nouveau: fix annoying nouveau_fence type issue 2010-12-03 15:11:07 +10:00
nouveau_gem.c drm/nouveau: fix annoying nouveau_fence type issue 2010-12-03 15:11:07 +10:00
nouveau_grctx.h drm/nouveau: modify object accessors, offset in bytes rather than dwords 2010-09-24 16:20:00 +10:00
nouveau_hw.c drm/nv11: Fix bad PLL detection false positive. 2010-11-18 14:38:18 +10:00
nouveau_hw.h drm/nv04: Fix scanout over the 16MB mark. 2010-11-18 14:38:38 +10:00
nouveau_i2c.c drm/nouveau: Fix a few confusions between "chipset" and "card_type". 2010-11-18 14:39:04 +10:00
nouveau_i2c.h Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2010-10-26 18:57:59 -07:00
nouveau_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
nouveau_irq.c drm/nouveau: add support for MSI 2010-12-03 15:11:03 +10:00
nouveau_mem.c drm/nouveau: fix annoying nouveau_fence type issue 2010-12-03 15:11:07 +10:00
nouveau_notifier.c drm/nouveau: add more fine-grained locking to channel list + structures 2010-12-03 15:05:18 +10:00
nouveau_object.c drm/nv50: create graph and crypt contexts on demand 2010-12-03 15:10:44 +10:00
nouveau_perf.c drm/nouveau: parse voltage from perf 0x40 entires 2010-10-05 09:59:39 +10:00
nouveau_pm.c drm/nouveau: hook up acpi power supply change tracking 2010-12-03 15:05:29 +10:00
nouveau_pm.h drm/nva3: split pm backend out from nv50 2010-10-05 09:57:54 +10:00
nouveau_ramht.c drm/nv50: initial work to allow multiple evo channels 2010-12-03 15:10:54 +10:00
nouveau_ramht.h drm/nouveau: return error from nouveau_ramht_remove() if not found 2010-12-03 15:05:27 +10:00
nouveau_reg.h drm/nv50: improve evo error handler when more than just channel 0 active 2010-12-03 15:10:58 +10:00
nouveau_sgdma.c drm/nouveau: Make PCIE GART size depend on the available RAMIN space. 2010-11-18 14:38:57 +10:00
nouveau_state.c drm/nv50: regression fix, point NVAA/NVAC at correct PM functions 2010-12-03 15:11:05 +10:00
nouveau_temp.c drm/nouveau: Fix a few confusions between "chipset" and "card_type". 2010-11-18 14:39:04 +10:00
nouveau_ttm.c drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
nouveau_volt.c drm/nouveau: fix thinko in volt 0x1x parsing 2010-09-24 16:27:58 +10:00
nv04_crtc.c drm/nouveau: Use "force" to decide if analog load detection is ok or not. 2010-11-18 14:38:41 +10:00
nv04_cursor.c drm/nouveau: allow cursor image and position to survive suspend 2010-05-28 16:06:17 +10:00
nv04_dac.c drm/nv0x-nv4x: Leave the 0x40 bit untouched when changing CRE_LCD. 2010-10-05 09:58:43 +10:00
nv04_dfp.c drm/nv04-nv40: Fall back to panel rescaling if we have no usable native mode. 2010-11-18 14:38:15 +10:00
nv04_display.c drm/nouveau: Fix TV-out detection on unposted cards lacking a usable DCB table. 2010-07-26 11:43:48 +10:00
nv04_fb.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv04_fbcon.c drm/nouveau: disallow fbcon accel if running in interrupt context 2010-12-03 15:04:20 +10:00
nv04_fifo.c drm/nouveau: Refactor context destruction to avoid a lock ordering issue. 2010-12-03 15:06:35 +10:00
nv04_graph.c drm/nouveau: only expose the object classes that are supported by the chipset 2010-12-03 15:06:56 +10:00
nv04_instmem.c drm/nouveau: pass gpuobj alignment request down into backing allocator 2010-12-03 15:06:51 +10:00
nv04_mc.c drm/nouveau: Disable PROM access on init. 2010-07-13 10:13:58 +10:00
nv04_pm.c drm/nv10-nv20: Fix instability after MPLL changes. 2010-11-18 14:38:47 +10:00
nv04_timer.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv04_tv.c drm/nv0x-nv4x: Leave the 0x40 bit untouched when changing CRE_LCD. 2010-10-05 09:58:43 +10:00
nv10_fb.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv10_fifo.c drm/nouveau: Refactor context destruction to avoid a lock ordering issue. 2010-12-03 15:06:35 +10:00
nv10_gpio.c drm/nouveau: introduce gpio engine 2010-07-26 11:43:57 +10:00
nv10_graph.c drm/nv10: fix thinko and let nv17 do 3d again :) 2010-12-03 15:11:01 +10:00
nv17_tv.c drm/nv0x-nv4x: Leave the 0x40 bit untouched when changing CRE_LCD. 2010-10-05 09:58:43 +10:00
nv17_tv.h drm/nouveau: Break some long lines in the TV-out code. 2010-09-24 16:24:59 +10:00
nv17_tv_modes.c drm/nouveau: Break some long lines in the TV-out code. 2010-09-24 16:24:59 +10:00
nv20_graph.c drm/nouveau: only expose the object classes that are supported by the chipset 2010-12-03 15:06:56 +10:00
nv30_fb.c drm/nv30: Fix PFB init for nv31. 2010-08-09 15:16:37 +10:00
nv40_fb.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv40_fifo.c drm/nouveau: Refactor context destruction to avoid a lock ordering issue. 2010-12-03 15:06:35 +10:00
nv40_graph.c drm/nouveau: only expose the object classes that are supported by the chipset 2010-12-03 15:06:56 +10:00
nv40_grctx.c drm/nouveau: modify object accessors, offset in bytes rather than dwords 2010-09-24 16:20:00 +10:00
nv40_mc.c drm/nouveau: Add some PFB register defines. 2010-07-26 11:42:13 +10:00
nv50_calc.c drm/nva3: fix overflow in fixed point math used for pll calculation 2010-11-18 14:38:34 +10:00
nv50_crtc.c drm/nouveau: Expose some BO usage flags to userspace. 2010-11-18 14:38:29 +10:00
nv50_cursor.c drm/nouveau: Remove implicit argument from nv_wait(). 2010-09-24 16:25:36 +10:00
nv50_dac.c drm/nouveau: Remove implicit argument from nv_wait(). 2010-09-24 16:25:36 +10:00
nv50_display.c drm/nv50: improve evo error handler when more than just channel 0 active 2010-12-03 15:10:58 +10:00
nv50_display.h drm/nouveau: Move display init to a new nouveau_engine. 2010-07-26 11:43:36 +10:00
nv50_evo.c drm/nv50: fix evo instmem alignment 2010-12-03 15:10:59 +10:00
nv50_evo.h drm/nv50: move evo handling to nv50_evo.c 2010-12-03 15:10:52 +10:00
nv50_fb.c drm/nouveau: add more fine-grained locking to channel list + structures 2010-12-03 15:05:18 +10:00
nv50_fbcon.c drm/nouveau: disallow fbcon accel if running in interrupt context 2010-12-03 15:04:20 +10:00
nv50_fifo.c drm/nouveau: Refactor context destruction to avoid a lock ordering issue. 2010-12-03 15:06:35 +10:00
nv50_gpio.c drm/nouveau: introduce gpio engine 2010-07-26 11:43:57 +10:00
nv50_graph.c drm/nv50: improve evo error handler when more than just channel 0 active 2010-12-03 15:10:58 +10:00
nv50_grctx.c drm/nv50: demagic grctx, and add NVAF support 2010-09-24 16:24:00 +10:00
nv50_instmem.c drm/nouveau: pass gpuobj alignment request down into backing allocator 2010-12-03 15:06:51 +10:00
nv50_mc.c drm/nouveau: introduce gpio engine 2010-07-26 11:43:57 +10:00
nv50_pm.c drm/nva3: split pm backend out from nv50 2010-10-05 09:57:54 +10:00
nv50_sor.c drm/nouveau: Remove implicit argument from nv_wait(). 2010-09-24 16:25:36 +10:00
nv84_crypt.c drm/nv50: remove excessive alignment of graph/crypt contexts 2010-12-03 15:07:00 +10:00
nva3_pm.c drm/nva3: split pm backend out from nv50 2010-10-05 09:57:54 +10:00
nvc0_fb.c drm/nvc0: starting point for GF100 support, everything stubbed 2010-08-06 08:35:17 +10:00
nvc0_fifo.c drm/nouveau: Simplify tile region handling. 2010-09-24 16:25:44 +10:00
nvc0_graph.c drm/nvc0: starting point for GF100 support, everything stubbed 2010-08-06 08:35:17 +10:00
nvc0_instmem.c drm/nouveau: pass gpuobj alignment request down into backing allocator 2010-12-03 15:06:51 +10:00
nvreg.h drm/nv0x-nv4x: Leave the 0x40 bit untouched when changing CRE_LCD. 2010-10-05 09:58:43 +10:00