From: Oscar Mateo Date: Thu, 24 Jul 2014 16:04:41 +0000 (+0100) Subject: drm/i915/bdw: Help out the ctx switch interrupt handler X-Git-Tag: fixes-against-v3.18-rc2~73^2~73^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1ad5a1fd4127b3a5e21b8f5ef7f1921a5d3063e;p=pandora-kernel.git drm/i915/bdw: Help out the ctx switch interrupt handler If we receive a storm of requests for the same context (see gem_storedw_loop_*) we might end up iterating over too many elements in interrupt time, looking for contexts to squash together. Instead, share the burden by giving more intelligence to the queue function. At most, the interrupt will iterate over three elements. Signed-off-by: Oscar Mateo Reviewed-by: Damien Lespiau [danvet: Checkpatch.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed