]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix lock order reversal with cliprects and cmdbuf in non-DRI2 paths.
authorEric Anholt <eric@anholt.net>
Wed, 11 Mar 2009 19:30:04 +0000 (12:30 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 Mar 2009 21:47:34 +0000 (14:47 -0700)
commit2e20300693c2c8ff6bfe6ca1af0d06e1da9f0a10
tree12a5d23a45f72f8bd917161735d55985654b52e0
parent94ad806c8dbd1c86cf7e98f64027499c326f9049
drm/i915: Fix lock order reversal with cliprects and cmdbuf in non-DRI2 paths.

This introduces allocation in the batch submission path that wasn't there
previously, but these are compatibility paths so we care about simplicity
more than performance.

kernel.org bug #12419.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c