]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Asynchronous flush of GuC log regions
authorAlan Previn <alan.previn.teres.alexis@intel.com>
Tue, 7 Jun 2022 00:23:14 +0000 (17:23 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 6 Jul 2022 21:38:56 +0000 (14:38 -0700)
commit555b6b09b7a7bbe15b20059ac37b2d524f17bdb1
tree52a2ff49b66a83ed8c427bb1d91b229b88d80843
parent57a4d63b62e2a642d92d86eaf491b48c4577088a
drm/i915/guc: Asynchronous flush of GuC log regions

Both error-capture and relay-logging mechanism use the GuC
log infrastructure. That means the KMD must send a log flush
complete notification back to GuC after reading the data out.
This call is currently being sent synchronously.
However, synchronous H2Gs cause problems when the system is
backed up. There is no need for this to be synchronous. The
KMD wasn't even looking at the return status from it. So make
it asynchronous and then there is no issue about time outs.

Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220607002314.1451656-2-alan.previn.teres.alexis@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c
drivers/gpu/drm/i915/gt/uc/intel_guc_log.c