drm/i915: check context reset stats before relocations
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 26 Nov 2013 14:14:33 +0000 (16:14 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Dec 2013 12:20:31 +0000 (13:20 +0100)
Doing it early prevents moving and relocating objects in vain
for contexts that won't get any GPU time.

Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found