Perma-pin uC firmware and re-enable global reset
Subsystems (2)
cover Perma-pin uC firmware and re-enable global reset
The intent is to move the GuC and HuC firmware images to the top of the address space. This portion is inaccessible during normal GuC operations and should be relatively safe to house both firmware images. By making the move we can re-enable the full gpu reset with GuC enabled.
Placing the firmware images above GUC_GGTT_TOP was discussed previously here:
https://patchwork.freedesktop.org/patch/273616/
Fernando Pacheco (4):
drm/i915/uc: Rename uC firmware init function drm/i915/uc: Reserve upper range of GGTT drm/i915/uc: Place uC firmware in upper range of GGTT Revert "drm/i915/guc: Disable global reset"
drivers/gpu/drm/i915/i915_gem.c | 2 + drivers/gpu/drm/i915/i915_gem_gtt.c | 25 +++++++- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 + drivers/gpu/drm/i915/i915_reset.c | 3 - drivers/gpu/drm/i915/intel_guc.c | 9 ++- drivers/gpu/drm/i915/intel_guc.h | 11 ++++ drivers/gpu/drm/i915/intel_guc_fw.c | 45 +++++++++++--- drivers/gpu/drm/i915/intel_guc_fw.h | 3 + drivers/gpu/drm/i915/intel_huc.c | 72 +++++++++++++++++----- drivers/gpu/drm/i915/intel_huc.h | 4 ++ drivers/gpu/drm/i915/intel_huc_fw.c | 82 ++++++++++++++++++++---- drivers/gpu/drm/i915/intel_huc_fw.h | 3 + drivers/gpu/drm/i915/intel_uc.c | 39 ++++++++++-- drivers/gpu/drm/i915/intel_uc.h | 1 + drivers/gpu/drm/i915/intel_uc_fw.c | 96 ++++++++++++++++++++--------- drivers/gpu/drm/i915/intel_uc_fw.h | 15 ++++- 16 files changed, 329 insertions(+), 82 deletions(-)
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/4 drm/i915/uc: Rename uC firmware init function
The uC firmware init function is called during GuC/HuC init early phases. Rename to include "_early" and properly reflect which phase we are at.
--- drivers/gpu/drm/i915/intel_guc_fw.c | 2 +- drivers/gpu/drm/i915/intel_huc_fw.c | 2 +- drivers/gpu/drm/i915/intel_uc_fw.h | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/intel_guc_fw.c +1 -1
@@ -90,7 +90,7 @@ void intel_guc_fw_init_early(struct intel_guc *guc) {struct intel_uc_fw *guc_fw = &guc->fw; -intel_uc_fw_init (guc_fw,INTEL_UC_FW_TYPE_GUC ); +intel_uc_fw_init_early (guc_fw,INTEL_UC_FW_TYPE_GUC );guc_fw_select (guc_fw); }
drivers/gpu/drm/i915/intel_huc_fw.c +1 -1
@@ -89,7 +89,7 @@ void intel_huc_fw_init_early(struct intel_huc *huc) {struct intel_uc_fw *huc_fw = &huc->fw; -intel_uc_fw_init (huc_fw,INTEL_UC_FW_TYPE_HUC ); +intel_uc_fw_init_early (huc_fw,INTEL_UC_FW_TYPE_HUC );huc_fw_select (huc_fw); }
drivers/gpu/drm/i915/intel_uc_fw.h +2 -1
@@ -102,7 +102,8 @@ static inline const char *intel_uc_fw_type_repr(enum intel_uc_fw_type type) }static inline -void intel_uc_fw_init (struct intel_uc_fw *uc_fw,enum intel_uc_fw_type type) +void intel_uc_fw_init_early (struct intel_uc_fw *uc_fw, +enum intel_uc_fw_type type) { uc_fw->path =NULL ; uc_fw->fetch_status =INTEL_UC_FIRMWARE_NONE ;
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/4] drm/i915/uc: Rename uC firmware init function
Quoting Fernando Pacheco (2019-04-09 22:30:59)
drivers/gpu/drm/i915/intel_uc_fw.h static inline const char *intel_uc_fw_type_repr(enum intel_uc_fw_type type) · line 106
Quoted 4 lines
static inline
drivers/gpu/drm/i915/intel_uc_fw.h +2
-1-void intel_uc_fw_init (struct intel_uc_fw *uc_fw,enum intel_uc_fw_type type) +void intel_uc_fw_init_early (struct intel_uc_fw *uc_fw, +enum intel_uc_fw_type type)
I followed right up until the point it was an inline. At this point does this not mean its just a regular struct initialiser?
Hmm.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/4 drm/i915/uc: Reserve upper range of GGTT
In reply to Fernando PachecoGuC and HuC depend on struct_mutex for device reinitialization. Moving away from this dependency requires perma-pinning the firmware images in GGTT. The upper portion of the GuC address space has a sizeable hole (several MB) that is inaccessible by GuC. Reserve this range within GGTT as it can comfortably hold GuC/HuC firmware images.
--- drivers/gpu/drm/i915/i915_gem_gtt.c | 25 ++++++++++++++++++++++--- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 + drivers/gpu/drm/i915/intel_guc.h | 11 +++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/i915_gem_gtt.c +22 -3
@@ -2747,6 +2747,18 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (ret)return ret; +/* Reserve a mappable slot for our lockless uC firmware load */ +if (USES_GUC (dev_priv)) { + ret =drm_mm_insert_node_in_range (&ggtt->vm.mm, &ggtt->uc_fw, +GUC_GGTT_FW_SIZE ,0 , +I915_COLOR_UNEVICTABLE , +GUC_GGTT_FW_START , +GUC_GGTT_FW_END , +DRM_MM_INSERT_LOW ); +if (ret) + goto err_node; + } +/* Clear any non-preallocated blocks */ drm_mm_for_each_hole (entry, &ggtt->vm.mm, hole_start, hole_end) { DRM_DEBUG_KMS("clearing unused GTT space: [%lx, %lx]\n",
@@ -2761,12 +2773,15 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (INTEL_PPGTT (dev_priv) ==INTEL_PPGTT_ALIASING ) { ret =i915_gem_init_aliasing_ppgtt (dev_priv);if (ret) - goto err; + goto err_appgtt; }return 0 ; -err: +err_appgtt: +if (USES_GUC (dev_priv)) +drm_mm_remove_node (&ggtt->uc_fw); +err_node:drm_mm_remove_node (&ggtt->error_capture);return ret; }
@@ -2792,6 +2807,9 @@ void i915_ggtt_cleanup_hw(struct drm_i915_private *dev_priv)if (drm_mm_node_allocated (&ggtt->error_capture))drm_mm_remove_node (&ggtt->error_capture); +if (drm_mm_node_allocated (&ggtt->uc_fw)) +drm_mm_remove_node (&ggtt->uc_fw); +if (drm_mm_initialized (&ggtt->vm.mm)) {intel_vgt_deballoon (dev_priv);i915_address_space_fini (&ggtt->vm);
@@ -3370,7 +3388,8 @@ int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv)* restriction! */ if (USES_GUC (dev_priv)) { - ggtt->vm.total =min_t (u64, ggtt->vm.total,GUC_GGTT_TOP ); + ggtt->vm.total =min_t (u64, ggtt->vm.total, +GUC_GGTT_RESERVED_END ); ggtt->mappable_end =min_t (u64, ggtt->mappable_end, ggtt->vm.total); }
drivers/gpu/drm/i915/i915_gem_gtt.h +1 -0
@@ -384,6 +384,7 @@ struct i915_ggtt {u32 pin_bias;struct drm_mm_node error_capture; +struct drm_mm_node uc_fw; };struct i915_hw_ppgtt {
drivers/gpu/drm/i915/intel_guc.h +11 -0
@@ -127,6 +127,17 @@ static inline void intel_guc_to_host_event_handler(struct intel_guc *guc)/* GuC addresses above GUC_GGTT_TOP also don't map through the GTT */ #define GUC_GGTT_TOP 0xFEE00000 +/* +* This portion of the address space is inaccessible by GuC, +* but still accessible by DMA. We can repurpose this portion +* to house the uC firmware images and perform the image upload. +*/ +#define GUC_GGTT_FW_START GUC_GGTT_TOP +#define GUC_GGTT_FW_END 0xFFE00000 +#define GUC_GGTT_RESERVED_END GUC_GGTT_FW_END + +#define GUC_GGTT_FW_SIZE (GUC_GGTT_FW_END - GUC_GGTT_FW_START) +/** * intel_guc_ggtt_offset() - Get and validate the GGTT offset of @vma * @guc: intel_guc structure.
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/4] drm/i915/uc: Reserve upper range of GGTT
Quoting Fernando Pacheco (2019-04-09 22:31:00)
Quoted 21 lines
GuC and HuC depend on
struct_mutexfor device reinitialization. Moving away from this dependency requires perma-pinning the firmware images in GGTT. The upper portion of the GuC address space has a sizeable hole (several MB) that is inaccessible by GuC. Reserve this range within GGTT as it can comfortably hold GuC/HuC firmware images.Signed-off-by Fernando Pacheco <[email protected]>--- drivers/gpu/drm/i915/i915_gem_gtt.c | 25 ++++++++++++++++++++++--- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 + drivers/gpu/drm/i915/intel_guc.h | 11 +++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/i915_gem_gtt.c +0
-0@@ -2747,6 +2747,18 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (ret)
drivers/gpu/drm/i915/i915_gem_gtt.c int i915_gem_init_ggtt(struct drm_i915_private *dev_priv) · line 2757
Quoted 10 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +8
-0return ret; +/* Reserve a mappable slot for our lockless uC firmware load */ +if (USES_GUC (dev_priv)) { + ret =drm_mm_insert_node_in_range (&ggtt->vm.mm, &ggtt->uc_fw, +GUC_GGTT_FW_SIZE ,0 , +I915_COLOR_UNEVICTABLE , +GUC_GGTT_FW_START , +GUC_GGTT_FW_END , +DRM_MM_INSERT_LOW );
Use drm_mm_reserve_node() as you want an explicit address.
We should be able to push this to guc init, with appropriate bailing if something already took the high range.
Quoted 36 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +12
-2+if (ret) + goto err_node; + } +/* Clear any non-preallocated blocks */ drm_mm_for_each_hole (entry, &ggtt->vm.mm, hole_start, hole_end) { DRM_DEBUG_KMS("clearing unused GTT space: [%lx, %lx]\n",@@ -2761,12 +2773,15 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (INTEL_PPGTT (dev_priv) ==INTEL_PPGTT_ALIASING ) { ret =i915_gem_init_aliasing_ppgtt (dev_priv);if (ret) - goto err; + goto err_appgtt; }return 0 ; -err: +err_appgtt: +if (USES_GUC (dev_priv)) +drm_mm_remove_node (&ggtt->uc_fw); +err_node:drm_mm_remove_node (&ggtt->error_capture);return ret; }@@ -2792,6 +2807,9 @@ void i915_ggtt_cleanup_hw(struct drm_i915_private *dev_priv)if (drm_mm_node_allocated (&ggtt->error_capture))drm_mm_remove_node (&ggtt->error_capture); +if (drm_mm_node_allocated (&ggtt->uc_fw)) +drm_mm_remove_node (&ggtt->uc_fw); +if (drm_mm_initialized (&ggtt->vm.mm)) {intel_vgt_deballoon (dev_priv);i915_address_space_fini (&ggtt->vm);
drivers/gpu/drm/i915/i915_gem_gtt.c int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv) · line 3392
Quoted 6 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +2
-1@@ -3370,7 +3388,8 @@ int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv)* restriction! */ if (USES_GUC (dev_priv)) { - ggtt->vm.total =min_t (u64, ggtt->vm.total,GUC_GGTT_TOP ); + ggtt->vm.total =min_t (u64, ggtt->vm.total, +GUC_GGTT_RESERVED_END );
Should not be required now as you should have completely reserved the range for the guc, by the guc.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/4] drm/i915/uc: Reserve upper range of GGTT
Quoting Chris Wilson (2019-04-09 22:41:40)
Quoted 11 lines
Quoting Fernando Pacheco (2019-04-09 22:31:00)
drivers/gpu/drm/i915/i915_gem_gtt.c int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv) · line 3392
Quoted 7 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +2
-1@@ -3370,7 +3388,8 @@ int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv)* restriction! */ if (USES_GUC (dev_priv)) { - ggtt->vm.total =min_t (u64, ggtt->vm.total,GUC_GGTT_TOP ); + ggtt->vm.total =min_t (u64, ggtt->vm.total, +GUC_GGTT_RESERVED_END );Should not be required now as you should have completely reserved the range for the guc, by the guc.
You can even then remove the comment, as we won't even try and put non guc data here; guc or no guc is decided at module load. -Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/4] drm/i915/uc: Reserve upper range of GGTT
In reply to Chris WilsonQuoted 34 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-09 22:31:00)
Quoted 21 lines
GuC and HuC depend on
struct_mutexfor device reinitialization. Moving away from this dependency requires perma-pinning the firmware images in GGTT. The upper portion of the GuC address space has a sizeable hole (several MB) that is inaccessible by GuC. Reserve this range within GGTT as it can comfortably hold GuC/HuC firmware images.Signed-off-by Fernando Pacheco <[email protected]>--- drivers/gpu/drm/i915/i915_gem_gtt.c | 25 ++++++++++++++++++++++--- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 + drivers/gpu/drm/i915/intel_guc.h | 11 +++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/i915_gem_gtt.c +0
-0@@ -2747,6 +2747,18 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (ret)drivers/gpu/drm/i915/i915_gem_gtt.c int i915_gem_init_ggtt(struct drm_i915_private *dev_priv) · line 2757
Quoted 10 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +8
-0return ret; +/* Reserve a mappable slot for our lockless uC firmware load */ +if (USES_GUC (dev_priv)) { + ret =drm_mm_insert_node_in_range (&ggtt->vm.mm, &ggtt->uc_fw, +GUC_GGTT_FW_SIZE ,0 , +I915_COLOR_UNEVICTABLE , +GUC_GGTT_FW_START , +GUC_GGTT_FW_END , +DRM_MM_INSERT_LOW );Use
drm_mm_reserve_node()as you want an explicit address.
Quoted 2 lines
We should be able to push this to guc init, with appropriate bailing if something already took the high range.
Makes sense. I'll make these changes and the one below.
-Fernando
Quoted 29 lines
Quoted 29 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +9
-2+if (ret) + goto err_node; + } +/* Clear any non-preallocated blocks */ drm_mm_for_each_hole (entry, &ggtt->vm.mm, hole_start, hole_end) { DRM_DEBUG_KMS("clearing unused GTT space: [%lx, %lx]\n",@@ -2761,12 +2773,15 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (INTEL_PPGTT (dev_priv) ==INTEL_PPGTT_ALIASING ) { ret =i915_gem_init_aliasing_ppgtt (dev_priv);if (ret) - goto err; + goto err_appgtt; }return 0 ; -err: +err_appgtt: +if (USES_GUC (dev_priv)) +drm_mm_remove_node (&ggtt->uc_fw); +err_node:drm_mm_remove_node (&ggtt->error_capture);return ret; }@@ -2792,6 +2807,9 @@ void i915_ggtt_cleanup_hw(struct drm_i915_private *dev_priv)if (drm_mm_node_allocated (&ggtt->error_capture))drm_mm_remove_node (&ggtt->error_capture);
Quoted 15 lines
drivers/gpu/drm/i915/i915_gem_gtt.c int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv) · line 3392
Quoted 13 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +5
-1+if (drm_mm_node_allocated (&ggtt->uc_fw)) +drm_mm_remove_node (&ggtt->uc_fw); +if (drm_mm_initialized (&ggtt->vm.mm)) {intel_vgt_deballoon (dev_priv);i915_address_space_fini (&ggtt->vm);@@ -3370,7 +3388,8 @@ int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv)* restriction! */ if (USES_GUC (dev_priv)) { - ggtt->vm.total =min_t (u64, ggtt->vm.total,GUC_GGTT_TOP ); + ggtt->vm.total =min_t (u64, ggtt->vm.total, +GUC_GGTT_RESERVED_END );Should not be required now as you should have completely reserved the range for the guc, by the guc.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/4] drm/i915/uc: Reserve upper range of GGTT
In reply to Chris WilsonQuoted 34 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-09 22:31:00)
Quoted 21 lines
GuC and HuC depend on
struct_mutexfor device reinitialization. Moving away from this dependency requires perma-pinning the firmware images in GGTT. The upper portion of the GuC address space has a sizeable hole (several MB) that is inaccessible by GuC. Reserve this range within GGTT as it can comfortably hold GuC/HuC firmware images.Signed-off-by Fernando Pacheco <[email protected]>--- drivers/gpu/drm/i915/i915_gem_gtt.c | 25 ++++++++++++++++++++++--- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 + drivers/gpu/drm/i915/intel_guc.h | 11 +++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/i915_gem_gtt.c +0
-0@@ -2747,6 +2747,18 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (ret)drivers/gpu/drm/i915/i915_gem_gtt.c int i915_gem_init_ggtt(struct drm_i915_private *dev_priv) · line 2757
Quoted 10 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +8
-0return ret; +/* Reserve a mappable slot for our lockless uC firmware load */ +if (USES_GUC (dev_priv)) { + ret =drm_mm_insert_node_in_range (&ggtt->vm.mm, &ggtt->uc_fw, +GUC_GGTT_FW_SIZE ,0 , +I915_COLOR_UNEVICTABLE , +GUC_GGTT_FW_START , +GUC_GGTT_FW_END , +DRM_MM_INSERT_LOW );Use
drm_mm_reserve_node()as you want an explicit address.
Quoted 2 lines
We should be able to push this to guc init, with appropriate bailing if something already took the high range.
I tried pushing this to guc init, but this bailed immediately as there are pinnings between the calls to ggtt init and guc init. Did I misinterpret what you had in mind?
Fernando
Quoted 30 lines
Quoted 30 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +9
-2+if (ret) + goto err_node; + } +/* Clear any non-preallocated blocks */ drm_mm_for_each_hole (entry, &ggtt->vm.mm, hole_start, hole_end) { DRM_DEBUG_KMS("clearing unused GTT space: [%lx, %lx]\n",@@ -2761,12 +2773,15 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (INTEL_PPGTT (dev_priv) ==INTEL_PPGTT_ALIASING ) { ret =i915_gem_init_aliasing_ppgtt (dev_priv);if (ret) - goto err; + goto err_appgtt; }return 0 ; -err: +err_appgtt: +if (USES_GUC (dev_priv)) +drm_mm_remove_node (&ggtt->uc_fw); +err_node:drm_mm_remove_node (&ggtt->error_capture);return ret; }@@ -2792,6 +2807,9 @@ void i915_ggtt_cleanup_hw(struct drm_i915_private *dev_priv)if (drm_mm_node_allocated (&ggtt->error_capture))drm_mm_remove_node (&ggtt->error_capture);
Quoted 15 lines
drivers/gpu/drm/i915/i915_gem_gtt.c int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv) · line 3392
Quoted 13 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +5
-1+if (drm_mm_node_allocated (&ggtt->uc_fw)) +drm_mm_remove_node (&ggtt->uc_fw); +if (drm_mm_initialized (&ggtt->vm.mm)) {intel_vgt_deballoon (dev_priv);i915_address_space_fini (&ggtt->vm);@@ -3370,7 +3388,8 @@ int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv)* restriction! */ if (USES_GUC (dev_priv)) { - ggtt->vm.total =min_t (u64, ggtt->vm.total,GUC_GGTT_TOP ); + ggtt->vm.total =min_t (u64, ggtt->vm.total, +GUC_GGTT_RESERVED_END );Should not be required now as you should have completely reserved the range for the guc, by the guc.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/4] drm/i915/uc: Reserve upper range of GGTT
Quoting Fernando Pacheco (2019-04-15 23:32:32)
Quoted 36 lines · Chris Wilson
Quoted 34 lines
Quoting Fernando Pacheco (2019-04-09 22:31:00)
Quoted 21 lines
GuC and HuC depend on
struct_mutexfor device reinitialization. Moving away from this dependency requires perma-pinning the firmware images in GGTT. The upper portion of the GuC address space has a sizeable hole (several MB) that is inaccessible by GuC. Reserve this range within GGTT as it can comfortably hold GuC/HuC firmware images.Signed-off-by Fernando Pacheco <[email protected]>--- drivers/gpu/drm/i915/i915_gem_gtt.c | 25 ++++++++++++++++++++++--- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 + drivers/gpu/drm/i915/intel_guc.h | 11 +++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/i915_gem_gtt.c +0
-0@@ -2747,6 +2747,18 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (ret)drivers/gpu/drm/i915/i915_gem_gtt.c int i915_gem_init_ggtt(struct drm_i915_private *dev_priv) · line 2757
Quoted 10 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +8
-0return ret; +/* Reserve a mappable slot for our lockless uC firmware load */ +if (USES_GUC (dev_priv)) { + ret =drm_mm_insert_node_in_range (&ggtt->vm.mm, &ggtt->uc_fw, +GUC_GGTT_FW_SIZE ,0 , +I915_COLOR_UNEVICTABLE , +GUC_GGTT_FW_START , +GUC_GGTT_FW_END , +DRM_MM_INSERT_LOW );Use
drm_mm_reserve_node()as you want an explicit address.
Quoted 6 lines
Quoted 2 lines
We should be able to push this to guc init, with appropriate bailing if something already took the high range.
I tried pushing this to guc init, but this bailed immediately as there are pinnings between the calls to ggtt init and guc init. Did I misinterpret what you had in mind?
I was hoping we didn't... No worries, this reservation takes priority and if that requires a hook here to call into guc so be it. -Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/4] drm/i915/uc: Reserve upper range of GGTT
In reply to Fernando PachecoQuoted 20 lines · Fernando Pacheco
GuC and HuC depend on
struct_mutexfor device reinitialization. Moving away from this dependency requires perma-pinning the firmware images in GGTT. The upper portion of the GuC address space has a sizeable hole (several MB) that is inaccessible by GuC. Reserve this range within GGTT as it can comfortably hold GuC/HuC firmware images.Signed-off-by Fernando Pacheco <[email protected]>--- drivers/gpu/drm/i915/i915_gem_gtt.c | 25 ++++++++++++++++++++++--- drivers/gpu/drm/i915/i915_gem_gtt.h | 1 + drivers/gpu/drm/i915/intel_guc.h | 11 +++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/i915_gem_gtt.c +0
-0
drivers/gpu/drm/i915/i915_gem_gtt.c int i915_gem_init_ggtt(struct drm_i915_private *dev_priv) · line 2751
Quoted 5 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +2
-0@@ -2747,6 +2747,18 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (ret)return ret; +/* Reserve a mappable slot for our lockless uC firmware load */ +if (USES_GUC (dev_priv)) {
We know the the size of the binaries at this point, so maybe we can do something more accurate, like:
struct drm_mm_node node; u32 guc_fw_size = ROUND_UP(guc_fw->size, I915_GTT_PAGE_SIZE); u32 huc_fw_size = ROUND_UP(huc_fw->size, I915_GTT_PAGE_SIZE); u32 min_reserved_size = guc_fw_size + huc_fw_size; ggtt->uc_fw.start = min_t(u32, GUC_GGTT_TOP, vm->total - min_reserved_size); ggtt->uc_fw.size = ggtt->vm.total - ggtt->uc_fw.start; drm_mm_reserve_node(&ggtt->vm.mm, &ggtt->uc_fw);
Quoted 42 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +18
-2+ ret =drm_mm_insert_node_in_range (&ggtt->vm.mm, &ggtt->uc_fw, +GUC_GGTT_FW_SIZE ,0 , +I915_COLOR_UNEVICTABLE , +GUC_GGTT_FW_START , +GUC_GGTT_FW_END , +DRM_MM_INSERT_LOW ); +if (ret) + goto err_node; + } +/* Clear any non-preallocated blocks */ drm_mm_for_each_hole (entry, &ggtt->vm.mm, hole_start, hole_end) { DRM_DEBUG_KMS("clearing unused GTT space: [%lx, %lx]\n",@@ -2761,12 +2773,15 @@ int i915_gem_init_ggtt(struct drm_i915_private *dev_priv)if (INTEL_PPGTT (dev_priv) ==INTEL_PPGTT_ALIASING ) { ret =i915_gem_init_aliasing_ppgtt (dev_priv);if (ret) - goto err; + goto err_appgtt; }return 0 ; -err: +err_appgtt: +if (USES_GUC (dev_priv)) +drm_mm_remove_node (&ggtt->uc_fw); +err_node:drm_mm_remove_node (&ggtt->error_capture);return ret; }@@ -2792,6 +2807,9 @@ void i915_ggtt_cleanup_hw(struct drm_i915_private *dev_priv)if (drm_mm_node_allocated (&ggtt->error_capture))drm_mm_remove_node (&ggtt->error_capture); +if (drm_mm_node_allocated (&ggtt->uc_fw)) +drm_mm_remove_node (&ggtt->uc_fw); +if (drm_mm_initialized (&ggtt->vm.mm)) {intel_vgt_deballoon (dev_priv);i915_address_space_fini (&ggtt->vm);
drivers/gpu/drm/i915/i915_gem_gtt.c int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv) · line 3392
Quoted 6 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +2
-1@@ -3370,7 +3388,8 @@ int i915_ggtt_probe_hw(struct drm_i915_private *dev_priv)* restriction! */ if (USES_GUC (dev_priv)) { - ggtt->vm.total =min_t (u64, ggtt->vm.total,GUC_GGTT_TOP ); + ggtt->vm.total =min_t (u64, ggtt->vm.total, +GUC_GGTT_RESERVED_END );
No need to leave that extra space at the top, the dma engine can access all 4GB of the GGTT so we can leave ggtt->vm.total untouched when using guc. Just make sure you reserve everything above GUC_GGTT_TOP
Daniele
Quoted 28 lines
drivers/gpu/drm/i915/i915_gem_gtt.c +0
-0ggtt->mappable_end =min_t (u64, ggtt->mappable_end, ggtt->vm.total); }drivers/gpu/drm/i915/i915_gem_gtt.h +1
-0@@ -384,6 +384,7 @@ struct i915_ggtt {u32 pin_bias;struct drm_mm_node error_capture; +struct drm_mm_node uc_fw; };struct i915_hw_ppgtt {drivers/gpu/drm/i915/intel_guc.h +4
-0@@ -127,6 +127,17 @@ static inline void intel_guc_to_host_event_handler(struct intel_guc *guc)/* GuC addresses above GUC_GGTT_TOP also don't map through the GTT */ #define GUC_GGTT_TOP 0xFEE00000 +/* +* This portion of the address space is inaccessible by GuC, +* but still accessible by DMA. We can repurpose this portion +* to house the uC firmware images and perform the image upload.
drivers/gpu/drm/i915/intel_guc.h static inline void intel_guc_to_host_event_handler(struct intel_guc *guc) · line 143
Quoted 10 lines
drivers/gpu/drm/i915/intel_guc.h +7
-0+*/ +#define GUC_GGTT_FW_START GUC_GGTT_TOP +#define GUC_GGTT_FW_END 0xFFE00000 +#define GUC_GGTT_RESERVED_END GUC_GGTT_FW_END + +#define GUC_GGTT_FW_SIZE (GUC_GGTT_FW_END - GUC_GGTT_FW_START) +/** * intel_guc_ggtt_offset() - Get and validate the GGTT offset of @vma * @guc: intel_guc structure.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/4 drm/i915/uc: Place uC firmware in upper range of GGTT
In reply to Fernando PachecoCurrently we pin the GuC or HuC firmware image just before uploading. Perma-pin during uC initialization instead and use the range reserved at the top of the address space.
Moving the firmware resulted in needing to:
- restore the ggtt mapping during the suspend/resume path.
- use an additional pinning for the rsa signature which will be used during HuC auth as addresses above GUC_GGTT_TOP do not map through GTT.
--- drivers/gpu/drm/i915/i915_gem.c | 2 + drivers/gpu/drm/i915/intel_guc.c | 9 ++- drivers/gpu/drm/i915/intel_guc_fw.c | 43 ++++++++++--- drivers/gpu/drm/i915/intel_guc_fw.h | 3 + drivers/gpu/drm/i915/intel_huc.c | 72 +++++++++++++++++----- drivers/gpu/drm/i915/intel_huc.h | 4 ++ drivers/gpu/drm/i915/intel_huc_fw.c | 80 ++++++++++++++++++++---- drivers/gpu/drm/i915/intel_huc_fw.h | 3 + drivers/gpu/drm/i915/intel_uc.c | 39 ++++++++++-- drivers/gpu/drm/i915/intel_uc.h | 1 + drivers/gpu/drm/i915/intel_uc_fw.c | 96 ++++++++++++++++++++--------- drivers/gpu/drm/i915/intel_uc_fw.h | 12 +++- 12 files changed, 291 insertions(+), 73 deletions(-)
drivers/gpu/drm/i915/i915_gem.c +2 -0
@@ -4508,6 +4508,8 @@ void i915_gem_resume(struct drm_i915_private *i915)i915_gem_restore_gtt_mappings (i915);i915_gem_restore_fences (i915); +intel_uc_restore_ggtt_mapping (i915); +/* * As we didn't flush the kernel context before suspend, we cannot * guarantee that the context image is complete. So let's just reset
drivers/gpu/drm/i915/intel_guc.c +8 -1
@@ -189,9 +189,13 @@ int intel_guc_init(struct intel_guc *guc)struct drm_i915_private *dev_priv =guc_to_i915 (guc);int ret; - ret =guc_shared_data_create (guc); + ret =intel_guc_fw_ggtt_pin (guc);if (ret) goto err_fetch; + + ret =guc_shared_data_create (guc); +if (ret) + goto err_fw_pin;GEM_BUG_ON (!guc->shared_data); ret =intel_guc_log_create (&guc->log);
@@ -220,6 +224,8 @@ int intel_guc_init(struct intel_guc *guc)intel_guc_log_destroy (&guc->log); err_shared:guc_shared_data_destroy (guc); +err_fw_pin: +intel_guc_fw_ggtt_unpin (guc); err_fetch:intel_uc_fw_fini (&guc->fw);return ret;
@@ -237,6 +243,7 @@ void intel_guc_fini(struct intel_guc *guc)intel_guc_ads_destroy (guc);intel_guc_log_destroy (&guc->log);guc_shared_data_destroy (guc); +intel_guc_fw_ggtt_unpin (guc);intel_uc_fw_fini (&guc->fw); }
drivers/gpu/drm/i915/intel_guc_fw.c +35 -8
88 lines not on this page · raw message
drivers/gpu/drm/i915/intel_guc_fw.h +3 -0
@@ -29,5 +29,8 @@ struct intel_guc;void intel_guc_fw_init_early (struct intel_guc *guc);int intel_guc_fw_upload (struct intel_guc *guc); +int intel_guc_fw_ggtt_pin (struct intel_guc *guc); +void intel_guc_fw_ggtt_unpin (struct intel_guc *guc); +u32 intel_guc_fw_ggtt_offset (struct intel_guc *guc);#endif
drivers/gpu/drm/i915/intel_huc.c +56 -16
103 lines not on this page · raw message
drivers/gpu/drm/i915/intel_huc.h +4 -0
@@ -33,10 +33,14 @@ struct intel_huc {struct intel_uc_fw fw;/* HuC-specific additions */ +struct i915_vma *rsa_data; +void *rsa_data_vaddr; };void intel_huc_init_early (struct intel_huc *huc);int intel_huc_init_misc (struct intel_huc *huc); +int intel_huc_init (struct intel_huc *huc); +void intel_huc_fini (struct intel_huc *huc);int intel_huc_auth (struct intel_huc *huc);int intel_huc_check_status (struct intel_huc *huc);
drivers/gpu/drm/i915/intel_huc_fw.c +68 -12
108 lines not on this page · raw message
drivers/gpu/drm/i915/intel_huc_fw.h +3 -0
@@ -11,5 +11,8 @@ struct intel_huc;void intel_huc_fw_init_early (struct intel_huc *huc);int intel_huc_fw_upload (struct intel_huc *huc); +int intel_huc_fw_ggtt_pin (struct intel_huc *huc); +void intel_huc_fw_ggtt_unpin (struct intel_huc *huc); +u32 intel_huc_fw_ggtt_offset (struct intel_huc *huc);#endif
drivers/gpu/drm/i915/intel_uc.c +35 -4
@@ -280,6 +280,7 @@ void intel_uc_fini_misc(struct drm_i915_private *i915)int intel_uc_init (struct drm_i915_private *i915) {struct intel_guc *guc = &i915->guc; +struct intel_huc *huc = &i915->huc;int ret;if (!USES_GUC (i915))
@@ -292,19 +293,30 @@ int intel_uc_init(struct drm_i915_private *i915)if (ret)return ret; +if (USES_HUC (i915)) { + ret =intel_huc_init (huc); +if (ret) + goto err_guc; + } +if (USES_GUC_SUBMISSION (i915)) {/* * This is stuff we need to have available at fw load time * if we are planning to enable submission later */ ret =intel_guc_submission_init (guc); -if (ret) { -intel_guc_fini (guc); -return ret; - } +if (ret) + goto err_huc; }return 0 ; + +err_huc: +if (USES_HUC (i915)) +intel_huc_fini (huc); +err_guc: +intel_guc_fini (guc); +return ret; }void intel_uc_fini (struct drm_i915_private *i915)
@@ -319,6 +331,9 @@ void intel_uc_fini(struct drm_i915_private *i915)if (USES_GUC_SUBMISSION (i915))intel_guc_submission_fini (guc); +if (USES_HUC (i915)) +intel_huc_fini (&i915->huc); +intel_guc_fini (guc); }
@@ -488,6 +503,22 @@ int intel_uc_suspend(struct drm_i915_private *i915)return 0 ; } +void intel_uc_restore_ggtt_mapping (struct drm_i915_private *i915) +{ +struct i915_ggtt *ggtt = &i915->ggtt; +struct intel_guc *guc = &i915->guc; +u64 slot =intel_guc_fw_ggtt_offset (guc); + +intel_uc_fw_ggtt_bind (&guc->fw, ggtt, slot); + +if (USES_HUC (i915)) { +struct intel_huc *huc = &i915->huc; + + slot =intel_huc_fw_ggtt_offset (huc); +intel_uc_fw_ggtt_bind (&huc->fw, ggtt, slot); + } +} +int intel_uc_resume (struct drm_i915_private *i915) {struct intel_guc *guc = &i915->guc;
drivers/gpu/drm/i915/intel_uc.h +1 -0
@@ -40,6 +40,7 @@ int intel_uc_init(struct drm_i915_private *dev_priv);void intel_uc_fini (struct drm_i915_private *dev_priv);void intel_uc_reset_prepare (struct drm_i915_private *i915);int intel_uc_suspend (struct drm_i915_private *dev_priv); +void intel_uc_restore_ggtt_mapping (struct drm_i915_private *i915);int intel_uc_resume (struct drm_i915_private *dev_priv);static inline bool intel_uc_is_using_guc (struct drm_i915_private *i915)
drivers/gpu/drm/i915/intel_uc_fw.c +66 -30
113 lines not on this page · raw message
drivers/gpu/drm/i915/intel_uc_fw.h +10 -2
@@ -28,6 +28,7 @@struct drm_printer ;struct drm_i915_private ;struct i915_vma ; +struct i915_ggtt ;/* Home of GuC, HuC and DMC firmwares */ #define INTEL_UC_FIRMWARE_URL "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915"
@@ -146,9 +147,16 @@ static inline u32 intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw)void intel_uc_fw_fetch (struct drm_i915_private *dev_priv,struct intel_uc_fw *uc_fw);int intel_uc_fw_upload (struct intel_uc_fw *uc_fw, -int (*xfer)(struct intel_uc_fw *uc_fw, -struct i915_vma *vma)); +int (*xfer)(struct intel_uc_fw *uc_fw)); +int intel_uc_fw_init (struct intel_uc_fw *uc_fw);void intel_uc_fw_fini (struct intel_uc_fw *uc_fw);void intel_uc_fw_dump (const struct intel_uc_fw *uc_fw,struct drm_printer *p); +void intel_uc_fw_ggtt_bind (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start); +int intel_uc_fw_ggtt_pin (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start); +void intel_uc_fw_ggtt_unpin (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start); +u32 intel_uc_fw_ggtt_offset (struct intel_uc_fw *uc_fw);#endif
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
Quoting Fernando Pacheco (2019-04-09 22:31:01)
Quoted 17 lines
Currently we pin the GuC or HuC firmware image just before uploading. Perma-pin during uC initialization instead and use the range reserved at the top of the address space.
Moving the firmware resulted in needing to:
- restore the ggtt mapping during the suspend/resume path.
- use an additional pinning for the rsa signature which will be used during HuC auth as addresses aboveGUC_GGTT_TOPdo not map through GTT.Signed-off-by Fernando Pacheco <[email protected]>---
drivers/gpu/drm/i915/intel_uc_fw.c +0
-0@@ -315,3 +287,67 @@ void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p)drm_printf (p,"\tRSA: offset %u, size %u\n" , uc_fw->rsa_offset, uc_fw->rsa_size); }
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 299
Quoted 10 lines
drivers/gpu/drm/i915/intel_uc_fw.c +10
-0+ +void intel_uc_fw_ggtt_bind (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start) +{ +struct drm_i915_gem_object *obj = uc_fw->obj; +struct i915_vma dummy = { + .node = { .start = start, .size = obj->base.size }, + .size = obj->base.size, + .pages = obj->mm.pages, + .obj = obj,
Shouldn't need .size or .obj, but usually needs .vm.
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 312
Quoted 13 lines
drivers/gpu/drm/i915/intel_uc_fw.c +13
-0+ }; + +GEM_BUG_ON (!i915_gem_object_has_pinned_pages (obj)); + ggtt->vm.insert_entries (&ggtt->vm, &dummy, obj->cache_level,0 ); +} + +int intel_uc_fw_ggtt_pin (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start) +{ +struct drm_i915_gem_object *obj = uc_fw->obj; +int err; + + err =i915_gem_object_set_to_gtt_domain (obj, false);
Currently requires struct_mutex, and is not required as we can ensure the pages are flushed on creation.
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 319
Quoted 7 lines
drivers/gpu/drm/i915/intel_uc_fw.c +7
-0+if (err) { +DRM_DEBUG_DRIVER ("%s fw set-domain err=%d\n" , +intel_uc_fw_type_repr (uc_fw->type), err); +return err; + } + + err =i915_gem_object_pin_pages (obj);
I'm pretty sure we don't need to pin the pages here, as the caller should be holding the pages already for the duration of the bind.
So I think this should just reduce to the ggtt bind.
Quoted 11 lines
drivers/gpu/drm/i915/intel_uc_fw.c +11
-0+if (err) { +DRM_DEBUG_DRIVER ("%s fw pin-pages err=%d\n" , +intel_uc_fw_type_repr (uc_fw->type), err); +return err; + } + +intel_uc_fw_ggtt_bind (uc_fw, ggtt, start); + +return 0 ; +} +
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 340
Quoted 10 lines
drivers/gpu/drm/i915/intel_uc_fw.c +10
-0+void intel_uc_fw_ggtt_unpin (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start) +{ +struct drm_i915_gem_object *obj = uc_fw->obj; +u64 length = obj->base.size; + + ggtt->vm.clear_range (&ggtt->vm, start, length); + +if (i915_gem_object_has_pinned_pages (obj)) +i915_gem_object_unpin_pages (obj);
No. You either own the pages, or you do not. Don't guess. -Chris
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
Quoted 30 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-09 22:31:01)
Quoted 17 lines
Currently we pin the GuC or HuC firmware image just before uploading. Perma-pin during uC initialization instead and use the range reserved at the top of the address space.
Moving the firmware resulted in needing to:
- restore the ggtt mapping during the suspend/resume path.
- use an additional pinning for the rsa signature which will be used during HuC auth as addresses aboveGUC_GGTT_TOPdo not map through GTT.Signed-off-by Fernando Pacheco <[email protected]>---
drivers/gpu/drm/i915/intel_uc_fw.c +0
-0@@ -315,3 +287,67 @@ void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p)drm_printf (p,"\tRSA: offset %u, size %u\n" , uc_fw->rsa_offset, uc_fw->rsa_size); }drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 299
Quoted 10 lines
drivers/gpu/drm/i915/intel_uc_fw.c +10
-0+ +void intel_uc_fw_ggtt_bind (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start) +{ +struct drm_i915_gem_object *obj = uc_fw->obj; +struct i915_vma dummy = { + .node = { .start = start, .size = obj->base.size }, + .size = obj->base.size, + .pages = obj->mm.pages, + .obj = obj,Shouldn't need .size or .obj, but usually needs .vm.
Quoted 15 lines
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 312
Quoted 13 lines
drivers/gpu/drm/i915/intel_uc_fw.c +13
-0+ }; + +GEM_BUG_ON (!i915_gem_object_has_pinned_pages (obj)); + ggtt->vm.insert_entries (&ggtt->vm, &dummy, obj->cache_level,0 ); +} + +int intel_uc_fw_ggtt_pin (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start) +{ +struct drm_i915_gem_object *obj = uc_fw->obj; +int err; + + err =i915_gem_object_set_to_gtt_domain (obj, false);Currently requires
struct_mutex, and is not required as we can ensure the pages are flushed on creation.
My intent was to maintain what was being done before but just doing it earlier.
But if it's not required..
Quoted 11 lines
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 319
Quoted 7 lines
drivers/gpu/drm/i915/intel_uc_fw.c +7
-0+if (err) { +DRM_DEBUG_DRIVER ("%s fw set-domain err=%d\n" , +intel_uc_fw_type_repr (uc_fw->type), err); +return err; + } + + err =i915_gem_object_pin_pages (obj);I'm pretty sure we don't need to pin the pages here, as the caller should be holding the pages already for the duration of the bind.
So I think this should just reduce to the ggtt bind.
I might be misunderstanding, so could you please clarify what you mean by "should be holding"? Are you stating that the caller already holds the pages?
Quoted 15 lines
Quoted 15 lines
drivers/gpu/drm/i915/intel_uc_fw.c +15
-0+if (err) { +DRM_DEBUG_DRIVER ("%s fw pin-pages err=%d\n" , +intel_uc_fw_type_repr (uc_fw->type), err); +return err; + } + +intel_uc_fw_ggtt_bind (uc_fw, ggtt, start); + +return 0 ; +} + +void intel_uc_fw_ggtt_unpin (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start) +{ +struct drm_i915_gem_object *obj = uc_fw->obj;
Quoted 8 lines
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 340
Quoted 6 lines
drivers/gpu/drm/i915/intel_uc_fw.c +6
-0+u64 length = obj->base.size; + + ggtt->vm.clear_range (&ggtt->vm, start, length); + +if (i915_gem_object_has_pinned_pages (obj)) +i915_gem_object_unpin_pages (obj);No. You either own the pages, or you do not. Don't guess. -Chris
Yeah my bad.
Thanks,
Fernando
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
Quoting Fernando Pacheco (2019-04-09 23:53:08)
Quoted 13 lines · Chris Wilson
Quoted 10 lines
Quoting Fernando Pacheco (2019-04-09 22:31:01)
drivers/gpu/drm/i915/intel_uc_fw.c void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) · line 312
Quoted 7 lines
drivers/gpu/drm/i915/intel_uc_fw.c +7
-0+int intel_uc_fw_ggtt_pin (struct intel_uc_fw *uc_fw, +struct i915_ggtt *ggtt,u64 start) +{ +struct drm_i915_gem_object *obj = uc_fw->obj; +int err; + + err =i915_gem_object_set_to_gtt_domain (obj, false);Currently requires
struct_mutex, and is not required as we can ensure the pages are flushed on creation.
Quoted 4 lines
My intent was to maintain what was being done before but just doing it earlier.
But if it's not required..
More so that it's illegal in the global reset context :)
There are patches on the list that remove the struct_mutex for this operation (eek, no, ignore that you aren't allowed to take that lock inside reset either!), but with a bit of care we shouldn't need the set-to-gtt-domain at all as we can do the flush trivially (if it's even required).
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/intel_uc_fw.c +7
-0+if (err) { +DRM_DEBUG_DRIVER ("%s fw set-domain err=%d\n" , +intel_uc_fw_type_repr (uc_fw->type), err); +return err; + } + + err =i915_gem_object_pin_pages (obj);
Quoted 8 lines
Quoted 4 lines
I'm pretty sure we don't need to pin the pages here, as the caller should be holding the pages already for the duration of the bind.
So I think this should just reduce to the ggtt bind.
I might be misunderstanding, so could you please clarify what you mean by "should be holding"? Are you stating that the caller already holds the pages?
To copy the firmware image into the pages, those pages must exist. To prevent those pages disappearing, we must have kept them around (i.e pinned). So we know by construction of the uc_fw object we always have the pages, and could skip bumping the pin-count around the xfer. Therefore we only need to bind the existing firmware pages into the GGTT to perform the dma xfer (after satisfying ourselves that the pages are indeed flushed).
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
In reply to Fernando PachecoQuoting Fernando Pacheco (2019-04-09 22:31:01)
drivers/gpu/drm/i915/i915_gem.c void i915_gem_resume(struct drm_i915_private *i915) · line 4511
Quoted 9 lines
drivers/gpu/drm/i915/i915_gem.c +1
-0@@ -4508,6 +4508,8 @@ void i915_gem_resume(struct drm_i915_private *i915)i915_gem_restore_gtt_mappings (i915);i915_gem_restore_fences (i915); +intel_uc_restore_ggtt_mapping (i915);
No need, right? The fw ggtt binding is only temporary for the dma xfer. -Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
Quoted 11 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-09 22:31:01)
drivers/gpu/drm/i915/i915_gem.c void i915_gem_resume(struct drm_i915_private *i915) · line 4511
Quoted 9 lines
drivers/gpu/drm/i915/i915_gem.c +1
-0@@ -4508,6 +4508,8 @@ void i915_gem_resume(struct drm_i915_private *i915)i915_gem_restore_gtt_mappings (i915);i915_gem_restore_fences (i915); +intel_uc_restore_ggtt_mapping (i915);No need, right? The fw ggtt binding is only temporary for the dma xfer.
On resume we re-init the uc hardware and perform the upload again. Since I moved the binding to the uc init phase I had to restore the mapping here. And it should not have been called unconditionally...
Fernando
Quoted 1 line
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
In reply to Fernando PachecoQuoting Fernando Pacheco (2019-04-09 22:31:01)
Quoted 17 lines
drivers/gpu/drm/i915/intel_huc.c +9
-0@@ -40,6 +40,59 @@ int intel_huc_init_misc(struct intel_huc *huc)return 0 ; } +/* +* The HuC firmware image now sits above GUC_GGTT_TOP and this +* portion does not map through GTT. This means GuC cannot +* perform the HuC auth with the rsa signature sitting in that +* range. We resort to additionally perma-pinning the rsa signature +* below GUC_GGTT_TOP and utilizing this mapping to perform +* the authentication. +*/ +static int intel_huc_rsa_data_create (struct intel_huc *huc)
drivers/gpu/drm/i915/intel_huc.c int intel_huc_init_misc(struct intel_huc *huc) · line 61
Quoted 10 lines
drivers/gpu/drm/i915/intel_huc.c +10
-0+{ +struct drm_i915_private *i915 =huc_to_i915 (huc); +struct intel_guc *guc = &i915->guc; +struct i915_vma *vma; +void *vaddr; + + vma =intel_guc_allocate_vma (guc,PAGE_SIZE ); +if (IS_ERR (vma)) +return PTR_ERR (vma); +
Are we not allocating an object for the dma xfer here that is then bound to the reserved ggtt node? Why pin it again into the ggtt? -Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
Quoted 23 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-09 22:31:01)
Quoted 22 lines
drivers/gpu/drm/i915/intel_huc.c +14
-0@@ -40,6 +40,59 @@ int intel_huc_init_misc(struct intel_huc *huc)return 0 ; } +/* +* The HuC firmware image now sits above GUC_GGTT_TOP and this +* portion does not map through GTT. This means GuC cannot +* perform the HuC auth with the rsa signature sitting in that +* range. We resort to additionally perma-pinning the rsa signature +* below GUC_GGTT_TOP and utilizing this mapping to perform +* the authentication. +*/ +static int intel_huc_rsa_data_create (struct intel_huc *huc) +{ +struct drm_i915_private *i915 =huc_to_i915 (huc); +struct intel_guc *guc = &i915->guc; +struct i915_vma *vma; +void *vaddr;
Quoted 8 lines
drivers/gpu/drm/i915/intel_huc.c int intel_huc_init_misc(struct intel_huc *huc) · line 61
Quoted 5 lines
drivers/gpu/drm/i915/intel_huc.c +5
-0+ + vma =intel_guc_allocate_vma (guc,PAGE_SIZE ); +if (IS_ERR (vma)) +return PTR_ERR (vma); +Are we not allocating an object for the dma xfer here that is then bound to the reserved ggtt node? Why pin it again into the ggtt? -Chris
It is not bound to the reserved node. The reserved range is inaccessible by GuC, so I had to pull the signature back in for the auth stage.
Fernando
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
Quoting Fernando Pacheco (2019-04-16 15:51:15)
Quoted 34 lines · Chris Wilson
Quoted 23 lines
Quoting Fernando Pacheco (2019-04-09 22:31:01)
Quoted 22 lines
drivers/gpu/drm/i915/intel_huc.c +14
-0@@ -40,6 +40,59 @@ int intel_huc_init_misc(struct intel_huc *huc)return 0 ; } +/* +* The HuC firmware image now sits above GUC_GGTT_TOP and this +* portion does not map through GTT. This means GuC cannot +* perform the HuC auth with the rsa signature sitting in that +* range. We resort to additionally perma-pinning the rsa signature +* below GUC_GGTT_TOP and utilizing this mapping to perform +* the authentication. +*/ +static int intel_huc_rsa_data_create (struct intel_huc *huc) +{ +struct drm_i915_private *i915 =huc_to_i915 (huc); +struct intel_guc *guc = &i915->guc; +struct i915_vma *vma; +void *vaddr;Quoted 8 lines
drivers/gpu/drm/i915/intel_huc.c int intel_huc_init_misc(struct intel_huc *huc) · line 61
Quoted 5 lines
drivers/gpu/drm/i915/intel_huc.c +5
-0+ + vma =intel_guc_allocate_vma (guc,PAGE_SIZE ); +if (IS_ERR (vma)) +return PTR_ERR (vma); +Are we not allocating an object for the dma xfer here that is then bound to the reserved ggtt node? Why pin it again into the ggtt? -Chris
Quoted 2 lines
It is not bound to the reserved node. The reserved range is inaccessible by GuC, so I had to pull the signature back in for the auth stage.
Oh I see a stray comment above the function, and not about why you allocate a second pinned vma. Comments are for describing why you do things in the code; function doc are for telling users how to use the iface.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT
Quoted 33 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-16 15:51:15)
Quoted 32 lines · Chris Wilson
Quoted 31 lines
Quoting Fernando Pacheco (2019-04-09 22:31:01)
Quoted 17 lines
drivers/gpu/drm/i915/intel_huc.c +9
-0@@ -40,6 +40,59 @@ int intel_huc_init_misc(struct intel_huc *huc)return 0 ; } +/* +* The HuC firmware image now sits above GUC_GGTT_TOP and this +* portion does not map through GTT. This means GuC cannot +* perform the HuC auth with the rsa signature sitting in that +* range. We resort to additionally perma-pinning the rsa signature +* below GUC_GGTT_TOP and utilizing this mapping to perform +* the authentication. +*/ +static int intel_huc_rsa_data_create (struct intel_huc *huc)drivers/gpu/drm/i915/intel_huc.c int intel_huc_init_misc(struct intel_huc *huc) · line 61
Quoted 10 lines
drivers/gpu/drm/i915/intel_huc.c +10
-0+{ +struct drm_i915_private *i915 =huc_to_i915 (huc); +struct intel_guc *guc = &i915->guc; +struct i915_vma *vma; +void *vaddr; + + vma =intel_guc_allocate_vma (guc,PAGE_SIZE ); +if (IS_ERR (vma)) +return PTR_ERR (vma); +Are we not allocating an object for the dma xfer here that is then bound to the reserved ggtt node? Why pin it again into the ggtt? -Chris
Quoted 4 lines
Quoted 2 lines
It is not bound to the reserved node. The reserved range is inaccessible by GuC, so I had to pull the signature back in for the auth stage.
Oh I see a stray comment above the function, and not about why you allocate a second pinned vma. Comments are for describing why you do
Sorry, I thought I was providing an explanation. I'll revise!
Quoted 2 lines
things in the code; function doc are for telling users how to use the iface.
Very true. Thanks for pointing this out.
Fernando
Quoted 1 line
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/4 Revert "drm/i915/guc: Disable global reset"
In reply to Fernando PachecoThis reverts commit fe62365f9f80a1c1d438c54fba21f5108a182de8.
--- drivers/gpu/drm/i915/i915_reset.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/i915/i915_reset.c +0 -3
@@ -625,9 +625,6 @@ int intel_gpu_reset(struct drm_i915_private *i915,bool intel_has_gpu_reset (struct drm_i915_private *i915) { -if (USES_GUC (i915)) -return false; -if (!i915_modparams.reset)return NULL ;
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 4/4] Revert "drm/i915/guc: Disable global reset"
Quoting Fernando Pacheco (2019-04-09 22:31:02)
Quoted 1 line
This reverts commit
fe62365f9f80a1c1d438c54fba21f5108a182de8.
And don't forget the test code that skips guc.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 4/4] Revert "drm/i915/guc: Disable global reset"
Quoted 4 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-09 22:31:02)
Quoted 1 line
This reverts commit
fe62365f9f80a1c1d438c54fba21f5108a182de8.And don't forget the test code that skips guc.
-Chris
Selftests? I couldn't find anything that skips guc. I found some skips for guc submission.
Fernando
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 4/4] Revert "drm/i915/guc: Disable global reset"
Quoting Fernando Pacheco (2019-04-16 15:45:03)
Quoted 10 lines · Chris Wilson
Quoted 4 lines
Quoting Fernando Pacheco (2019-04-09 22:31:02)
Quoted 1 line
This reverts commit
fe62365f9f80a1c1d438c54fba21f5108a182de8.And don't forget the test code that skips guc.
-ChrisSelftests? I couldn't find anything that skips guc. I found some skips for guc submission.
That should be moved to just skip the per-engine reset. -Chris
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 4/4] Revert "drm/i915/guc: Disable global reset"
Quoted 11 lines · Chris Wilson
Quoting Fernando Pacheco (2019-04-16 15:45:03)
Quoted 8 lines · Chris Wilson
Quoted 4 lines
Quoting Fernando Pacheco (2019-04-09 22:31:02)
Quoted 1 line
This reverts commit
fe62365f9f80a1c1d438c54fba21f5108a182de8.And don't forget the test code that skips guc.
-ChrisSelftests? I couldn't find anything that skips guc. I found some skips for guc submission.
That should be moved to just skip the per-engine reset. -Chris
Thanks for the clarification.
Fernando
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.SPARSE: warning for Perma-pin uC firmware and re-enable global reset
In reply to Fernando Pacheco== Series Details ==
== Series Details ==
Series: Perma-pin uC firmware and re-enable global reset
URL : https://patchwork.freedesktop.org/series/59255/
State : warning
== Summary ==
$ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915/uc: Rename uC firmware init function Okay!
Commit: drm/i915/uc: Reserve upper range of GGTT -O:drivers/gpu/drm/i915/i915_gem_gtt.c:3373:34: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/i915_gem_gtt.c:3375:25: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/i915_gem_gtt.c:3375:25: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_gem_gtt.c:3391:34: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_gem_gtt.c:3394:25: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_gem_gtt.c:3394:25: warning: expression using sizeof(void)
Commit: drm/i915/uc: Place uC firmware in upper range of GGTT Okay!
Commit: Revert "drm/i915/guc: Disable global reset" Okay!
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for Perma-pin uC firmware and re-enable global reset
In reply to Fernando Pacheco== Series Details ==
== Series Details ==
Series: Perma-pin uC firmware and re-enable global reset
URL : https://patchwork.freedesktop.org/series/59255/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_5897 -> Patchwork_12747
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_12747 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_12747, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/59255/revisions/1/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_12747:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_suspend@basic-s3:
- fi-bdw-5557u: PASS -> INCOMPLETE
- fi-kbl-r: NOTRUN -> INCOMPLETE
- fi-ilk-650: PASS -> INCOMPLETE
- fi-snb-2520m: PASS -> INCOMPLETE
- fi-pnv-d510: PASS -> INCOMPLETE
- fi-kbl-x1275: PASS -> INCOMPLETE
- fi-kbl-7500u: PASS -> INCOMPLETE
- fi-bsw-kefka: PASS -> INCOMPLETE
- fi-bsw-n3050: NOTRUN -> INCOMPLETE
- fi-ivb-3770: PASS -> INCOMPLETE
- fi-hsw-4770r: PASS -> INCOMPLETE
- fi-hsw-peppy: PASS -> INCOMPLETE* igt@i915_module_load@reload-with-fault-injection:
- fi-cfl-guc: PASS -> INCOMPLETE
- fi-skl-guc: PASS -> INCOMPLETE
- fi-kbl-guc: PASS -> INCOMPLETE * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-bwr-2160: PASS -> INCOMPLETE
* igt@runner@aborted:
- fi-cfl-guc: NOTRUN -> FAIL
#### Warnings ####
* igt@gem_exec_suspend@basic-s3:
- fi-whl-u: FAIL [fdo#103375] -> INCOMPLETE
Known issues
------------
Here are the changes found in Patchwork_12747 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_basic@gtt-bsd1:
- fi-bsw-n3050: NOTRUN -> SKIP [fdo#109271] +10
- fi-icl-u3: NOTRUN -> SKIP [fdo#109276] +7
* igt@gem_exec_parse@basic-rejected:
- fi-icl-u3: NOTRUN -> SKIP [fdo#109289] +1
* igt@gem_exec_store@basic-bsd1:
- fi-kbl-r: NOTRUN -> SKIP [fdo#109271] +9
* igt@gem_exec_store@basic-vebox:
- fi-byt-j1900: NOTRUN -> SKIP [fdo#109271] +11
* igt@gem_exec_suspend@basic-s3:
- fi-skl-6770hq: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]
- fi-byt-n2820: PASS -> INCOMPLETE [fdo#102657]
- fi-cfl-8109u: PASS -> INCOMPLETE [fdo#108126]
- fi-skl-lmem: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]
- fi-skl-6260u: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]
- fi-snb-2600: PASS -> INCOMPLETE [fdo#105411]
- fi-elk-e7500: PASS -> INCOMPLETE [fdo#103989]
- fi-bdw-gvtdvm: PASS -> INCOMPLETE [fdo#105600]
- fi-skl-iommu: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]
- fi-glk-dsi: PASS -> INCOMPLETE [fdo#103359] / [k.org#198133]
- fi-cfl-8700k: PASS -> INCOMPLETE [fdo#108126]
- fi-kbl-8809g: PASS -> INCOMPLETE [fdo#103665] / [fdo#108126]
- fi-bxt-dsi: PASS -> INCOMPLETE [fdo#103927]
- fi-skl-gvtdvm: PASS -> INCOMPLETE [fdo#104108] / [fdo#105600] / [fdo#107773]
- fi-icl-u3: NOTRUN -> INCOMPLETE [fdo#107713]
- fi-byt-j1900: NOTRUN -> INCOMPLETE [fdo#102657]
- fi-hsw-4770: PASS -> INCOMPLETE [fdo#103540]
- fi-bxt-j4205: PASS -> INCOMPLETE [fdo#103927]
- fi-skl-6700k2: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]
- fi-blb-e6850: PASS -> INCOMPLETE [fdo#107718]
- fi-skl-6600u: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773] * igt@i915_module_load@reload-with-fault-injection:
- fi-apl-guc: PASS -> INCOMPLETE [fdo#103927]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-gdg-551: PASS -> INCOMPLETE [fdo#108316]
* igt@runner@aborted:
- fi-skl-guc: NOTRUN -> FAIL [fdo#104108]
- fi-apl-guc: NOTRUN -> FAIL [fdo#105602]
- fi-kbl-guc: NOTRUN -> FAIL [fdo#105602]#### Possible fixes ####
* igt@gem_ctx_exec@basic:
- fi-icl-u3: INCOMPLETE [fdo#107713] -> PASS
* igt@i915_hangman@error-state-basic:
- fi-kbl-guc: SKIP [fdo#109271] -> PASS
- fi-apl-guc: SKIP [fdo#109271] -> PASS +3
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-b:
- fi-skl-guc: SKIP [fdo#109271] -> PASS +3
- fi-cfl-guc: SKIP [fdo#109271] -> PASS +3
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102657]: https://bugs.freedesktop.org/show_bug.cgi?id=102657
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#103989]: https://bugs.freedesktop.org/show_bug.cgi?id=103989
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#105600]: https://bugs.freedesktop.org/show_bug.cgi?id=105600
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773
[fdo#108126]: https://bugs.freedesktop.org/show_bug.cgi?id=108126
[fdo#108316]: https://bugs.freedesktop.org/show_bug.cgi?id=108316
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (44 -> 42)
------------------------------
Additional (3): fi-byt-j1900 fi-kbl-r fi-bsw-n3050
Missing (5): fi-kbl-7567u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_5897 -> Patchwork_12747
CI_DRM_5897: 7d07e025e78603d6270bc115fdb6c1efea6e66a5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4934: dc4f45eb6874331daec870dc1e4cfc3ac5c49311 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_12747: 7740771e03a93be4aa117bc80c1f6098e639090a @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
7740771e03a9 Revert "drm/i915/guc: Disable global reset" 65905aa2ebd8 drm/i915/uc: Place uC firmware in upper range of GGTT a59b0c01f6ec drm/i915/uc: Reserve upper range of GGTT 4ddb8738155d drm/i915/uc: Rename uC firmware init function
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_12747/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx