Skip to contentSkip to conversation

drm/i915/guc: Add GuC Load time to debugfs

PATCH In review Anusha Srivatsa 4 participants 6 messages Aug 25, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/guc: Add GuC Load time to debugfs

Calculate the time that GuC takes to load. This information could be very useful in determining if GuC is taking unreasonably long time to load in a certain platforms.

Cc Oscar Mateo <[email protected]>
Cc Michal Wajdeczko <[email protected]>
---
 drivers/gpu/drm/i915/i915_debugfs.c     | 4 ++++
 drivers/gpu/drm/i915/intel_guc_loader.c | 4 ++++
 drivers/gpu/drm/i915/intel_uc.h         | 3 +++
 3 files changed, 11 insertions(+)
drivers/gpu/drm/i915/i915_debugfs.c +4 -0
index 48572b157222..9283fc714705 100644
@@ -2379,6 +2379,10 @@ static int i915_guc_load_status_info(struct seq_file *m, void *data)
 		guc_fw->major_ver_wanted, guc_fw->minor_ver_wanted);
 	seq_printf(m, "\tversion found: %d.%d\n",
 		guc_fw->major_ver_found, guc_fw->minor_ver_found);
+	seq_printf(m, "\tLoad time is %lu ms\n",
+		   jiffies_to_msecs(dev_priv->guc.guc_finish_load -
+		   dev_priv->guc.guc_start_load));
+
 	seq_printf(m, "\theader: offset is %d; size = %d\n",
 		guc_fw->header_offset, guc_fw->header_size);
 	seq_printf(m, "\tuCode: offset is %d; size = %d\n",
drivers/gpu/drm/i915/intel_guc_loader.c +4 -0
index 8b0ae7fce7f2..1c5059b930f9 100644
@@ -194,6 +194,7 @@ static inline bool guc_ucode_response(struct drm_i915_private *dev_priv,
 static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
 			      struct i915_vma *vma)
 {
+	struct intel_guc *guc = &dev_priv->guc;
 	struct intel_uc_fw *guc_fw = &dev_priv->guc.fw;
 	unsigned long offset;
 	struct sg_table *sg = vma->pages;
@@ -226,6 +227,7 @@ static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
 
 	/* Finally start the DMA */
 	I915_WRITE(DMA_CTRL, _MASKED_BIT_ENABLE(UOS_MOVE | START_DMA));
+	guc->guc_start_load = jiffies;
 
 	/*
 	 * Wait for the DMA to complete & the GuC to start up.
@@ -240,6 +242,8 @@ static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
 	DRM_DEBUG_DRIVER("DMA status 0x%x, GuC status 0x%x\n",
 			I915_READ(DMA_CTRL), status);
 
+	guc->guc_finish_load = jiffies;
+
 	if ((status & GS_BOOTROM_MASK) == GS_BOOTROM_RSA_FAILED) {
 		DRM_ERROR("GuC firmware signature verification failed\n");
 		ret = -ENOEXEC;
drivers/gpu/drm/i915/intel_uc.h +3 -0
index 22ae52b17b0f..3d5a15ed1995 100644
@@ -210,6 +210,9 @@ struct intel_guc {
 
 	/* GuC's FW specific notify function */
 	void (*notify)(struct intel_guc *guc);
+
+	unsigned long guc_start_load;
+	unsigned long guc_finish_load;
 };
 
 struct intel_huc {
Signature · 6 lines
2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

✗ Fi.CI.BAT: failure for drm/i915/guc: Add GuC Load time to debugfs

== Series Details ==

== Series Details ==

Series: drm/i915/guc: Add GuC Load time to debugfs
URL : https://patchwork.freedesktop.org/series/29324/
State : failure

== Summary ==

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC [M]  drivers/gpu/drm/i915/i915_debugfs.o
drivers/gpu/drm/i915/i915_debugfs.c: In function ‘i915_guc_load_status_info’:
drivers/gpu/drm/i915/i915_debugfs.c:2382:34: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Werror=format=]
  seq_printf(m, "\tLoad time is %lu ms\n",
                                  ^

cc1: all warnings being treated as errors
scripts/Makefile.build:302: recipe for target 'drivers/gpu/drm/i915/i915_debugfs.o' failed make[4]: *** [drivers/gpu/drm/i915/i915_debugfs.o] Error 1 scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm/i915' failed make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm' failed make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1019: recipe for target 'drivers' failed
make: *** [drivers] Error 2

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw
In reply to Anusha Srivatsa
Quoted 50 lines · Anusha Srivatsa

Calculate the time that GuC takes to load. This information could be very useful in determining if GuC is taking unreasonably long time to load in a certain platforms.

Cc Oscar Mateo <[email protected]>
Cc Michal Wajdeczko <[email protected]>
---
 drivers/gpu/drm/i915/i915_debugfs.c     | 4 ++++
 drivers/gpu/drm/i915/intel_guc_loader.c | 4 ++++
 drivers/gpu/drm/i915/intel_uc.h         | 3 +++
 3 files changed, 11 insertions(+)
drivers/gpu/drm/i915/i915_debugfs.c +4 -0
index 48572b157222..9283fc714705 100644
@@ -2379,6 +2379,10 @@ static int i915_guc_load_status_info(struct seq_file *m, void *data)
 		guc_fw->major_ver_wanted, guc_fw->minor_ver_wanted);
 	seq_printf(m, "\tversion found: %d.%d\n",
 		guc_fw->major_ver_found, guc_fw->minor_ver_found);
+	seq_printf(m, "\tLoad time is %lu ms\n",
+		   jiffies_to_msecs(dev_priv->guc.guc_finish_load -
+		   dev_priv->guc.guc_start_load));
+
 	seq_printf(m, "\theader: offset is %d; size = %d\n",
 		guc_fw->header_offset, guc_fw->header_size);
 	seq_printf(m, "\tuCode: offset is %d; size = %d\n",
drivers/gpu/drm/i915/intel_guc_loader.c +2 -0
index 8b0ae7fce7f2..1c5059b930f9 100644
@@ -194,6 +194,7 @@ static inline bool guc_ucode_response(struct drm_i915_private *dev_priv,
 static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
 			      struct i915_vma *vma)
 {
+	struct intel_guc *guc = &dev_priv->guc;
 	struct intel_uc_fw *guc_fw = &dev_priv->guc.fw;
 	unsigned long offset;
 	struct sg_table *sg = vma->pages;
@@ -226,6 +227,7 @@ static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
 
 	/* Finally start the DMA */
 	I915_WRITE(DMA_CTRL, _MASKED_BIT_ENABLE(UOS_MOVE | START_DMA));
+	guc->guc_start_load = jiffies;
 
 	/*
 	 * Wait for the DMA to complete & the GuC to start up.

drivers/gpu/drm/i915/intel_guc_loader.c static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv, · line 246

Quoted 5 lines
drivers/gpu/drm/i915/intel_guc_loader.c +2 -0
@@ -240,6 +242,8 @@ static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
 	DRM_DEBUG_DRIVER("DMA status 0x%x, GuC status 0x%x\n",
 			I915_READ(DMA_CTRL), status);
 
+	guc->guc_finish_load = jiffies;
+

On error/timeout we don't know if loading was finished/completed and your calculations will be wrong. End time shall be captured before any debug logs to more accurate. Btw, if loading time is so important, maybe it should be also printed here as part of above DRM_DEBUG ?

Quoted 8 lines
drivers/gpu/drm/i915/intel_guc_loader.c +0 -0
 	if ((status & GS_BOOTROM_MASK) == GS_BOOTROM_RSA_FAILED) {
 		DRM_ERROR("GuC firmware signature verification failed\n");
 		ret = -ENOEXEC;
drivers/gpu/drm/i915/intel_uc.h +0 -0
index 22ae52b17b0f..3d5a15ed1995 100644

drivers/gpu/drm/i915/intel_uc.h struct intel_guc { · line 215

Quoted 6 lines
drivers/gpu/drm/i915/intel_uc.h +3 -0
@@ -210,6 +210,9 @@ struct intel_guc {
 
 	/* GuC's FW specific notify function */
 	void (*notify)(struct intel_guc *guc);
+
+	unsigned long guc_start_load;
+	unsigned long guc_finish_load;

No need to keep both jiffies here. Calculate "load_time_in_ms" in the loader function and store only final result. Maybe better place for this result would be "intel_uc_fw" ? Then we can do the same for Huc.

-Michal

Quoted 6 lines
drivers/gpu/drm/i915/intel_uc.h +0 -0
 };
 
 struct intel_huc {
Signature · 1 line
2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 70 lines

-----Original Message-----
From: Wajdeczko, Michal
Sent: Friday, August 25, 2017 5:35 AM
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]; Mateo Lozano, Oscar <[email protected]>
Subject: Re: [PATCH] drm/i915/guc: Add GuC Load time to debugfs

drivers/gpu/drm/i915/i915_debugfs.c static int i915_guc_load_status_info(struct seq_file

Quoted 19 lines · Anusha Srivatsa

Calculate the time that GuC takes to load.
This information could be very useful in determining if GuC is taking unreasonably long time to load in a certain platforms.

Cc Oscar Mateo <[email protected]>
Cc Michal Wajdeczko <[email protected]>
---
 drivers/gpu/drm/i915/i915_debugfs.c     | 4 ++++
 drivers/gpu/drm/i915/intel_guc_loader.c | 4 ++++
 drivers/gpu/drm/i915/intel_uc.h         | 3 +++
 3 files changed, 11 insertions(+)
drivers/gpu/drm/i915/i915_debugfs.c +0 -0
index 48572b157222..9283fc714705 100644
@@ -2379,6 +2379,10 @@ static int i915_guc_load_status_info(struct seq_file

*m, void *data)

Quoted 16 lines
drivers/gpu/drm/i915/i915_debugfs.c +4 -0
 		guc_fw->major_ver_wanted, guc_fw->minor_ver_wanted);
 	seq_printf(m, "\tversion found: %d.%d\n",
 		guc_fw->major_ver_found, guc_fw->minor_ver_found);
+	seq_printf(m, "\tLoad time is %lu ms\n",
+		   jiffies_to_msecs(dev_priv->guc.guc_finish_load -
+		   dev_priv->guc.guc_start_load));
+
 	seq_printf(m, "\theader: offset is %d; size = %d\n",
 		guc_fw->header_offset, guc_fw->header_size);
 	seq_printf(m, "\tuCode: offset is %d; size = %d\n", diff --git

a/drivers/gpu/drm/i915/intel_guc_loader.c
b/drivers/gpu/drm/i915/intel_guc_loader.c
index 8b0ae7fce7f2..1c5059b930f9 100644

drivers/gpu/drm/i915/intel_guc_loader.c +0 -0
@@ -194,6 +194,7 @@ static inline bool guc_ucode_response(struct
Quoted 1 line

drm_i915_private *dev_priv, static int guc_ucode_xfer_dma(struct

drm_i915_private *dev_priv,

drivers/gpu/drm/i915/intel_guc_loader.c static int guc_ucode_xfer_dma(struct · line 230

Quoted 11 lines
drivers/gpu/drm/i915/intel_guc_loader.c +1 -0
 			      struct i915_vma *vma)
 {
+	struct intel_guc *guc = &dev_priv->guc;
 	struct intel_uc_fw *guc_fw = &dev_priv->guc.fw;
 	unsigned long offset;
 	struct sg_table *sg = vma->pages;
@@ -226,6 +227,7 @@ static int guc_ucode_xfer_dma(struct
 drm_i915_private *dev_priv,
 
 	/* Finally start the DMA */
 	I915_WRITE(DMA_CTRL, _MASKED_BIT_ENABLE(UOS_MOVE |

START_DMA));

drivers/gpu/drm/i915/intel_guc_loader.c static int guc_ucode_xfer_dma(struct drm_i915_private

Quoted 5 lines
drivers/gpu/drm/i915/intel_guc_loader.c +1 -0
+	guc->guc_start_load = jiffies;
 
 	/*
drivers/gpu/drm/i915/intel_guc_loader.c +0 -0
 	 * Wait for the DMA to complete & the GuC to start up.
@@ -240,6 +242,8 @@ static int guc_ucode_xfer_dma(struct drm_i915_private

*dev_priv,

Quoted 3 lines
drivers/gpu/drm/i915/intel_guc_loader.c +0 -0
 	DRM_DEBUG_DRIVER("DMA status 0x%x, GuC status 0x%x\n",
 			I915_READ(DMA_CTRL), status);
 
Quoted 7 lines

drivers/gpu/drm/i915/intel_guc_loader.c static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv, · line 246

Quoted 2 lines
drivers/gpu/drm/i915/intel_guc_loader.c +2 -0
+	guc->guc_finish_load = jiffies;
+

On error/timeout we don't know if loading was finished/completed and your calculations will be wrong. End time shall be captured before any debug logs to more accurate. Btw, if loading time is so important, maybe it should be also printed here as part of above DRM_DEBUG ?

Hmmm... I thought by this time in the code the load will be over and hence we read the stautus registers.
Yes adding as a dmesg too, will be helpful.

Anusha

Quoted 11 lines
Quoted 11 lines
drivers/gpu/drm/i915/intel_guc_loader.c +0 -0
 	if ((status & GS_BOOTROM_MASK) == GS_BOOTROM_RSA_FAILED) {
 		DRM_ERROR("GuC firmware signature verification failed\n");
 		ret = -ENOEXEC;
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_uc.h index 22ae52b17b0f..3d5a15ed1995 100644

drivers/gpu/drm/i915/intel_uc.h +0 -0
@@ -210,6 +210,9 @@ struct intel_guc {
 
Quoted 9 lines

drivers/gpu/drm/i915/intel_uc.h struct intel_guc { · line 215

Quoted 5 lines
drivers/gpu/drm/i915/intel_uc.h +3 -0
 	/* GuC's FW specific notify function */
 	void (*notify)(struct intel_guc *guc);
+
+	unsigned long guc_start_load;
+	unsigned long guc_finish_load;

No need to keep both jiffies here. Calculate "load_time_in_ms" in the loader function and store only final result. Maybe better place for this result would be "intel_uc_fw" ? Then we can do the same for Huc.

Adding to intel_uc_fw makes sense. But I wonder if we need a usecase to know the huc load time.... nothing wrong to add though. Thanks for your inputs!

Anusha

Quoted 9 lines

-Michal

Quoted 6 lines
drivers/gpu/drm/i915/intel_uc.h +0 -1
 };
 
 struct intel_huc {
--

2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw
In reply to Anusha Srivatsa
Cc Sujaritha
Quoted 63 lines · Anusha Srivatsa

Calculate the time that GuC takes to load. This information could be very useful in determining if GuC is taking unreasonably long time to load in a certain platforms.

Cc Oscar Mateo <[email protected]>
Cc Michal Wajdeczko <[email protected]>
---
  drivers/gpu/drm/i915/i915_debugfs.c     | 4 ++++
  drivers/gpu/drm/i915/intel_guc_loader.c | 4 ++++
  drivers/gpu/drm/i915/intel_uc.h         | 3 +++
  3 files changed, 11 insertions(+)
drivers/gpu/drm/i915/i915_debugfs.c +4 -0
index 48572b157222..9283fc714705 100644
@@ -2379,6 +2379,10 @@ static int i915_guc_load_status_info(struct seq_file *m, void *data)
  		guc_fw->major_ver_wanted, guc_fw->minor_ver_wanted);
  	seq_printf(m, "\tversion found: %d.%d\n",
  		guc_fw->major_ver_found, guc_fw->minor_ver_found);
+	seq_printf(m, "\tLoad time is %lu ms\n",
+		   jiffies_to_msecs(dev_priv->guc.guc_finish_load -
+		   dev_priv->guc.guc_start_load));
+
  	seq_printf(m, "\theader: offset is %d; size = %d\n",
  		guc_fw->header_offset, guc_fw->header_size);
  	seq_printf(m, "\tuCode: offset is %d; size = %d\n",
drivers/gpu/drm/i915/intel_guc_loader.c +4 -0
index 8b0ae7fce7f2..1c5059b930f9 100644
@@ -194,6 +194,7 @@ static inline bool guc_ucode_response(struct drm_i915_private *dev_priv,
  static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
  			      struct i915_vma *vma)
  {
+	struct intel_guc *guc = &dev_priv->guc;
  	struct intel_uc_fw *guc_fw = &dev_priv->guc.fw;
  	unsigned long offset;
  	struct sg_table *sg = vma->pages;
@@ -226,6 +227,7 @@ static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
 
  	/* Finally start the DMA */
  	I915_WRITE(DMA_CTRL, _MASKED_BIT_ENABLE(UOS_MOVE | START_DMA));
+	guc->guc_start_load = jiffies;
 
  	/*
  	 * Wait for the DMA to complete & the GuC to start up.
@@ -240,6 +242,8 @@ static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
  	DRM_DEBUG_DRIVER("DMA status 0x%x, GuC status 0x%x\n",
  			I915_READ(DMA_CTRL), status);
 
+	guc->guc_finish_load = jiffies;
+
  	if ((status & GS_BOOTROM_MASK) == GS_BOOTROM_RSA_FAILED) {
  		DRM_ERROR("GuC firmware signature verification failed\n");
  		ret = -ENOEXEC;
drivers/gpu/drm/i915/intel_uc.h +0 -0
index 22ae52b17b0f..3d5a15ed1995 100644

drivers/gpu/drm/i915/intel_uc.h struct intel_guc { · line 218

Quoted 9 lines
drivers/gpu/drm/i915/intel_uc.h +3 -0
@@ -210,6 +210,9 @@ struct intel_guc {
 
  	/* GuC's FW specific notify function */
  	void (*notify)(struct intel_guc *guc);
+
+	unsigned long guc_start_load;
+	unsigned long guc_finish_load;
  };
 
  struct intel_huc {

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#5 lore raw
Quoted 11 lines

-----Original Message-----
From: Mateo Lozano, Oscar
Sent: Friday, August 25, 2017 8:18 AM
To: Srivatsa, Anusha <[email protected]>; intel- [email protected]
Cc: Wajdeczko, Michal <[email protected]>; Sundaresan, Sujaritha <[email protected]>
Subject: Re: [PATCH] drm/i915/guc: Add GuC Load time to debugfs

Quoted 2 lines
Cc Sujaritha

Thanks Oscar for adding Sujaritha.
Do you think the approach here is accurate?

Anusha

Quoted 72 lines · Anusha Srivatsa

drivers/gpu/drm/i915/i915_debugfs.c static int i915_guc_load_status_info(struct seq_file

Quoted 19 lines

Calculate the time that GuC takes to load.
This information could be very useful in determining if GuC is taking unreasonably long time to load in a certain platforms.

Cc Oscar Mateo <[email protected]>
Cc Michal Wajdeczko <[email protected]>
---
  drivers/gpu/drm/i915/i915_debugfs.c     | 4 ++++
  drivers/gpu/drm/i915/intel_guc_loader.c | 4 ++++
  drivers/gpu/drm/i915/intel_uc.h         | 3 +++
  3 files changed, 11 insertions(+)
drivers/gpu/drm/i915/i915_debugfs.c +0 -0
index 48572b157222..9283fc714705 100644
@@ -2379,6 +2379,10 @@ static int i915_guc_load_status_info(struct seq_file

*m, void *data)

drivers/gpu/drm/i915/intel_guc_loader.c static inline bool guc_ucode_response(struct

Quoted 16 lines
drivers/gpu/drm/i915/i915_debugfs.c +4 -0
  		guc_fw->major_ver_wanted, guc_fw->minor_ver_wanted);
  	seq_printf(m, "\tversion found: %d.%d\n",
  		guc_fw->major_ver_found, guc_fw->minor_ver_found);
+	seq_printf(m, "\tLoad time is %lu ms\n",
+		   jiffies_to_msecs(dev_priv->guc.guc_finish_load -
+		   dev_priv->guc.guc_start_load));
+
  	seq_printf(m, "\theader: offset is %d; size = %d\n",
  		guc_fw->header_offset, guc_fw->header_size);
  	seq_printf(m, "\tuCode: offset is %d; size = %d\n", diff --git

a/drivers/gpu/drm/i915/intel_guc_loader.c
b/drivers/gpu/drm/i915/intel_guc_loader.c
index 8b0ae7fce7f2..1c5059b930f9 100644

drivers/gpu/drm/i915/intel_guc_loader.c +0 -0
@@ -194,6 +194,7 @@ static inline bool guc_ucode_response(struct

drm_i915_private *dev_priv,

drivers/gpu/drm/i915/intel_guc_loader.c static int guc_ucode_xfer_dma(struct · line 230

Quoted 12 lines
drivers/gpu/drm/i915/intel_guc_loader.c +1 -0
  static int guc_ucode_xfer_dma(struct drm_i915_private *dev_priv,
  			      struct i915_vma *vma)
  {
+	struct intel_guc *guc = &dev_priv->guc;
  	struct intel_uc_fw *guc_fw = &dev_priv->guc.fw;
  	unsigned long offset;
  	struct sg_table *sg = vma->pages;
@@ -226,6 +227,7 @@ static int guc_ucode_xfer_dma(struct
 drm_i915_private *dev_priv,
 
  	/* Finally start the DMA */
  	I915_WRITE(DMA_CTRL, _MASKED_BIT_ENABLE(UOS_MOVE |

START_DMA));

drivers/gpu/drm/i915/intel_guc_loader.c static int guc_ucode_xfer_dma(struct drm_i915_private

Quoted 5 lines
drivers/gpu/drm/i915/intel_guc_loader.c +1 -0
+	guc->guc_start_load = jiffies;
 
  	/*

* Wait for the DMA to complete & the GuC to start up.

drivers/gpu/drm/i915/intel_guc_loader.c +0 -0
@@ -240,6 +242,8 @@ static int guc_ucode_xfer_dma(struct drm_i915_private

*dev_priv,

Quoted 15 lines
drivers/gpu/drm/i915/intel_guc_loader.c +2 -0
  	DRM_DEBUG_DRIVER("DMA status 0x%x, GuC status 0x%x\n",
  			I915_READ(DMA_CTRL), status);
 
+	guc->guc_finish_load = jiffies;
+
  	if ((status & GS_BOOTROM_MASK) == GS_BOOTROM_RSA_FAILED) {
  		DRM_ERROR("GuC firmware signature verification failed\n");
  		ret = -ENOEXEC;
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_uc.h index 22ae52b17b0f..3d5a15ed1995 100644

drivers/gpu/drm/i915/intel_uc.h +0 -0
@@ -210,6 +210,9 @@ struct intel_guc {
 
Quoted 8 lines

drivers/gpu/drm/i915/intel_uc.h struct intel_guc { · line 218

Quoted 8 lines
drivers/gpu/drm/i915/intel_uc.h +3 -0
  	/* GuC's FW specific notify function */
  	void (*notify)(struct intel_guc *guc);
+
+	unsigned long guc_start_load;
+	unsigned long guc_finish_load;
  };
 
  struct intel_huc {

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx