drm/i915/guc: reserve the doorbell before selecting the cacheline
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 22 Oct 2018 23:04:23 +0000 (16:04 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Oct 2018 08:36:52 +0000 (09:36 +0100)
commitbfeabcc87ae0f2dd75bc64f3fedbb6b762b4e5c6
treec458dce67c508bf5210f36f9383f747df30011fe
parent6f1312e6e046de8a77aa5e657e269f1968eca00c
drm/i915/guc: reserve the doorbell before selecting the cacheline

Cacheline selection is only needed if we actually manage to reserve a
doorbell.

Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20181022230427.5616-2-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/intel_guc_submission.c