Re: [PATCH 05/21] drm/i915/guc: Update sample-forcewake command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 29/08/18 12:10, Michal Wajdeczko wrote:
Action ID of this command has been changed in GuC firmware.


the commit message of patch 1 says we need to use this command even if GuC submission is disabled, which is still a supported config on gen9. However, won't changing the value make the H2G fail, since gen9 FW still uses the old define?

Daniele

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx>
Cc: John Spotswood <john.a.spotswood@xxxxxxxxx>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx>
Cc: Michel Thierry <michel.thierry@xxxxxxxxx>
---
  drivers/gpu/drm/i915/intel_guc_fwif.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_guc_fwif.h b/drivers/gpu/drm/i915/intel_guc_fwif.h
index 7070e36..963da91 100644
--- a/drivers/gpu/drm/i915/intel_guc_fwif.h
+++ b/drivers/gpu/drm/i915/intel_guc_fwif.h
@@ -659,7 +659,6 @@ enum intel_guc_action {
  	INTEL_GUC_ACTION_DEFAULT = 0x0,
  	INTEL_GUC_ACTION_REQUEST_PREEMPTION = 0x2,
  	INTEL_GUC_ACTION_REQUEST_ENGINE_RESET = 0x3,
-	INTEL_GUC_ACTION_SAMPLE_FORCEWAKE = 0x6,
  	INTEL_GUC_ACTION_ALLOCATE_DOORBELL = 0x10,
  	INTEL_GUC_ACTION_DEALLOCATE_DOORBELL = 0x20,
  	INTEL_GUC_ACTION_LOG_BUFFER_FILE_FLUSH_COMPLETE = 0x30,
@@ -667,6 +666,7 @@ enum intel_guc_action {
  	INTEL_GUC_ACTION_ENTER_S_STATE = 0x501,
  	INTEL_GUC_ACTION_EXIT_S_STATE = 0x502,
  	INTEL_GUC_ACTION_SLPC_REQUEST = 0x3003,
+	INTEL_GUC_ACTION_SAMPLE_FORCEWAKE = 0x3005,
  	INTEL_GUC_ACTION_AUTHENTICATE_HUC = 0x4000,
  	INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER = 0x4505,
  	INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER = 0x4506,

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux