drm/i915/guc: Don't store runtime GuC log level in modparam
authorPiotr Piórkowski <[email protected]>
Mon, 4 Jun 2018 14:19:41 +0000 (16:19 +0200)
committerChris Wilson <[email protected]>
Tue, 12 Jun 2018 14:44:40 +0000 (15:44 +0100)
commit50935ac767cab5494b4e15f3a95aa9e10513d82d
tree403eb979e9b12c667dce795db794c1e3fc4f18c1
parenta9ded78535a109389cd2ca38a22c8d5c0099f71e
drm/i915/guc: Don't store runtime GuC log level in modparam

Currently we are using modparam as placeholder for GuC log level.
Stop doing this and keep runtime GuC level in intel_guc_log struct.

v2:
- rename functions intel_guc_log_level_[get|set] to
intel_guc_log_[get|set]_level (Michał Wajdeczko)
- remove GEM_BUG_ON from intel_guc_log_get_level() (Michał Wajdeczko)

Signed-off-by: Piotr Piórkowski <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Michał Winiarski <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Michal Wajdeczko <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_guc.c
drivers/gpu/drm/i915/intel_guc_log.c
drivers/gpu/drm/i915/intel_guc_log.h
drivers/gpu/drm/i915/intel_uc.c