drm/i915/tdr: Initialize hangcheck struct for each engine
authorTomas Elf <tomas.elf@intel.com>
Mon, 21 Mar 2016 16:26:59 +0000 (16:26 +0000)
committerMika Kuoppala <mika.kuoppala@intel.com>
Tue, 22 Mar 2016 11:52:42 +0000 (13:52 +0200)
commitfc0768ceac126ea6ec2ff8bd56bbe4abe11695bc
treeea54aef3421f95a1d49f603c4e437d73bab8ae67
parent29dc3739e50da3576ddf89d9ea2704640676135d
drm/i915/tdr: Initialize hangcheck struct for each engine

Initialize hangcheck struct during driver load. Since we do the same after
recovering from a reset, this is extracted into a helper function.

v2: remove redundant hangcheck init during load as this is done when
engines are initialized (Chris)

Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Tomas Elf <tomas.elf@intel.com>
Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458577619-12006-1-git-send-email-arun.siluvery@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
This page took 0.029073 seconds and 5 git commands to generate.