From: Dave Gordon Date: Tue, 18 Nov 2014 20:07:20 +0000 (+0000) Subject: drm/i915: Check for matching ringbuffer in logical_ring_wait_request() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~43^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e215135f8ad7519fb079a0234e91a94bddd2f9;p=pandora-kernel.git drm/i915: Check for matching ringbuffer in logical_ring_wait_request() The request queue is per-engine, and may therefore contain requests from several different contexts/ringbuffers. In determining which request to wait for, this function should only consider requests from the ringbuffer that it's checking for space, and ignore any that it finds that belong to other contexts. Signed-off-by: Dave Gordon Reviewed-by: Deepak S Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed