drm/i915/guc: Disable send function on fini
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 26 May 2017 11:13:24 +0000 (11:13 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 May 2017 12:26:53 +0000 (13:26 +0100)
commit2f64085a75f623f5f5f32237131ea8de1c59be0e
tree849f9a70774d40913286cf44139423e6efb5dc33
parent77a494a7250ce082def81a5fa67c24789ecabe0b
drm/i915/guc: Disable send function on fini

In earlier patch 789a625 we were enabling send function only
after successful init. For completeness, we should make sure
that we disable it on fini.

v2: don't group steps by submission flag (Chris)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170526111326.87280-2-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_uc.c