]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/guc: Do not use 0 for GuC doorbell cookie
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 25 Oct 2017 20:00:09 +0000 (22:00 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Oct 2017 20:35:21 +0000 (21:35 +0100)
commit21e8860ef467001330368eceeb855fde46ab1dec
treed69006c9b530c43c72b8292ba0f7d7393c9fd8dc
parentf8c3dcf946bfb1e0519fb095d02f9b7def30a749
drm/i915/guc: Do not use 0 for GuC doorbell cookie

Apparently, this value is reserved and may be interpreted as changing
doorbell ownership. Even though we're not observing any side effects
now, let's skip over it to be consistent with the spec.

v2: Apply checkpatch (Sagar)

Suggested-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171025200020.16636-2-michal.winiarski@intel.com
drivers/gpu/drm/i915/i915_guc_submission.c