]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/guc: Remove client->submissions
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 14 Aug 2019 00:21:45 +0000 (17:21 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 14 Aug 2019 08:04:56 +0000 (09:04 +0100)
commit0b08ae030154118705b993ff69b3f0c9c450c229
tree04e90dc15c643b45a818ad2541d64be2e5f6963c
parentbe6133b8917f8131b76728f11db51a65c91b3fec
drm/i915/guc: Remove client->submissions

The engine->guc_id is GuC FW defined and it is not guaranteed to be
below I915_NUM_ENGINES, so we shouldn't use it with the i915-defined
client->submissions, as we might overflow.
Instead of fixing it, just get rid of client->submissions, because the
information we get from it is not interesting anymore now that we only
have 1 client.

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