]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Extract clients allocation to submission_init
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 13 Dec 2017 22:13:51 +0000 (23:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Dec 2017 08:07:00 +0000 (08:07 +0000)
commit8ec52ec8dc6827ea7aed524ed5af7aedcfbc553b
tree2861dd722d35295264e34384a67a428512f918d9
parent9192d4fb811e1e7d07c8fa1a576d2935826daa91
drm/i915/guc: Extract clients allocation to submission_init

We can now move the clients allocation to submission_init path, rather
than keeping the condition inside submission_enable called on every
reset.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171213221352.7173-6-michal.winiarski@intel.com
drivers/gpu/drm/i915/intel_guc_submission.c