]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/guc: Update H2G enable logging action definition
authorRobert M. Fosha <robert.m.fosha@intel.com>
Tue, 22 Oct 2019 16:37:53 +0000 (09:37 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 23 Oct 2019 22:05:01 +0000 (15:05 -0700)
GuC enable logging H2G action definition changed some time ago from 0xE000
to 0x40. All current GuC FW blobs use this definition, so fix the action
definition in driver to match.

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Robert M. Fosha <robert.m.fosha@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022163754.23870-2-robert.m.fosha@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h

index 1d3cdd67ca2f8b27acab593b444e482e10fa1599..a26a85d502097d9a50ff4e05332a5e3854b43b34 100644 (file)
@@ -548,6 +548,7 @@ enum intel_guc_action {
        INTEL_GUC_ACTION_ALLOCATE_DOORBELL = 0x10,
        INTEL_GUC_ACTION_DEALLOCATE_DOORBELL = 0x20,
        INTEL_GUC_ACTION_LOG_BUFFER_FILE_FLUSH_COMPLETE = 0x30,
+       INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING = 0x40,
        INTEL_GUC_ACTION_FORCE_LOG_BUFFER_FLUSH = 0x302,
        INTEL_GUC_ACTION_ENTER_S_STATE = 0x501,
        INTEL_GUC_ACTION_EXIT_S_STATE = 0x502,
@@ -556,7 +557,6 @@ enum intel_guc_action {
        INTEL_GUC_ACTION_AUTHENTICATE_HUC = 0x4000,
        INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER = 0x4505,
        INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER = 0x4506,
-       INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING = 0x0E000,
        INTEL_GUC_ACTION_LIMIT
 };