drm/i915/bdw: Help out the ctx switch interrupt handler
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 24 Jul 2014 16:04:41 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Aug 2014 20:44:04 +0000 (22:44 +0200)
commitf1ad5a1fd4127b3a5e21b8f5ef7f1921a5d3063e
treee2adc3826c1d539acb569535937947253f8cc07d
parente1fee72c2ea2e9c0c6e6743d32a6832f21337d6c
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 <oscar.mateo@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Checkpatch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c
This page took 0.025377 seconds and 5 git commands to generate.