android_kernel_xiaomi_sm8350/drivers/gpu/drm/i915
Eric Anholt 546b0974c3 i915: Use struct_mutex to protect ring in GEM mode.
In the conversion for GEM, we had stopped using the hardware lock to protect
ring usage, since it was all internal to the DRM now.  However, some paths
weren't converted to using struct_mutex to prevent multiple threads from
concurrently working on the ring, in particular between the vblank swap handler
and ioctls.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-10-18 07:10:51 +10:00
..
i915_dma.c i915: Use struct_mutex to protect ring in GEM mode. 2008-10-18 07:10:51 +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: Use struct_mutex to protect ring in GEM mode. 2008-10-18 07:10:51 +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 drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem.c i915: Use struct_mutex to protect ring in GEM mode. 2008-10-18 07:10:51 +10:00
i915_ioc32.c
i915_irq.c i915: Use struct_mutex to protect ring in GEM mode. 2008-10-18 07:10:51 +10:00
i915_mem.c
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