drm/i915/guc: Refactoring preparation of the GUC_CTL_LOG_PARAMS parameter
authorPiotr Piorkowski <[email protected]>
Mon, 4 Jun 2018 14:19:44 +0000 (16:19 +0200)
committerChris Wilson <[email protected]>
Tue, 12 Jun 2018 14:44:43 +0000 (15:44 +0100)
commit532717b90bd0159f221a6f5f1d0b35514e88192b
treea1058022b1eb5169574b891ee0150d54c641509d
parentdc755faef2640ea3d9ef3714c4ac5ece28bfe5a3
drm/i915/guc: Refactoring preparation of the GUC_CTL_LOG_PARAMS parameter

At the moment, the preparation of GUC_CTL_LOG_PARAMS is disordered.
Additionally, in struct intel_guc_log we have an unnecessary field
'flags' which we use only to assign value to GuC parameter.
Lets move all GUC_CTL_LOG_PARAMS related operations to one place,
and lets remove field 'flags' from struct intel_guc_log.

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/intel_guc.c
drivers/gpu/drm/i915/intel_guc_log.c
drivers/gpu/drm/i915/intel_guc_log.h