drm/i915/guc: Use streaming loads to speed up dumping the guc log
authorChris Wilson <chris.p.wilson@intel.com>
Thu, 28 Jul 2022 02:20:26 +0000 (19:20 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 17 Aug 2022 17:07:03 +0000 (10:07 -0700)
commit5ece208ab05e4042c80ed1e6fe6d7ce236eee89b
treefa21684db676ad0e9760c243b807401110e6f1cf
parentc5de70f6e14ce02c3e604972f8fd46ffcdc184d9
drm/i915/guc: Use streaming loads to speed up dumping the guc log

Use a temporary page and mempy_from_wc to reduce the time it takes to
dump the guc log to debugfs.

Signed-off-by: Chris Wilson <chris.p.wilson@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220728022028.2190627-6-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_log.c