drm/i915: Move i915_gem_restore_fences to i915_gem_resume
authorSagar Arun Kamble <sagar.a.kamble@intel.com>
Fri, 29 Sep 2017 04:58:36 +0000 (10:28 +0530)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Sep 2017 11:30:17 +0000 (12:30 +0100)
commit269e6ea95311130f75c4eb21bf1797a4cadfb82d
treea682e8b9eeb2c79006096e7c544f68bd0278d1c8
parent60456d5c2d25cbe91cd0747d12ec9d909bf8d5b9
drm/i915: Move i915_gem_restore_fences to i915_gem_resume

i915_gem_restore_fences is GEM resumption task hence it is moved to
i915_gem_resume from i915_restore_state.

Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1506661116-12106-1-git-send-email-sagar.a.kamble@intel.com
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_suspend.c