linux/drivers/gpu/drm/i915
Linus Torvalds 9b7530cc32 i915: cleanup coding horrors in i915_gem_gtt_pwrite()
Yes, this will probably be switched over to a cleaner model anyway, but
in the meantime I don't want to see the 'unused variable' warnings that
come from the disgusting #ifdef code.  Make the special case be a nice
inlien function of its own, clean up the code, and make the warning go
away.

I wish people didn't write code that gets (valid) warnings from the
compiler, but I'll limit my fixes to code that I actually care about (in
this case just because I see the warning and it annoys me).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 14:16:43 -07:00
..
i915_dma.c drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831) 2008-10-18 07:18:05 +10:00
i915_drv.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_drv.h i915: Map status page cached for chips with GTT-based HWS location. 2008-10-18 07:10:53 +10:00
i915_gem_debug.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem_proc.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem_tiling.c i915: GM45 has GM965-style MCH setup. 2008-10-18 07:10:53 +10:00
i915_gem.c i915: cleanup coding horrors in i915_gem_gtt_pwrite() 2008-10-20 14:16:43 -07:00
i915_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915_irq.c drm: Increment dev_priv->irq_received so i915_gem_interrupts count works. 2008-10-18 07:10:53 +10:00
i915_mem.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915_opregion.c Add Intel ACPI IGD OpRegion support 2008-10-18 07:10:10 +10:00
i915_reg.h drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_suspend.c new chip name is GM45 2008-10-18 07:10:11 +10:00
Makefile drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00