drm/i915/guc: Do not use 0 for GuC doorbell cookie
authorMichał Winiarski <[email protected]>
Wed, 25 Oct 2017 20:00:09 +0000 (22:00 +0200)
committerChris Wilson <[email protected]>
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 <[email protected]>
Signed-off-by: Michał Winiarski <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Sagar Arun Kamble <[email protected]>
Reviewed-by: Sagar Arun Kamble <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_guc_submission.c