]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't show engine information in fdinfo with GuC submission
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Fri, 15 Apr 2022 00:25:11 +0000 (17:25 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 15 Apr 2022 21:42:00 +0000 (14:42 -0700)
commitcc7ffaa7c73e050dedee5064a816608847e4451d
treea357a72b7b17d4a7d4cd1fe052a6a7843e19f473
parent1dd0a9b31807d76f601858ba8736ca6eac371523
drm/i915: Don't show engine information in fdinfo with GuC submission

At present i915 does not fetch busyness information from GuC, resulting in
incorrect busyness values in fdinfo. Because engine information is coupled
with busyness in fdinfo, skip showing client engine information in fdinfo
with GuC submission till fetching busyness is supported in the i915 GuC
submission backend.

v2 (Daniele):
  Make commit title and description more precise
  Add FIXME with brief description at code change
  s/intel_guc_submission_is_used/intel_uc_uses_guc_submission/

v3 (Daniele):
  Drop FIXME in comment

Bug: https://gitlab.freedesktop.org/drm/intel/-/issues/5564
Fixes: 6932f0eba7e2 ("drm/i915: Expose client engine utilisation via fdinfo")
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b614c2c61a954de06fbe2c3a7c70d3a91804407e.1649982207.git.ashutosh.dixit@intel.com
drivers/gpu/drm/i915/i915_drm_client.c