]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: simplify swapin/out swizzle checking a bit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 12 Sep 2011 19:30:02 +0000 (21:30 +0200)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Oct 2011 21:11:18 +0000 (14:11 -0700)
commit42f5e45a6b05846ae350d7ee6a8ab514a72a5297
treed6d092b37368311e7dc7740607479813d2ad377f
parent9e64053bb410e99fa404a349237dd7780413803f
drm/i915: simplify swapin/out swizzle checking a bit

Use the helper function already employed by the pwrite/pread
functions.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c