]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit201361a54ed187d8595a283e3a4ddb213bc8323b
tree12a5d23a45f72f8bd917161735d55985654b52e0
parenteb01459fbbccb4ca0b879cbfc97e33ac6eabf975
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