]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/guc: Don't clear the cookie on doorbell destroy
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 2 Oct 2018 21:54:29 +0000 (14:54 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Oct 2018 06:29:48 +0000 (07:29 +0100)
commit0fc645f338e3e1a4ee05e5529d86ac596c5921b6
treea2fc539c68c1801e0e53034f6f3179e6671c1f37
parent48b426a9b9ab93481a2c5b913c2c6add5fb1001a
drm/i915/guc: Don't clear the cookie on doorbell destroy

If the HW has not processed the db invalidation request yet, clearing
the cookie can generate a db ring. We clear the cookie when we
(re-)allocate the doorbell so no need to do it on destroy as well as no
one is going to look at it while the doorbell is inactive

v2: fix typo in patch title (Michal)

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