]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/guc: Make GuC log sizes runtime configurable
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 28 Jul 2022 02:20:27 +0000 (19:20 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 17 Aug 2022 17:07:04 +0000 (10:07 -0700)
commit8ad0152afb1bb3878bba282308f037d73a87ace5
tree10a2353d8da17f440a55b9e91081c5d326e22fcb
parent5ece208ab05e4042c80ed1e6fe6d7ce236eee89b
drm/i915/guc: Make GuC log sizes runtime configurable

The GuC log buffer sizes had to be configured statically at compile
time. This can be quite troublesome when needing to get larger logs
out of a released driver. So re-organise the code to allow a boot time
module parameter override.

Signed-off-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-7-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.c
drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c
drivers/gpu/drm/i915/gt/uc/intel_guc_log.c
drivers/gpu/drm/i915/gt/uc/intel_guc_log.h
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h