drm/i915/dmc: Step away from symbolic links
Subsystems (2)
PATCH 1/1 drm/i915/dmc: Step away from symbolic links
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.
--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)
drivers/gpu/drm/i915/intel_csr.c +14 -15
@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)
@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;
@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Ro.CI.BAT: failure for drm/i915/dmc: Step away from symbolic links
== Series Details ==
== Series Details ==
Series: drm/i915/dmc: Step away from symbolic links
URL : https://patchwork.freedesktop.org/series/6966/
State : failure
== Summary ==
Series 6966v1 drm/i915/dmc: Step away from symbolic links
http://patchwork.freedesktop.org/api/1.0/series/6966/revisions/1/mbox
Test drv_hangman:
Subgroup error-state-basic:
pass -> FAIL (ro-ilk1-i5-650)
Test gem_exec_flush:
Subgroup basic-batch-kernel-default-cmd:
fail -> PASS (ro-byt-n2820)
Test kms_flip:
Subgroup basic-flip-vs-wf_vblank:
pass -> FAIL (ro-ivb2-i7-3770)
Test kms_sink_crc_basic:
pass -> SKIP (ro-skl-i7-6700hq)ro-bdw-i5-5250u total:219 pass:202 dwarn:4 dfail:0 fail:0 skip:13 ro-bdw-i7-5600u total:219 pass:187 dwarn:0 dfail:0 fail:0 skip:32 ro-bsw-n3050 total:219 pass:175 dwarn:0 dfail:0 fail:2 skip:42 ro-byt-n2820 total:218 pass:175 dwarn:0 dfail:0 fail:2 skip:41 ro-hsw-i3-4010u total:218 pass:193 dwarn:0 dfail:0 fail:0 skip:25 ro-hsw-i7-4770r total:219 pass:194 dwarn:0 dfail:0 fail:0 skip:25 ro-ilk-i7-620lm total:219 pass:151 dwarn:0 dfail:0 fail:1 skip:67 ro-ilk1-i5-650 total:214 pass:151 dwarn:0 dfail:0 fail:2 skip:61 ro-ivb-i7-3770 total:219 pass:183 dwarn:0 dfail:0 fail:0 skip:36 ro-ivb2-i7-3770 total:219 pass:186 dwarn:0 dfail:0 fail:1 skip:32 ro-skl-i7-6700hq total:214 pass:189 dwarn:0 dfail:0 fail:0 skip:25 ro-snb-i7-2620M total:219 pass:177 dwarn:0 dfail:0 fail:1 skip:41
ro-bdw-i7-5557U failed to connect after reboot
Results at /archive/results/CI_IGT_test/RO_Patchwork_845/
2d4abf3 drm-intel-nightly: 2016y-05m-10d-09h-36m-54s UTC integration manifest 5254ec7 drm/i915/dmc: Step away from symbolic links
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.
We should augment the commit message to answer the 'why' part.
Otherwise, looks good.
-Mika
Quoted 77 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]>--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +14
-15@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }Signature · 1 line
2.5.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Mika Kuoppala
Quoted 5 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.We should augment the commit message to answer the 'why' part.
Otherwise, looks good.
Yes I agree. Where did this discussion take place? I don't believe I was part of it. Rodrigo told me we've reached consensus on the decision but that's all I know.
-Patrik
Quoted 81 lines
-Mika
Quoted 77 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]>--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +14
-15@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }Signature · 1 line
2.5.0
Signature · 5 lines
Intel Sweden AB Registered Office: Knarrarnasgatan 15, 164 40 Kista, Stockholm, Sweden Registration Number: 556189-6027 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 9 lines · Patrik Jakobsson
Quoted 8 lines · Mika Kuoppala
Quoted 5 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.
Quoted 7 lines
Quoted 3 lines
We should augment the commit message to answer the 'why' part.
Otherwise, looks good.
Yes I agree. Where did this discussion take place? I don't believe I was part of it. Rodrigo told me we've reached consensus on the decision but that's all I know.
This captures most of it I think
http://mid.gmane.org/[email protected]
BR,
Jani.
Quoted 84 lines
-Patrik
Quoted 81 lines
-Mika
Quoted 77 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]>--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +14
-15@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }Signature · 1 line
2.5.0
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 13 lines · Jani Nikula
[ text/plain ]
Quoted 11 lines · Patrik Jakobsson
Quoted 10 lines · Mika Kuoppala
Quoted 5 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.We should augment the commit message to answer the 'why' part.
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
Otherwise, looks good.
Yes I agree. Where did this discussion take place? I don't believe I was part of it. Rodrigo told me we've reached consensus on the decision but that's all I know.
This captures most of it I think
http://mid.gmane.org/[email protected]
Pretty much. In essence we want to offer a combination
with somekind of proof (read tested) that it works. And lock that combination. Think about it as a colored seal paint on screw heads on some products: these were tested and delivered together. You can unscrew and dissassemble the parts still with minimal effort and mix the pieces, but they may or may not work as planned if you do so.
And if you broke the seal paint and get a black screen, you know who to blame.
-Mika
Quoted 87 lines
BR,
Jani.Quoted 82 lines
-Patrik
Quoted 79 lines
-Mika
Quoted 75 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]>--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +14
-15@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Signature · 1 line
2.5.0Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 1/1 drm/i915/dmc: Step away from symbolic links
In reply to Patrik JakobssonLoad specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.
Certain DMC versions need workarounds in the driver which forces us to have a tight dependency between firmware and driver. In order to be able to provide a tested and known working configuration we must lock down on a specific DMC firmware version.
--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)
drivers/gpu/drm/i915/intel_csr.c +14 -15
@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)
@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;
@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Patrik Jakobsson
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.
Certain DMC versions need workarounds in the driver which forces us to have a tight dependency between firmware and driver. In order to be able to provide a tested and known working configuration we must lock down on a specific DMC firmware version.
Quoted 4 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]>
On the general idea,
I guess we'll need to keep the symbolic links around in linux-firmware, pointing to known good firmware versions, and *not* update the links anymore.
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.Certain DMC versions need workarounds in the driver which forces us to have a tight dependency between firmware and driver. In order to be able to provide a tested and known working configuration we must lock down on a specific DMC firmware version.
Quoted 4 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]>
We need ack from Rodrigo and/or whomever is handling the fw releasing side.
-Mika
Quoted 73 lines
--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +14
-15@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }Signature · 1 line
2.5.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 17 lines · Mika Kuoppala
Quoted 10 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic links. The currently recommended versions are: SKL 1.26, KBL 1.01 and BXT 1.07.Certain DMC versions need workarounds in the driver which forces us to have a tight dependency between firmware and driver. In order to be able to provide a tested and known working configuration we must lock down on a specific DMC firmware version.
Quoted 4 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]>
Quoted 7 lines
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested this feature we indirectly have his ACK.
-Patrik
Quoted 73 lines
Quoted 73 lines
--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +14
-15@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t dmc_offset =CSR_DEFAULT_FW_OFFSET , readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { -DRM_INFO ("Refusing to load old DMC firmware v%u.%u," -" please upgrade to v%u.%u or later" -" [" FIRMWARE_URL "].\n" , +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," +" please use v%u.%u [" FIRMWARE_URL "].\n" ,CSR_VERSION_MAJOR (csr->version),CSR_VERSION_MINOR (csr->version), -CSR_VERSION_MAJOR (required_min_version), -CSR_VERSION_MINOR (required_min_version)); +CSR_VERSION_MAJOR (required_version), +CSR_VERSION_MINOR (required_version));return NULL ; }Signature · 1 line
2.5.0
Signature · 5 lines
Intel Sweden AB Registered Office: Knarrarnasgatan 15, 164 40 Kista, Stockholm, Sweden Registration Number: 556189-6027 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 29 lines · Patrik Jakobsson
Quoted 28 lines · Mika Kuoppala
Quoted 15 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic
links. The currently recommended versions are: SKL 1.26, KBL 1.01 and
BXT 1.07.Certain DMC versions need workarounds in the driver which forces us to
have a tight dependency between firmware and driver. In order to be able
to provide a tested and known working configuration we must lock down on
a specific DMC firmware version.Quoted 5 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]Quoted 1 line
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 6 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested this
feature we indirectly have his ACK.
indeed! ;)
Quoted 82 lines
-Patrik
Quoted 80 lines
Quoted 80 lines
--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++------------ --- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +5
-5@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(structdrm_i915_private *dev_priv, uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET, readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;drivers/gpu/drm/i915/intel_csr.c +4
-6if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMC firmwarev%u.%u,"
drivers/gpu/drm/i915/intel_csr.c +3
-2-" please upgrade to v%u.%u or later" - " [" FIRMWARE_URL "].\n", +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," + " please use v%u.%u [" FIRMWARE_URL"].\n",
drivers/gpu/drm/i915/intel_csr.c +0
-1CSR_VERSION_MAJOR (csr->version), CSR_VERSION_MINOR(csr->version), -CSR_VERSION_MAJOR (required_min_version),
drivers/gpu/drm/i915/intel_csr.c +0
-1-CSR_VERSION_MINOR (required_min_version));
drivers/gpu/drm/i915/intel_csr.c +2
-0+CSR_VERSION_MAJOR (required_version), + CSR_VERSION_MINOR(required_version));return NULL ; }
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Signature · 1 line
2.5.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 30 lines · Rodrigo
Quoted 29 lines · Patrik Jakobsson
Quoted 28 lines · Mika Kuoppala
Quoted 15 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic
links. The currently recommended versions are: SKL 1.26, KBL 1.01 and
BXT 1.07.Certain DMC versions need workarounds in the driver which forces us to
have a tight dependency between firmware and driver. In order to be able
to provide a tested and known working configuration we must lock down on
a specific DMC firmware version.Quoted 5 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik Jakobsson <[email protected]Quoted 1 line
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested this
feature we indirectly have his ACK.indeed! ;)
I assume we need BXT 1.07 released on 01.org before merging this. Any status on that?
-Patrik
Quoted 89 lines
Acked-by Rodrigo Vivi <[email protected]>Quoted 85 lines
-Patrik
Quoted 82 lines
Quoted 82 lines
--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++------------ --- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +5
-5@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE (I915_CSR_BXT );#define BXT_CSR_VERSION_REQUIRED CSR_VERSION(1, 7)@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(structdrm_i915_private *dev_priv, uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET, readcount =0 , nbytes;uint32_t i;uint32_t *dmc_payload; -uint32_t required_min_version; +uint32_t required_version;drivers/gpu/drm/i915/intel_csr.c +4
-6if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMC firmwarev%u.%u,"
drivers/gpu/drm/i915/intel_csr.c +3
-2-" please upgrade to v%u.%u or later" - " [" FIRMWARE_URL "].\n", +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," + " please use v%u.%u [" FIRMWARE_URL"].\n",
drivers/gpu/drm/i915/intel_csr.c +0
-1CSR_VERSION_MAJOR (csr->version), CSR_VERSION_MINOR(csr->version), -CSR_VERSION_MAJOR (required_min_version),
drivers/gpu/drm/i915/intel_csr.c +0
-1-CSR_VERSION_MINOR (required_min_version));
drivers/gpu/drm/i915/intel_csr.c +2
-0+CSR_VERSION_MAJOR (required_version), + CSR_VERSION_MINOR(required_version));return NULL ; }Signature · 2 lines
-- 2.5.0
Signature · 5 lines
Intel Sweden AB Registered Office: Knarrarnasgatan 15, 164 40 Kista, Stockholm, Sweden Registration Number: 556189-6027 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Adding Christophe, he was supposed to make the release after validation. I don't think it prevents merging this patch though, the result is failure to load the firmware in either case.
--Imre
Quoted 40 lines · Patrik Jakobsson
Quoted 30 lines · Rodrigo
Quoted 29 lines · Patrik Jakobsson
Quoted 28 lines · Mika Kuoppala
Quoted 15 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using symbolic
links. The currently recommended versions are: SKL 1.26, KBL 1.01 and
BXT 1.07.Certain DMC versions need workarounds in the driver which forces us to
have a tight dependency between firmware and driver. In order to be able
to provide a tested and known working configuration we must lock down on
a specific DMC firmware version.Quoted 5 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik JakobssonQuoted 1 line
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested this
feature we indirectly have his ACK.indeed! ;)
Quoted 98 lines
I assume we need BXT 1.07 released on 01.org before merging this. Any status on that?
-Patrik
Quoted 89 lines
Acked-by Rodrigo Vivi <[email protected]>Quoted 85 lines
-Patrik
Quoted 82 lines
Quoted 82 lines
---
drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++------------
---1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE(I915_CSR_KBL);
#defineKBL_CSR_VERSION_REQUIREDCSR_VERSION(1, 1)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE(I915_CSR_SKL);
drivers/gpu/drm/i915/intel_csr.c +1
-1-#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE(I915_CSR_BXT);
#defineBXT_CSR_VERSION_REQUIREDCSR_VERSION(1, 7)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,
uint32_tdmc_offset=CSR_DEFAULT_FW_OFFSET, readcount = 0, nbytes;
uint32_ti;
uint32_t*dmc_payload;drivers/gpu/drm/i915/intel_csr.c +1
-1-uint32_t required_min_version; +uint32_t required_version;
if (!fw)
return NULL;drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(structdrm_i915_private *dev_priv, csr->version = css_header->version;
if (IS_KABYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +1
-1- required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ;} else if (
IS_SKYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +1
-1- required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ;} else if (
IS_BROXTON(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +1
-1- required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ;} else { MISSING_CASE(INTEL_REVID(dev_priv));
drivers/gpu/drm/i915/intel_csr.c +1
-1- required_min_version =0 ; + required_version =0 ;}
drivers/gpu/drm/i915/intel_csr.c +0
-2-if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMC firmwarev%u.%u,"
drivers/gpu/drm/i915/intel_csr.c +3
-2- " please upgrade to v%u.%u or later" - " [" FIRMWARE_URL "].\n", +if (csr->version != required_version) { +DRM_INFO ("Refusing to load DMC firmware v%u.%u," + " please use v%u.%u [" FIRMWARE_URL"].\n",
CSR_VERSION_MAJOR(csr->version),CSR_VERSION_MINOR(csr->version),drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MAJOR(required_min_version),
drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MINOR(required_min_version));
drivers/gpu/drm/i915/intel_csr.c +2
-0+ CSR_VERSION_MAJOR(required_version), + CSR_VERSION_MINOR(required_version));return NULL;
}
--
2.5.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Vivi, Rodrigo
maintainerQuoted 2 lines · Imre Deak
Adding Christophe, he was supposed to make the release after validation.
Apparently we are almost ready to release and one latest round of final validation was pending.
Christophe, any news on this front?
Quoted 2 lines
I don't think it prevents merging this patch though, the
result is failure to load the firmware in either case.
I was going to say that I agree, but I believe Patrik might be right. Without this patch we load the 1.06 while with this patch we start loading only the 1.07 that is not available.
Although 1.06 might have issues the failures would be different. So or we blacklist 1.06 with a separated patch and then merge this one or we release the 1.07 before.
Quoted 161 lines
--Imre
Quoted 157 lines · Patrik Jakobsson
Quoted 39 lines · Rodrigo
Quoted 37 lines · Patrik Jakobsson
Quoted 35 lines · Mika Kuoppala
Quoted 21 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using
symbolic
links. The currently recommended versions are: SKL 1.26, KBL 1.01
and
BXT 1.07.Certain DMC versions need workarounds in the driver which forces
us to
have a tight dependency between firmware and driver. In order to
be able
to provide a tested and known working configuration we must lock
down on
a specific DMC firmware version.Quoted 6 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik JakobssonQuoted 2 lines
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested
this
feature we indirectly have his ACK.indeed! ;)
I assume we need BXT 1.07 released on 01.org before merging this. Any status on
that?-Patrik
Quoted 100 lines
Acked-by Rodrigo Vivi <[email protected]>Quoted 95 lines
-Patrik
Quoted 92 lines
Quoted 92 lines
---
drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++----
--------
---1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE(I915_CSR_KBL);
#defineKBL_CSR_VERSION_REQUIREDCSR_VERSION(1, 1)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE(I915_CSR_SKL);
drivers/gpu/drm/i915/intel_csr.c +1
-1-#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE(I915_CSR_BXT);
#defineBXT_CSR_VERSION_REQUIREDCSR_VERSION(1, 7)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(structdrm_i915_private *dev_priv, uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET,readcount =
0, nbytes;
uint32_ti;
uint32_t*dmc_payload;drivers/gpu/drm/i915/intel_csr.c +1
-1-uint32_t required_min_version; +uint32_t required_version;
if (!fw)
return NULL;drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(structdrm_i915_private *dev_priv, csr->version = css_header->version;
if (IS_KABYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
KBL_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
KBL_CSR_VERSION_REQUIRED;
} else if (IS_SKYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
SKL_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
SKL_CSR_VERSION_REQUIRED;
} else if (IS_BROXTON(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
BXT_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
BXT_CSR_VERSION_REQUIRED;
} else { MISSING_CASE(INTEL_REVID(dev_priv));drivers/gpu/drm/i915/intel_csr.c +1
-1- required_min_version =0 ; + required_version =0 ;}
drivers/gpu/drm/i915/intel_csr.c +0
-2-if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMCfirmware
v%u.%u,"drivers/gpu/drm/i915/intel_csr.c +0
-1- " please upgrade to v%u.%u orlater"
drivers/gpu/drm/i915/intel_csr.c +2
-1- " [" FIRMWARE_URL "].\n", +if (csr->version != required_version) { + DRM_INFO("Refusing to load DMC firmwarev%u.%u,"
drivers/gpu/drm/i915/intel_csr.c +1
-0+ " please use v%u.%u ["
FIRMWARE_URL
"].\n",
CSR_VERSION_MAJOR(csr->version),CSR_VERSION_MINOR(csr->version),drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MAJOR(required_min_version)
,drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MINOR(required_min_version)
);drivers/gpu/drm/i915/intel_csr.c +1
-0+ CSR_VERSION_MAJOR(required_versio
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
n),
drivers/gpu/drm/i915/intel_csr.c +1
-0+ CSR_VERSION_MINOR(required_version));
return NULL;
}
--
2.5.0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 13 lines · Rodrigo
Quoted 2 lines · Imre Deak
Adding Christophe, he was supposed to make the release after validation.
Apparently we are almost ready to release and one latest round of final
validation was pending.Christophe, any news on this front?
Quoted 2 lines
I don't think it prevents merging this patch though, the result is failure to load the firmware in either case.
Quoted 8 lines
I was going to say that I agree, but I believe Patrik might be right. Without this patch we load the 1.06 while with this patch we start loading only the 1.07 that is not available.
Although 1.06 might have issues the failures would be different. So or
we blacklist 1.06 with a separated patch and then merge this one or we
release the 1.07 before.
1.06 is already blacklisted, it has known problems.
--Imre
Quoted 170 lines
Quoted 170 lines · Patrik Jakobsson
Quoted 169 lines · Rodrigo
Quoted 41 lines · Patrik Jakobsson
Quoted 39 lines
Quoted 36 lines · Mika Kuoppala
Quoted 22 lines · Patrik Jakobsson
[ text/plain ]
Load specific firmware versions for the DMC instead of using
symbolic
links. The currently recommended versions are: SKL 1.26, KBL 1.01
and
BXT 1.07.Certain DMC versions need workarounds in the driver which forces
us to
have a tight dependency between firmware and driver. In order to
be able
to provide a tested and known working configuration we must
lock
down on
a specific DMC firmware version.Quoted 6 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik JakobssonQuoted 2 lines
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested
this
feature we indirectly have his ACK.indeed! ;)
I assume we need BXT 1.07 released on 01.org before merging this. Any status on
that?-Patrik
Quoted 110 lines
Acked-by Rodrigo Vivi <[email protected]>Quoted 105 lines
-Patrik
Quoted 102 lines
Quoted 102 lines
---
drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++----
--------
---1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE(I915_CSR_KBL);
#defineKBL_CSR_VERSION_REQUIREDCSR_VERSION(1,
1)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE(I915_CSR_SKL);
-#defineSKL_CSR_VERSION_REQUIREDCSR_VERSION(1,
23)
+#defineSKL_CSR_VERSION_REQUIREDCSR_VERSION(1,
26)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE(I915_CSR_BXT);
#defineBXT_CSR_VERSION_REQUIREDCSR_VERSION(1,
7)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(structdrm_i915_private *dev_priv, uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET,readcount =
0, nbytes;
uint32_ti;
uint32_t*dmc_payload;drivers/gpu/drm/i915/intel_csr.c +1
-1-uint32_t required_min_version; +uint32_t required_version;
if (!fw)
return NULL;drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;
if (IS_KABYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
KBL_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
KBL_CSR_VERSION_REQUIRED;
} else if (IS_SKYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
SKL_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
SKL_CSR_VERSION_REQUIRED;
} else if (IS_BROXTON(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
BXT_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
BXT_CSR_VERSION_REQUIRED;
} else { MISSING_CASE(INTEL_REVID(dev_priv));drivers/gpu/drm/i915/intel_csr.c +1
-1- required_min_version =0 ; + required_version =0 ;}
drivers/gpu/drm/i915/intel_csr.c +0
-2-if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMCfirmware
v%u.%u,"drivers/gpu/drm/i915/intel_csr.c +0
-1- " please upgrade to v%u.%u orlater"
drivers/gpu/drm/i915/intel_csr.c +2
-1- " [" FIRMWARE_URL "].\n", +if (csr->version != required_version) { + DRM_INFO("Refusing to load DMC firmwarev%u.%u,"
drivers/gpu/drm/i915/intel_csr.c +1
-0+ " please use v%u.%u ["
FIRMWARE_URL
"].\n",
CSR_VERSION_MAJOR(csr-Quoted 1 line
version),
CSR_VERSION_MINOR(csr-
Quoted 1 line
version),
drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MAJOR(required_min_ve
rsion)
,drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MINOR(required_min_ve
rsion)
);drivers/gpu/drm/i915/intel_csr.c +1
-0+ CSR_VERSION_MAJOR(required_versio
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
n),
drivers/gpu/drm/i915/intel_csr.c +1
-0+ CSR_VERSION_MINOR(required_versio
n));
return NULL;
}
--
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Vivi, Rodrigo
maintainerQuoted 24 lines · Imre Deak
Quoted 14 lines · Rodrigo
Quoted 3 lines · Imre Deak
Adding Christophe, he was supposed to make the release after validation.
Apparently we are almost ready to release and one latest round of final
validation was pending.Christophe, any news on this front?
Quoted 3 lines
I don't think it prevents merging this patch though, the result is failure to load the firmware in either case.
Quoted 9 lines
I was going to say that I agree, but I believe Patrik might be right.
Without this patch we load the 1.06 while with this patch we start loading only the 1.07 that is not available.
Although 1.06 might have issues the failures would be different. So or
we blacklist 1.06 with a separated patch and then merge this one or we
release the 1.07 before.
Quoted 1 line
1.06 is already blacklisted, it has known problems.
Oh! So I agree with the first statement. Let's merge this patch ;)
Quoted 198 lines
--Imre
Quoted 195 lines
Quoted 195 lines · Patrik Jakobsson
Quoted 192 lines · Rodrigo
Quoted 49 lines · Patrik Jakobsson
Quoted 46 lines
Quoted 42 lines · Mika Kuoppala
Patrik Jakobsson <[email protected]>
Quoted 25 lines · writes:
[ text/plain ]
Load specific firmware versions for the DMC instead of using
symbolic
links. The currently recommended versions are: SKL 1.26,
KBL 1.01
and
BXT 1.07.Certain DMC versions need workarounds in the driver which
forces
us to
have a tight dependency between firmware and driver. In order to
be able
to provide a tested and known working configuration we must
lock
down on
a specific DMC firmware version.Quoted 7 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik JakobssonQuoted 3 lines
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested
this
feature we indirectly have his ACK.indeed! ;)
I assume we need BXT 1.07 released on 01.org before merging this.
Any status on
that?-Patrik
Quoted 123 lines
Acked-by Rodrigo Vivi <[email protected]>Quoted 117 lines
-Patrik
Quoted 113 lines
Quoted 113 lines
---
drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++
----
--------
---1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE(I915_CSR_KBL);
#defineKBL_CSR_VERSION_REQUIREDCSR_VERSION(1,
1)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE(I915_CSR_SKL);
-#defineSKL_CSR_VERSION_REQUIREDCSR_VERSION(1,
23)
+#defineSKL_CSR_VERSION_REQUIREDCSR_VERSION(1,
26)drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE(I915_CSR_BXT);
#defineBXT_CSR_VERSION_REQUIREDCSR_VERSION(1,
7)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET,readcount =
0, nbytes;
uint32_ti;
uint32_t*dmc_payload;drivers/gpu/drm/i915/intel_csr.c +1
-1-uint32_t required_min_version; +uint32_t required_version;
if (!fw)
return NULL;drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;
if (IS_KABYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
KBL_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
KBL_CSR_VERSION_REQUIRED;
} else if (IS_SKYLAKE(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
SKL_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
SKL_CSR_VERSION_REQUIRED;
} else if (IS_BROXTON(dev_priv)) {drivers/gpu/drm/i915/intel_csr.c +0
-1- required_min_version =
BXT_CSR_VERSION_REQUIRED;drivers/gpu/drm/i915/intel_csr.c +1
-0+ required_version =
BXT_CSR_VERSION_REQUIRED;
} else { MISSING_CASE(INTEL_REVID(dev_priv));drivers/gpu/drm/i915/intel_csr.c +1
-1- required_min_version =0 ; + required_version =0 ;}
drivers/gpu/drm/i915/intel_csr.c +0
-2-if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMCfirmware
v%u.%u,"drivers/gpu/drm/i915/intel_csr.c +0
-1- " please upgrade to v%u.%u orlater"
drivers/gpu/drm/i915/intel_csr.c +2
-1- " [" FIRMWARE_URL "].\n", +if (csr->version != required_version) { + DRM_INFO("Refusing to load DMCfirmware
v%u.%u,"drivers/gpu/drm/i915/intel_csr.c +1
-0+ " please use v%u.%u ["
FIRMWARE_URL
"].\n",
CSR_VERSION_MAJOR(csr-Quoted 2 lines
version),
CSR_VERSION_MINOR(csr-
Quoted 2 lines
version),
drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MAJOR(required_min_
ve
rsion)
,drivers/gpu/drm/i915/intel_csr.c +0
-1- CSR_VERSION_MINOR(required_min_
ve
rsion)
);drivers/gpu/drm/i915/intel_csr.c +1
-0+ CSR_VERSION_MAJOR(required_vers
io
n),
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/i915/intel_csr.c +1
-0+ CSR_VERSION_MINOR(required_vers
io
n));
return NULL;
}
--
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 25 lines · Rodrigo
Quoted 24 lines · Imre Deak
Quoted 23 lines · Rodrigo
Quoted 3 lines · Imre Deak
Adding Christophe, he was supposed to make the release after validation.
Apparently we are almost ready to release and one latest round of final
validation was pending.Christophe, any news on this front?
Quoted 3 lines
I don't think it prevents merging this patch though, the
result is failure to load the firmware in either case.I was going to say that I agree, but I believe Patrik might be right.
Without this patch we load the 1.06 while with this patch we start loading only the 1.07 that is not available.
Although 1.06 might have issues the failures would be different. So or
we blacklist 1.06 with a separated patch and then merge this one or we
release the 1.07 before.
Quoted 3 lines
Quoted 1 line
1.06 is already blacklisted, it has known problems.
Oh! So I agree with the first statement. Let's merge this patch ;)
That was new info for me as well. I don't have commit access so anyone who can, feel free to merge.
-Patrik
Quoted 206 lines
Quoted 206 lines
--Imre
Quoted 202 lines
Quoted 202 lines · Patrik Jakobsson
Quoted 199 lines · Rodrigo
Quoted 49 lines · Patrik Jakobsson
Quoted 46 lines
Quoted 42 lines · Mika Kuoppala
Patrik Jakobsson <[email protected]>
Quoted 25 lines · writes:
[ text/plain ]
Load specific firmware versions for the DMC instead of using
symbolic
links. The currently recommended versions are: SKL 1.26,
KBL 1.01
and
BXT 1.07.Certain DMC versions need workarounds in the driver which
forces
us to
have a tight dependency between firmware and driver. In order to
be able
to provide a tested and known working configuration we must
lock
down on
a specific DMC firmware version.Quoted 7 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik JakobssonQuoted 3 lines
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he requested
this
feature we indirectly have his ACK.indeed! ;)
I assume we need BXT 1.07 released on 01.org before merging this.
Any status on
that?-Patrik
Quoted 130 lines
Acked-by Rodrigo Vivi <[email protected]>Quoted 124 lines
-Patrik
Quoted 120 lines
Quoted 120 lines
--- drivers/gpu/drm/i915/intel_csr.c | 29 ++++++++++++++ ---- -------- --- 1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +4
-4@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin"MODULE_FIRMWARE (I915_CSR_KBL );#define KBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin"MODULE_FIRMWARE (I915_CSR_SKL ); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 26) -#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"
MODULE_FIRMWARE(I915_CSR_BXT);
#defineBXT_CSR_VERSION_REQUIREDCSR_VERSION(1,
7)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, uint32_t dmc_offset = CSR_DEFAULT_FW_OFFSET,readcount =
0, nbytes; uint32_t i; uint32_t *dmc_payload;drivers/gpu/drm/i915/intel_csr.c +5
-7-uint32_t required_min_version; +uint32_t required_version;if (!fw)return NULL ;@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version;if (IS_KABYLAKE (dev_priv)) { - required_min_version =KBL_CSR_VERSION_REQUIRED ; + required_version =KBL_CSR_VERSION_REQUIRED ; }else if (IS_SKYLAKE (dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; }else if (IS_BROXTON (dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; }else {MISSING_CASE (INTEL_REVID (dev_priv)); - required_min_version =0 ; + required_version =0 ; } -if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMCfirmware
v%u.%u,"
- " please upgrade to v%u.%u or
later"drivers/gpu/drm/i915/intel_csr.c +2
-1- " [" FIRMWARE_URL "].\n", +if (csr->version != required_version) { + DRM_INFO("Refusing to load DMCfirmware
v%u.%u,"
+ " please use v%u.%u ["FIRMWARE_URL
"].\n",
CSR_VERSION_MAJOR(csr-Quoted 2 lines
version),
CSR_VERSION_MINOR(csr-
Quoted 2 lines
version),
- CSR_VERSION_MAJOR(required_mi
n_
ve
rsion)
,
- CSR_VERSION_MINOR(required_mi
n_
ve
rsion)
);
+ CSR_VERSION_MAJOR(required_ve
rs
io
n),
+ CSR_VERSION_MINOR(required_ve
rs
ion)); return NULL; }
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
--
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Vivi, Rodrigo
maintainerQuoted 36 lines · Patrik Jakobsson
Quoted 34 lines · Rodrigo
Quoted 32 lines · Imre Deak
Quoted 30 lines · Rodrigo
Quoted 4 lines · Imre Deak
Adding Christophe, he was supposed to make the release after validation.
Apparently we are almost ready to release and one latest round of
final
validation was pending.Christophe, any news on this front?
Quoted 4 lines
I don't think it prevents merging this patch though, the result is failure to load the firmware in either case.
I was going to say that I agree, but I believe Patrik might be right.
Without this patch we load the 1.06 while with this patch we start
loading only the 1.07 that is not available. Although 1.06 might have issues the failures would be different. So
or
we blacklist 1.06 with a separated patch and then merge this one or
we
release the 1.07 before.
Quoted 5 lines
Quoted 2 lines
Quoted 1 line
1.06 is already blacklisted, it has known problems.
Oh! So I agree with the first statement. Let's merge this patch ;)
That was new info for me as well. I don't have commit access so anyone
who can, feel free to merge.
I just did.
Thanks,
Rodrigo.
Quoted 249 lines
-Patrik
Quoted 246 lines
Quoted 4 lines
Quoted 238 lines
--Imre
Quoted 236 lines
Quoted 236 lines · Patrik Jakobsson
Quoted 231 lines
Quoted 58 lines · Rodrigo
Quoted 53 lines · Patrik Jakobsson
Quoted 48 lines · Mika Kuoppala
Patrik Jakobsson <[email protected]>
Quoted 29 lines · writes:
[ text/plain ]
Load specific firmware versions for the DMC instead of
using
symbolic
links. The currently recommended versions are: SKL 1.26,
KBL 1.01
and
BXT 1.07.Certain DMC versions need workarounds in the driver which
forces
us to
have a tight dependency between firmware and driver. In
order to
be able
to provide a tested and known working configuration we
must
lock
down on
a specific DMC firmware version.Quoted 8 lines
Cc Rodrigo Vivi <[email protected]>Cc Imre Deak <[email protected]>Cc Mika Kuoppala <[email protected]>Signed-off-by Patrik JakobssonQuoted 4 lines
Reviewed-by Mika Kuoppala <[email protected]>We need ack from Rodrigo and/or whomever is handling the fw releasing side.
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
-Mika
As discussed on IRC, Rodrigo is currently away but since he
requested
this
feature we indirectly have his ACK.indeed! ;)
I assume we need BXT 1.07 released on 01.org before merging this.
Any status on
that?-Patrik
Quoted 150 lines
Acked-by Rodrigo Vivi <[email protected]>Quoted 143 lines
-Patrik
Quoted 138 lines
Quoted 138 lines
---
drivers/gpu/drm/i915/intel_csr.c | 29
++++++++++++++
----
--------
---1 file changed, 14 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/intel_csr.c +3
-3@@ -41,15 +41,15 @@* be moved to FW_FAILED. */ -#define I915_CSR_KBL "i915/kbl_dmc_ver1.bin" +#define I915_CSR_KBL "i915/kbl_dmc_ver1_01.bin" MODULE_FIRMWARE(I915_CSR_KBL); #defineKBL_CSR_VERSION_REQUIRED CSR_VERSION(1, 1) -#define I915_CSR_SKL "i915/skl_dmc_ver1.bin" +#define I915_CSR_SKL "i915/skl_dmc_ver1_26.bin" MODULE_FIRMWARE(I915_CSR_SKL); -#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1, 23) +#define SKL_CSR_VERSION_REQUIRED CSR_VERSION(1,26)
drivers/gpu/drm/i915/intel_csr.c +1
-1-#define I915_CSR_BXT "i915/bxt_dmc_ver1.bin" +#define I915_CSR_BXT "i915/bxt_dmc_ver1_07.bin"MODULE_FIRMWARE(I915_CSR_BXT);
#define
BXT_CSR_VERSION_REQUIRED CSR_VERSION(1,
7)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -286,7 +286,7 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,uint32_t
dmc_offset=CSR_DEFAULT_FW_OFFSET,
readcount =
0, nbytes;
uint32_t i;
uint32_t*dmc_payload;
- uint32_trequired_min_version;
+ uint32_trequired_version;if (!fw)
return NULL;drivers/gpu/drm/i915/intel_csr.c +4
-6@@ -303,24 +303,23 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv, csr->version = css_header->version; if (IS_KABYLAKE(dev_priv)) { - required_min_version = KBL_CSR_VERSION_REQUIRED; + required_version = KBL_CSR_VERSION_REQUIRED; } else if (IS_SKYLAKE(dev_priv)) { - required_min_version =SKL_CSR_VERSION_REQUIRED ; + required_version =SKL_CSR_VERSION_REQUIRED ; } else if (IS_BROXTON(dev_priv)) { - required_min_version =BXT_CSR_VERSION_REQUIRED ; + required_version =BXT_CSR_VERSION_REQUIRED ; } else { MISSING_CASE(INTEL_REVID(dev_priv)) ; - required_min_version = 0; + required_version = 0; } - if (csr->version < required_min_version) { - DRM_INFO("Refusing to load old DMCfirmware
v%u.%u,"
- " please upgrade to v%u.%u or
later"
- " ["FIRMWARE_URL"].\n",
+ if (csr->version!=required_version) { + DRM_INFO("Refusing to load DMC firmware
v%u.%u,"
+ " please use v%u.%u ["FIRMWARE_URL
"].\n",
CSR_VERSION_MAJOR(csr-Quoted 3 lines
version),
CSR_VERSION_MINOR(csr-
Quoted 3 lines
version),
- CSR_VERSION_MAJOR(required
_mi
n_
ve
rsion)
,
- CSR_VERSION_MINOR(required_mi
n_
ve
rsion)
);
+ CSR_VERSION_MAJOR(required_ve
rs
io
n),
+ CSR_VERSION_MINOR(required_ve
rs
io
n));
return NULL;
}--
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Ro.CI.BAT: success for drm/i915/dmc: Step away from symbolic links (rev2)
In reply to Patrik Jakobsson== Series Details ==
== Series Details ==
Series: drm/i915/dmc: Step away from symbolic links (rev2)
URL : https://patchwork.freedesktop.org/series/6966/
State : success
== Summary ==
Series 6966v2 drm/i915/dmc: Step away from symbolic links
http://patchwork.freedesktop.org/api/1.0/series/6966/revisions/2/mbox
Test kms_flip:
Subgroup basic-flip-vs-wf_vblank:
fail -> PASS (ro-ivb2-i7-3770)ro-bdw-i5-5250u total:219 pass:181 dwarn:0 dfail:0 fail:0 skip:38 ro-bdw-i7-5557U total:219 pass:206 dwarn:0 dfail:0 fail:0 skip:13 ro-bdw-i7-5600u total:219 pass:187 dwarn:0 dfail:0 fail:0 skip:32 ro-bsw-n3050 total:219 pass:175 dwarn:0 dfail:0 fail:2 skip:42 ro-byt-n2820 total:218 pass:174 dwarn:0 dfail:0 fail:3 skip:41 ro-hsw-i3-4010u total:218 pass:193 dwarn:0 dfail:0 fail:0 skip:25 ro-hsw-i7-4770r total:219 pass:194 dwarn:0 dfail:0 fail:0 skip:25 ro-ilk-i7-620lm total:219 pass:151 dwarn:0 dfail:0 fail:1 skip:67 ro-ilk1-i5-650 total:214 pass:152 dwarn:0 dfail:0 fail:1 skip:61 ro-ivb-i7-3770 total:219 pass:183 dwarn:0 dfail:0 fail:0 skip:36 ro-ivb2-i7-3770 total:219 pass:187 dwarn:0 dfail:0 fail:0 skip:32 ro-skl-i7-6700hq total:214 pass:189 dwarn:0 dfail:0 fail:0 skip:25 ro-snb-i7-2620M total:219 pass:177 dwarn:0 dfail:0 fail:1 skip:41
Results at /archive/results/CI_IGT_test/RO_Patchwork_905/
7c7c832 drm-intel-nightly: 2016y-05m-16d-07h-51m-48s UTC integration manifest 0a92540 drm/i915/dmc: Step away from symbolic links
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx