Load DMC v1.07 on Icelake
Subsystems (2)
cover Load DMC v1.07 on Icelake
Adding PR for CI to pick:
The following changes since commit fea76a04f25fd0a217c0d566ff5ff8f23ad3e648:
amdgpu: sync up polaris10 firmware with 18.30 release (2018-08-25 15:43:50 -0400)
are available in the git repository at:
git://anongit.freedesktop.org/git/drm/drm-firmware.git/ master
for you to fetch changes up to 50364020f96f8deb075830d9992899ba3a7babc7:
Merge remote-tracking branch 'official/master' (2018-08-27 17:24:49 -0700)
----------------------------------------------------------------
Anusha Srivatsa (7):
Merge remote-tracking branch 'official/master' into drm-firmware
linux-firmware: Add GuC v11.98 for geminilake
linux-firmware: Add HuC v3.00.2225 for geminilake firmware/icl/dmc: Add DMC v1.07 for Icelake.
Revert "firmware/icl/dmc: Add DMC v1.05 for Icelake." Fix commit.
Merge remote-tracking branch 'official/master'
WHENCE | 9 +++++++++ i915/glk_guc_ver11_98.bin | Bin 0 -> 154240 bytes i915/glk_huc_ver03_00_2225.bin | Bin 0 -> 220032 bytes i915/icl_dmc_ver1_07.bin | Bin 0 -> 25716 bytes 4 files changed, 9 insertions(+) create mode 100644 i915/glk_guc_ver11_98.bin create mode 100644 i915/glk_huc_ver03_00_2225.bin create mode 100644 i915/icl_dmc_ver1_07.bin
Anusha Srivatsa (1):
firmware/dmc/icl: load v1.07 on icelake.
drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 firmware/dmc/icl: load v1.07 on icelake.
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable has_csr for icelake.(Jyoti)
v4: Only load the firmware in this patch
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)
drivers/gpu/drm/i915/intel_csr.c +7 -0
@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ +#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)
@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; }else if (IS_GEMINILAKE (dev_priv)) {
@@ -458,6 +463,8 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))
drivers/gpu/drm/i915/intel_runtime_pm.c +3 -0
@@ -3563,6 +3563,9 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }static void icl_display_core_uninit (struct drm_i915_private *dev_priv)
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 9 lines · Anusha Srivatsa
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)
Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>
Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
Quoted 54 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +7
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ +#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; }else if (IS_GEMINILAKE (dev_priv)) {@@ -458,6 +463,8 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }static void icl_display_core_uninit (struct drm_i915_private *dev_priv)Signature · 1 line
2.17.1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 18 lines · Imre Deak
Quoted 9 lines · Anusha Srivatsa
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>
Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
The main motivation behind having drm-firmware is the unpredictability of linux-firmware.git pull requests acceptance. It may take 1 day or it may take 2 months.
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
Thanks,
Rodrigo.
Quoted 54 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.gitQuoted 50 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +7
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ +#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; }else if (IS_GEMINILAKE (dev_priv)) {@@ -458,6 +463,8 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }
Quoted 8 lines
Quoted 4 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +0
-0static void icl_display_core_uninit (struct drm_i915_private *dev_priv)Signature · 1 line
2.17.1_______________________________________________
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
Joonas Lahtinen
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoting Rodrigo Vivi (2018-09-04 08:27:14)
Quoted 28 lines · Imre Deak
Quoted 18 lines · Anusha Srivatsa
Quoted 9 lines
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
The main motivation behind having drm-firmware is the unpredictability of linux-firmware.git pull requests acceptance. It may take 1 day or it may take 2 months.
Quoted 6 lines
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
Was not the decision that we only gate the MODULE_FIRMWARE line until the firmware is in linux-firmware.git?
So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the MODULE_FIRMWARE which would trigger false positives for distro packagers.
Regards, Joonas
Quoted 66 lines
Thanks,
Rodrigo.Quoted 54 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.gitQuoted 50 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +7
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ +#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; }else if (IS_GEMINILAKE (dev_priv)) {@@ -458,6 +463,8 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }Quoted 8 lines
Quoted 4 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +0
-0static void icl_display_core_uninit (struct drm_i915_private *dev_priv)Signature · 1 line
2.17.1_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 4 lines
_______________________________________________
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
Re: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 36 lines · Joonas Lahtinen
Quoting Rodrigo Vivi (2018-09-04 08:27:14)
Quoted 28 lines · Imre Deak
Quoted 18 lines · Anusha Srivatsa
Quoted 9 lines
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
The main motivation behind having drm-firmware is the unpredictability of linux-firmware.git pull requests acceptance. It may take 1 day or it may take 2 months.
Quoted 6 lines
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
Quoted 6 lines
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distro packagers.
Ok, makes sense. I missed the lack of MODULE_FIRMWARE line during my review:/ but that's ok then, we should add that later enabling DMC already now in CI.
Thanks,
Imre
Quoted 73 lines
Regards, Joonas
Quoted 70 lines
Thanks,
Rodrigo.Quoted 54 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.gitQuoted 50 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +7
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ +#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; }else if (IS_GEMINILAKE (dev_priv)) {@@ -458,6 +463,8 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }Quoted 8 lines
Quoted 4 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +0
-0static void icl_display_core_uninit (struct drm_i915_private *dev_priv)Signature · 1 line
2.17.1_______________________________________________
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
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
In reply to Joonas LahtinenQuoted 36 lines · Joonas Lahtinen
Quoting Rodrigo Vivi (2018-09-04 08:27:14)
Quoted 28 lines · Imre Deak
Quoted 18 lines · Anusha Srivatsa
Quoted 9 lines
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
The main motivation behind having drm-firmware is the unpredictability of linux-firmware.git pull requests acceptance. It may take 1 day or it may take 2 months.
Quoted 6 lines
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
Quoted 6 lines
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distro packagers.
As far as I can remember we had agreed on changing this and adding MODULE_FIRMWARE from the beginning.
1. the process gets complex
2. we forgot many times to add it afterwards
3. module_firmware changes nothing... only the fact that initrd generation wont complain if firmware is not there yet.
4. The old issue was that patches were merged without the pull request being sent... We fixed that by only accepting patches after pull request is sent.
5. By the time that all lands to distros linux-firmware.git will have the firmware because of 4.
6. We have now drm-firmware to mirror what official linux-firmware.git will be in few weeks from now.
So I don't see a reason anymore why to keep with complicated process with split MODULE_FIRMWARE.
Thanks,
Rodrigo.
Quoted 69 lines
Regards, Joonas
Quoted 66 lines
Thanks,
Rodrigo.Quoted 62 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.gitQuoted 54 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +7
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ +#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; }else if (IS_GEMINILAKE (dev_priv)) {@@ -458,6 +463,8 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }static void icl_display_core_uninit (struct drm_i915_private *dev_priv)Signature · 1 line
2.17.1_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 8 lines
Quoted 4 lines
_______________________________________________
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
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 23 lines · Rodrigo Vivi
Quoted 6 lines · Joonas Lahtinen
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distro packagers.As far as I can remember we had agreed on changing this and adding
MODULE_FIRMWAREfrom the beginning.1. the process gets complex
2. we forgot many times to add it afterwards
3.module_firmwarechanges nothing... only the fact that initrd generation wont complain if firmware is not there yet.
4. The old issue was that patches were merged without the pull request being sent... We fixed that by only accepting patches after pull request is sent.
5. By the time that all lands to distros linux-firmware.git will have the firmware because of 4.
6. We have now drm-firmware to mirror what official linux-firmware.git will be in few weeks from now.
Quoted 2 lines
So I don't see a reason anymore why to keep with complicated process with split
MODULE_FIRMWARE.
I've changed my mind, I agree with *not* splitting MODULE_FIRMWARE changes to another patch anymore.
However, with that I think we need to redefine when we can add request_firmware and MODULE_FIRMWARE for a specific firmware blob. Here's my proposal.
- Before merging a patch adding or changing a firmware blob in dinq, said blob must be publicly available at a known location, and no known blockers for linux-firmware.git merge may exist.
- We take care to get the blob to linux-firmware.git before the changes hit Linus' -rc1 after the merge window. With our -rc5 feature deadline, this should give us at least 4-5 weeks to get the blob merged to linux-firmware.git.
- It follows that linux-next and drm-tip may contain MODULE_FIRMWARE for blobs that don't exist in linux-firmware.git.
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 38 lines · Jani Nikula
Quoted 23 lines · Rodrigo Vivi
Quoted 6 lines · Joonas Lahtinen
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distro packagers.As far as I can remember we had agreed on changing this and adding
MODULE_FIRMWAREfrom the beginning.1. the process gets complex
2. we forgot many times to add it afterwards
3.module_firmwarechanges nothing... only the fact that initrd generation wont complain if firmware is not there yet.
4. The old issue was that patches were merged without the pull request being sent... We fixed that by only accepting patches after pull request is sent.
5. By the time that all lands to distros linux-firmware.git will have the firmware because of 4.
6. We have now drm-firmware to mirror what official linux-firmware.git will be in few weeks from now.Quoted 2 lines
So I don't see a reason anymore why to keep with complicated process with split
MODULE_FIRMWARE.I've changed my mind, I agree with *not* splitting
MODULE_FIRMWAREchanges to another patch anymore.However, with that I think we need to redefine when we can add
request_firmwareandMODULE_FIRMWAREfor a specific firmware blob. Here's my proposal.- Before merging a patch adding or changing a firmware blob in dinq, said blob must be publicly available at a known location, and no known blockers for linux-firmware.git merge may exist.
Quoted 7 lines
- We take care to get the blob to linux-firmware.git before the changes hit Linus' -rc1 after the merge window. With our -rc5 feature deadline, this should give us at least 4-5 weeks to get the blob merged to linux-firmware.git.
- It follows that linux-next and drm-tip may contain
MODULE_FIRMWAREfor blobs that don't exist in linux-firmware.git.
Agreed. And we should document this somewhere.
Quoted 6 lines
BR,
Jani.Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Joonas Lahtinen
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoting Rodrigo Vivi (2018-09-06 20:35:19)
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Rodrigo Vivi
Quoted 23 lines · Joonas Lahtinen
Quoted 6 lines
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distro packagers.As far as I can remember we had agreed on changing this and adding
MODULE_FIRMWAREfrom the beginning.1. the process gets complex
2. we forgot many times to add it afterwards
3.module_firmwarechanges nothing... only the fact that initrd generation wont complain if firmware is not there yet.
4. The old issue was that patches were merged without the pull request being sent... We fixed that by only accepting patches after pull request is sent.
5. By the time that all lands to distros linux-firmware.git will have the firmware because of 4.
6. We have now drm-firmware to mirror what official linux-firmware.git will be in few weeks from now.Quoted 2 lines
So I don't see a reason anymore why to keep with complicated process with split
MODULE_FIRMWARE.I've changed my mind, I agree with *not* splitting
MODULE_FIRMWAREchanges to another patch anymore.However, with that I think we need to redefine when we can add
request_firmwareandMODULE_FIRMWAREfor a specific firmware blob. Here's my proposal.- Before merging a patch adding or changing a firmware blob in dinq, said blob must be publicly available at a known location, and no known blockers for linux-firmware.git merge may exist.
- We take care to get the blob to linux-firmware.git before the changes hit Linus' -rc1 after the merge window. With our -rc5 feature deadline, this should give us at least 4-5 weeks to get the blob merged to linux-firmware.git.
Quoted 4 lines
Quoted 2 lines
- It follows that linux-next and drm-tip may contain
MODULE_FIRMWAREfor blobs that don't exist in linux-firmware.git.Agreed. And we should document this somewhere.
Well, there are still quite a few conditionals included, if you ask me.
But if you see the MODULE_FIRMWARE as a separate patch as such a burden that we should make the assumptions, I can live with it. At least I know who to call in case there was one too many conditional and we get a distro complaint again :)
Regards, Joonas
Quoted 7 lines
Quoted 7 lines
BR,
Jani.Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 59 lines
-----Original Message-----
From: Intel-gfx [mailto:[email protected]] On Behalf Of Joonas Lahtinen
Sent: Friday, September 7, 2018 12:47 AM
To: Nikula, Jani <[email protected]>; Vivi, Rodrigo <[email protected]>
Cc: [email protected]; Zanoni, Paulo R <[email protected]>
Subject: Re: [Intel-gfx] [PATCH 1/1]firmware/dmc/icl: load v1.07 on icelake.Quoting Rodrigo Vivi (2018-09-06 20:35:19)
Quoted 9 lines · Jani Nikula
Quoted 8 lines · Rodrigo Vivi
Quoted 7 lines · Joonas Lahtinen
Quoted 6 lines
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distropackagers.
Quoted 38 lines
Quoted 37 lines
Quoted 16 lines
As far as I can remember we had agreed on changing this and adding
MODULE_FIRMWAREfrom the beginning.1. the process gets complex
2. we forgot many times to add it afterwards 3.module_firmwarechanges nothing... only the fact that initrd generation
wont complain if firmware is not there yet.
4. The old issue was that patches were merged without the pull request being sent... We fixed that by only accepting patches after pull request is sent.
5. By the time that all lands to distros linux-firmware.git will have the firmware because of 4.
6. We have now drm-firmware to mirror what official linux-firmware.git will be in few weeks from now.Quoted 2 lines
So I don't see a reason anymore why to keep with complicated process with split
MODULE_FIRMWARE.I've changed my mind, I agree with *not* splitting
MODULE_FIRMWAREchanges to another patch anymore.However, with that I think we need to redefine when we can add
request_firmwareandMODULE_FIRMWAREfor a specific firmware blob. Here's my proposal.- Before merging a patch adding or changing a firmware blob in dinq, said blob must be publicly available at a known location, and no known blockers for linux-firmware.git merge may exist.
- We take care to get the blob to linux-firmware.git before the changes hit Linus' -rc1 after the merge window. With our -rc5 feature deadline, this should give us at least 4-5 weeks to get the blob merged to linux-firmware.git.
- It follows that linux-next and drm-tip may contain
MODULE_FIRMWAREfor blobs that don't exist in linux-firmware.git.
Quoted 7 lines
Quoted 1 line
Agreed. And we should document this somewhere.
Well, there are still quite a few conditionals included, if you ask me.
But if you see the
MODULE_FIRMWAREas a separate patch as such a burden that we should make the assumptions, I can live with it. At least I know who to call in case there was one too many conditional and we get a distro complaint again :)
Lets hope we wont have anyone complaining.
Regarding documenting this, Rodrigo, is wiki the place for it?
With regard to this patch in particular, shall I send a new version of ICL patch with MODULE_FIRMWARE in it? Thoughts?
Thanks,
Anusha
Quoted 7 lines
Regards, Joonas
Quoted 5 lines
Quoted 5 lines
BR,
Jani.
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
--
Jani Nikula, Intel Open Source Graphics Center_______________________________________________
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
Rodrigo Vivi
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 63 lines · Anusha
Quoted 63 lines
-----Original Message-----
From: Intel-gfx [mailto:[email protected]] On Behalf Of Joonas Lahtinen
Sent: Friday, September 7, 2018 12:47 AM
To: Nikula, Jani <[email protected]>; Vivi, Rodrigo <[email protected]>
Cc: [email protected]; Zanoni, Paulo R <[email protected]>
Subject: Re: [Intel-gfx] [PATCH 1/1]firmware/dmc/icl: load v1.07 on icelake.Quoting Rodrigo Vivi (2018-09-06 20:35:19)
Quoted 9 lines · Jani Nikula
Quoted 8 lines · Rodrigo Vivi
Quoted 7 lines · Joonas Lahtinen
Quoted 6 lines
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distropackagers.
Quoted 35 lines
Quoted 35 lines
Quoted 16 lines
As far as I can remember we had agreed on changing this and adding
MODULE_FIRMWAREfrom the beginning.1. the process gets complex
2. we forgot many times to add it afterwards 3.module_firmwarechanges nothing... only the fact that initrd generation
wont complain if firmware is not there yet.
4. The old issue was that patches were merged without the pull request being sent... We fixed that by only accepting patches after pull request is sent.
5. By the time that all lands to distros linux-firmware.git will have the firmware because of 4.
6. We have now drm-firmware to mirror what official linux-firmware.git will be in few weeks from now.Quoted 2 lines
So I don't see a reason anymore why to keep with complicated process with split
MODULE_FIRMWARE.I've changed my mind, I agree with *not* splitting
MODULE_FIRMWAREchanges to another patch anymore.However, with that I think we need to redefine when we can add
request_firmwareandMODULE_FIRMWAREfor a specific firmware blob. Here's my proposal.- Before merging a patch adding or changing a firmware blob in dinq, said blob must be publicly available at a known location, and no known blockers for linux-firmware.git merge may exist.
- We take care to get the blob to linux-firmware.git before the changes hit Linus' -rc1 after the merge window. With our -rc5 feature deadline, this should give us at least 4-5 weeks to get the blob merged to linux-firmware.git.
Quoted 4 lines
Quoted 2 lines
- It follows that linux-next and drm-tip may contain
MODULE_FIRMWAREfor blobs that don't exist in linux-firmware.git.Agreed. And we should document this somewhere.
Well, there are still quite a few conditionals included, if you ask me.
Quoted 7 lines
Quoted 3 lines
But if you see the
MODULE_FIRMWAREas a separate patch as such a burden that we should make the assumptions, I can live with it. At least I know who to call in case there was one too many conditional and we get a distro complaint again :)Lets hope we wont have anyone complaining.
Regarding documenting this, Rodrigo, is wiki the place for it?
I'm not sure where is the best place for this currently.
So for now maybe use the internal one... Unless someone has a better idea.
Quoted 2 lines
With regard to this patch in particular, shall I send a new version of ICL patch with
MODULE_FIRMWAREin it? Thoughts?
Let's do this to move with dmc on ICL, but for future fw patches let's do all in one patch ;)
I just pushed this patch to dinq. Thanks for patch and review.
Now please send a separated one for MODULE_FIRMWARE.
Thanks,
Rodrigo.
Quoted 12 lines
Thanks,
AnushaQuoted 9 lines
Regards, Joonas
Quoted 7 lines
Quoted 7 lines
BR,
Jani.--
Jani Nikula, Intel Open Source Graphics Center
Quoted 8 lines
Quoted 4 lines
_______________________________________________
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
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Joonas Lahtinen
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
In reply to Rodrigo ViviQuoting Rodrigo Vivi (2018-09-05 19:42:28)
Quoted 40 lines · Joonas Lahtinen
Quoted 39 lines
Quoting Rodrigo Vivi (2018-09-04 08:27:14)
Quoted 28 lines · Imre Deak
Quoted 18 lines · Anusha Srivatsa
Quoted 9 lines
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
The main motivation behind having drm-firmware is the unpredictability of linux-firmware.git pull requests acceptance. It may take 1 day or it may take 2 months.
Quoted 6 lines
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
Was not the decision that we only gate the
MODULE_FIRMWAREline until the firmware is in linux-firmware.git?
Quoted 6 lines
Quoted 3 lines
So it should be no harm to support loading firmwares that are available from drm-firmware.git as long as we don't add the
MODULE_FIRMWAREwhich would trigger false positives for distro packagers.As far as I can remember we had agreed on changing this and adding
MODULE_FIRMWAREfrom the beginning.
Is there an e-mail about it? I must have missed such discussion.
Quoted 4 lines
1. the process gets complex
2. we forgot many times to add it afterwards
3.module_firmwarechanges nothing... only the fact that initrd generation wont complain if firmware is not there yet.
Yes, but isn't this the only thing we've got complaints of? At least I've not noticed distros complaining about not having the MODULE_FIRMWARE (which would omit the firmware from initrd).
So I'd rather stick to the process previously decided on. Assuming pull request will be accepted in X days is always just an assumption.
Regards, Joonas
Quoted 8 lines
4. The old issue was that patches were merged without the pull request being sent... We fixed that by only accepting patches after pull request is sent.
5. By the time that all lands to distros linux-firmware.git will have the firmware because of 4.
6. We have now drm-firmware to mirror what official linux-firmware.git will be in few weeks from now.
Quoted 83 lines
So I don't see a reason anymore why to keep with complicated process with split
MODULE_FIRMWARE.Thanks,
Rodrigo.Quoted 77 lines
Regards, Joonas
Quoted 66 lines
Thanks,
Rodrigo.Quoted 54 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.gitQuoted 50 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +7
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ +#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct drm_i915_private *dev_priv,if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; }else if (IS_GEMINILAKE (dev_priv)) {@@ -458,6 +463,8 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }Quoted 8 lines
Quoted 4 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +0
-0static void icl_display_core_uninit (struct drm_i915_private *dev_priv)Signature · 1 line
2.17.1_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfxQuoted 4 lines
_______________________________________________
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
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
In reply to Rodrigo ViviQuoted 38 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Monday, September 3, 2018 10:27 PM
To: Deak, Imre <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; Nikula, Jani <[email protected]>; [email protected]; Zanoni, Paulo R <[email protected]>
Subject: Re: [Intel-gfx] [PATCH 1/1]firmware/dmc/icl: load v1.07 on icelake.Quoted 18 lines · Imre Deak
Quoted 9 lines · Anusha Srivatsa
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
The main motivation behind having drm-firmware is the unpredictability of linux- firmware.git pull requests acceptance. It may take 1 day or it may take 2 months.
Quoted 6 lines
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
I will be sending the PR to linux-firmware.git. I think it is safe to push this patch.
Regarding MODULE_FIRMWARE, Rodrigo, do you suggest I send that in a separate patch? In that case we can merge this patch as it is and have that as a separate one.
In future, maybe better to add MODULE_FIRMWARE in the original patch?
Anusha
Quoted 23 lines
Thanks,
Rodrigo.Quoted 20 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmwar
e.gitQuoted 14 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */
Quoted 49 lines
Quoted 7 lines
drivers/gpu/drm/i915/intel_csr.c static uint32_t *parse_csr_fw(struct
Quoted 7 lines
drivers/gpu/drm/i915/intel_csr.c +3
-0+#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct
drm_i915_private*dev_priv,Quoted 41 lines
Quoted 32 lines
drivers/gpu/drm/i915/intel_csr.c +2
-0if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; } else if (IS_GEMINILAKE(dev_priv)) { @@ -458,6 +463,8 @@ void
intel_csr_ucode_init(struct drm_i915_private *dev_priv)drivers/gpu/drm/i915/intel_csr.c +2
-0if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(structdrm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv ); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }Quoted 5 lines
static void icl_display_core_uninit(struct
drm_i915_private*dev_priv)
--
2.17.1_______________________________________________
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
Rodrigo Vivi
maintainerRe: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 42 lines · Anusha
Quoted 42 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Monday, September 3, 2018 10:27 PM
To: Deak, Imre <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; Nikula, Jani <[email protected]>; [email protected]; Zanoni, Paulo R <[email protected]>
Subject: Re: [Intel-gfx] [PATCH 1/1]firmware/dmc/icl: load v1.07 on icelake.Quoted 18 lines · Imre Deak
Quoted 9 lines · Anusha Srivatsa
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)Quoted 7 lines
v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in [1] or do we have to wait until it propagates to [2]?
The main motivation behind having drm-firmware is the unpredictability of linux- firmware.git pull requests acceptance. It may take 1 day or it may take 2 months.
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
Quoted 6 lines
Quoted 2 lines
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
I will be sending the PR to linux-firmware.git. I think it is safe to push this patch.
Regarding
MODULE_FIRMWARE, Rodrigo, do you suggest I send that in a separate patch? In that case we can merge this patch as it is and have that as a separate one.
yeap, let's keep a separated patch for now since we are not sure there is an rough consensus on getting it in one patch.
Quoted 2 lines
In future, maybe better to add
MODULE_FIRMWAREin the original patch?
That is my idea.
Besides those points that I raised on the other branch of this thread I remember of more two points in favor of having in only one patch:
In case this patch here lands on 4.20, but linux-firmware.git takes 4 weeks to pull the firmware the 4.20 will have the fw support, but only 4.21 will have it fully supported with initrd installation etc.
So, if in few months from now OSVs decide to free their distro on 4.20 they will have to remember to backport this patch or force the firmware to their initrd. But for sure by the time that OSVs get it the image itself will be already on linux-firmware.git
And in unlikely case that it took months and months and firmware is not there yet causing the bad messages for OSVs than the issue is easily fixed on linux-firmware.git side.
Or they pull from drm-firmware or they help us convincing linux-firmware.git to accept the pull.
Quoted 74 lines
Anusha
Quoted 72 lines
Thanks,
Rodrigo.Quoted 20 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmwar
e.gitQuoted 14 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ Quoted 7 lines
drivers/gpu/drm/i915/intel_csr.c static uint32_t *parse_csr_fw(struct
Quoted 7 lines
drivers/gpu/drm/i915/intel_csr.c +3
-0+#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct
drm_i915_private*dev_priv,Quoted 41 lines
Quoted 32 lines
drivers/gpu/drm/i915/intel_csr.c +2
-0if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; } else if (IS_GEMINILAKE(dev_priv)) { @@ -458,6 +463,8 @@ void
intel_csr_ucode_init(struct drm_i915_private *dev_priv)drivers/gpu/drm/i915/intel_csr.c +2
-0if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ;else if (IS_GEMINILAKE (dev_priv))drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(structdrm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv ); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }Quoted 5 lines
static void icl_display_core_uninit(struct
drm_i915_private*dev_priv)
--
2.17.1_______________________________________________
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
Re: [PATCH 1/1] firmware/dmc/icl: load v1.07 on icelake.
Quoted 57 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Wednesday, September 5, 2018 12:31 PM
To: Srivatsa, Anusha <[email protected]>
Cc: Deak, Imre <[email protected]>; Nikula, Jani <[email protected]>; [email protected]; Zanoni, Paulo R <[email protected]>
Subject: Re: [Intel-gfx] [PATCH 1/1]firmware/dmc/icl: load v1.07 on icelake.Quoted 30 lines · Anusha
Quoted 30 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Monday, September 3, 2018 10:27 PM
To: Deak, Imre <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; Nikula, Jani <[email protected]>; [email protected]; Zanoni, Paulo R <[email protected]>
Subject: Re: [Intel-gfx] [PATCH 1/1]firmware/dmc/icl: load v1.07 on icelake.Quoted 18 lines · Imre Deak
Quoted 16 lines · Anusha Srivatsa
Add Support to load DMC on Icelake.
While at it, also add support to load the firmware during system resume.
v2: load firmware during system resume.(Imre)
v3: enable
has_csrfor icelake.(Jyoti)v4: Only load the firmware in this patch
Cc Jyoti Yadav <[email protected]>Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Cc Paulo Zanoni <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Reviewed-by Imre Deak <[email protected]>Is it ok to push this already now that the ICL 1.07 firmware is in
[1] or do we have to wait until it propagates to [2]?The main motivation behind having drm-firmware is the unpredictability of linux- firmware.git pull requests acceptance. It may take 1
day or it may take 2 months.
Quoted 8 lines
Quoted 7 lines
So on drm-firmware we at least have it public in a way OSVs could easisly backport. Although hopefully by the end of 4.20 cycle I believe it will be there on linux-firmware.git already.
So if fw is already on drm-firmware and passing all tests we should be able to push the patch to dinq.
Quoted 8 lines
Quoted 3 lines
I will be sending the PR to linux-firmware.git. I think it is safe to push this patch.
Regarding
MODULE_FIRMWARE, Rodrigo, do you suggest I send that in aseparate patch? In that case we can merge this patch as it is and have that as a separate one.
yeap, let's keep a separated patch for now since we are not sure there is an rough consensus on getting it in one patch.
Sure.
Quoted 16 lines
Quoted 2 lines
In future, maybe better to add
MODULE_FIRMWAREin the original patch?That is my idea.
Besides those points that I raised on the other branch of this thread I remember of more two points in favor of having in only one patch:In case this patch here lands on 4.20, but linux-firmware.git takes
4 weeks to pull the firmware the 4.20 will have the fw support, but only 4.21 will have it fully supported with initrd installation etc.So, if in few months from now OSVs decide to free their distro on 4.20 they will have to remember to backport this patch or force the firmware to their initrd. But for sure by the time that OSVs get it the image itself will be already on linux- firmware.git
Quoted 6 lines
And in unlikely case that it took months and months and firmware is not there yet causing the bad messages for OSVs than the issue is easily fixed on linux- firmware.git side.
Or they pull from drm-firmware or they help us convincing linux-firmware.git to accept the pull.
That makes sense.
Anusha
Quoted 66 lines
Quoted 66 lines
Anusha
Quoted 64 lines
Thanks,
Rodrigo.Quoted 21 lines
[1] https://cgit.freedesktop.org/drm/drm-firmware/
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firm
war
e.gitQuoted 14 lines
--- drivers/gpu/drm/i915/intel_csr.c | 7 +++++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++ 2 files changed, 10 insertions(+)drivers/gpu/drm/i915/intel_csr.c +0
-0@@ -34,6 +34,9 @@* low-power state and comes back to normal. */ Quoted 7 lines
drivers/gpu/drm/i915/intel_csr.c static uint32_t *parse_csr_fw(struct
Quoted 7 lines
drivers/gpu/drm/i915/intel_csr.c +3
-0+#define I915_CSR_ICL "i915/icl_dmc_ver1_07.bin" +#define ICL_CSR_VERSION_REQUIRED CSR_VERSION(1, 7) +#define I915_CSR_GLK "i915/glk_dmc_ver1_04.bin"MODULE_FIRMWARE (I915_CSR_GLK );#define GLK_CSR_VERSION_REQUIRED CSR_VERSION(1, 4)@@ -301,6 +304,8 @@ static uint32_t *parse_csr_fw(struct
drm_i915_private*dev_priv,Quoted 32 lines
Quoted 32 lines
drivers/gpu/drm/i915/intel_csr.c +2
-0if (csr->fw_path == i915_modparams.dmc_firmware_path) {/* Bypass version check for firmware override. */ required_version = csr->version; + }else if (IS_ICELAKE (dev_priv)) { + required_version =ICL_CSR_VERSION_REQUIRED ; }else if (IS_CANNONLAKE (dev_priv)) { required_version =CNL_CSR_VERSION_REQUIRED ; } else if (IS_GEMINILAKE(dev_priv)) { @@ -458,6 +463,8 @@ void
intel_csr_ucode_init(struct drm_i915_private *dev_priv)drivers/gpu/drm/i915/intel_csr.c +2
-0if (i915_modparams.dmc_firmware_path) csr->fw_path = i915_modparams.dmc_firmware_path; +else if (IS_ICELAKE (dev_priv)) + csr->fw_path =I915_CSR_ICL ;else if (IS_CANNONLAKE (dev_priv)) csr->fw_path =I915_CSR_CNL ; else if (IS_GEMINILAKE(dev_priv)) diff --git
a/drivers/gpu/drm/i915/intel_runtime_pm.cb/drivers/gpu/drm/i915/intel_runtime_pm.cindex2852395125cd..bd7da068e813100644drivers/gpu/drm/i915/intel_runtime_pm.c +3
-0@@ -3563,6 +3563,9 @@ static void icl_display_core_init(structdrm_i915_private *dev_priv,/* 7. Setup MBUS. */ icl_mbus_init (dev_priv ); + +if (resume && dev_priv->csr.dmc_payload) +intel_csr_load_program (dev_priv); }
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
static void icl_display_core_uninit(struct
drm_i915_private*dev_priv)
--
2.17.1_______________________________________________
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✗ Fi.CI.BAT: failure for Load DMC v1.07 on Icelake (rev2)
In reply to Anusha Srivatsa== Series Details ==
== Series Details ==
Series: Load DMC v1.07 on Icelake (rev2)
URL : https://patchwork.freedesktop.org/series/48773/
State : failure
== Summary ==
= CI Bug Log - changes from CI_DRM_4713 -> Patchwork_10025 =
== Summary - FAILURE ==
Serious unknown changes coming with Patchwork_10025 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_10025, 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/48773/revisions/2/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_10025:
=== IGT changes ===
==== Possible regressions ====
igt@drv_module_reload@basic-reload:
{fi-icl-u}: PASS -> DMESG-WARN +16
igt@gem_exec_suspend@basic-s4-devices:
fi-blb-e6850: PASS -> INCOMPLETE== Known issues ==
Here are the changes found in Patchwork_10025 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_selftest@live_hangcheck:
fi-skl-6700hq: PASS -> DMESG-FAIL (fdo#106560, fdo#107174)
igt@kms_chamelium@dp-edid-read:
fi-kbl-7500u: PASS -> FAIL (fdo#103841)
igt@kms_frontbuffer_tracking@basic:
{fi-byt-clapper}: PASS -> FAIL (fdo#103167)
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b:
{fi-byt-clapper}: PASS -> FAIL (fdo#107362)
{igt@kms_psr@primary_page_flip}:
fi-cnl-psr: PASS -> FAIL (fdo#107336)
igt@pm_rpm@basic-pci-d3-state:
fi-glk-dsi: PASS -> INCOMPLETE (k.org#198133, fdo#103359)
{igt@pm_rpm@module-reload}:
fi-cnl-psr: PASS -> WARN (fdo#107602)
==== Possible fixes ====
igt@drv_selftest@live_hangcheck:
fi-cfl-guc: DMESG-FAIL -> PASS
igt@kms_pipe_crc_basic@read-crc-pipe-b:
{fi-byt-clapper}: FAIL (fdo#107362) -> PASS
igt@pm_rpm@basic-pci-d3-state:
fi-skl-6770hq: WARN -> PASS +1 {name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
fdo#106560 https://bugs.freedesktop.org/show_bug.cgi?id=106560
fdo#107174 https://bugs.freedesktop.org/show_bug.cgi?id=107174
fdo#107336 https://bugs.freedesktop.org/show_bug.cgi?id=107336
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107602 https://bugs.freedesktop.org/show_bug.cgi?id=107602
k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133
== Participating hosts (54 -> 49) ==
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u
== Build changes ==
* Linux: CI_DRM_4713 -> Patchwork_10025
CI_DRM_4713: 9261175f56a1b035b9db12e959ba2e8c756924a6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4610: c40743d3fce5055682d31610519758dd7379c0f8 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10025: 0b098dc6cfb59c4634719f51ea690ad133639f5e @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
0b098dc6cfb5 firmware/dmc/icl: load v1.07 on icelake.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10025/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: failure for Load DMC v1.07 on Icelake (rev2)
Hi,
Quoted 36 lines
-----Original Message-----
From: Intel-gfx [mailto:[email protected]] On Behalf Of Patchwork
Sent: tiistai 28. elokuuta 2018 4.10
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]
Subject: [Intel-gfx] ✗ Fi.CI.BAT: failure for Load DMC v1.07 on Icelake (rev2)== Series Details ==
Series: Load DMC v1.07 on Icelake (rev2)
URL : https://patchwork.freedesktop.org/series/48773/
State : failure== Summary ==
= CI Bug Log - changes from
CI_DRM_4713->Patchwork_10025=== Summary - FAILURE ==
Serious unknown changes coming with
Patchwork_10025absolutely need to
be
verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_10025, 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/48773/revisions/2/mbox/== Possible new issues ==
Here are the unknown changes that may have been introduced in
Patchwork_10025:
Quoted 6 lines
=== IGT changes ===
==== Possible regressions ==== igt@drv_module_reload@basic-reload: {fi-icl-u}: PASS -> DMESG-WARN +16
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10025/fi-icl-u/igt@[email protected]
Dmesg
[ 395.430440] [drm:csr_load_work_fn [i915]] *ERROR* DMC firmware has wrong dmc header length (1 bytes) [ 395.430515] i915 0000:00:02.0: Failed to load DMC firmware i915/icl_dmc_ver1_07.bin. Disabling runtime power management. [ 395.430518] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915 [ 396.682262] Setting dangerous option reset - tainting kernel
Sound like issue...Imre?
Quoted 85 lines
igt@gem_exec_suspend@basic-s4-devices: fi-blb-e6850: PASS -> INCOMPLETE== Known issues ==
Here are the changes found in
Patchwork_10025that come from known
issues:=== IGT changes ===
==== Issues hit ==== igt@drv_selftest@live_hangcheck: fi-skl-6700hq: PASS -> DMESG-FAIL (fdo#106560, fdo#107174) igt@kms_chamelium@dp-edid-read: fi-kbl-7500u: PASS -> FAIL (fdo#103841) igt@kms_frontbuffer_tracking@basic: {fi-byt-clapper}: PASS -> FAIL (fdo#103167) igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b: {fi-byt-clapper}: PASS -> FAIL (fdo#107362) {igt@kms_psr@primary_page_flip}: fi-cnl-psr: PASS -> FAIL (fdo#107336) igt@pm_rpm@basic-pci-d3-state: fi-glk-dsi: PASS -> INCOMPLETE (k.org#198133, fdo#103359) {igt@pm_rpm@module-reload}: fi-cnl-psr: PASS -> WARN (fdo#107602) ==== Possible fixes ==== igt@drv_selftest@live_hangcheck: fi-cfl-guc: DMESG-FAIL -> PASS igt@kms_pipe_crc_basic@read-crc-pipe-b: {fi-byt-clapper}: FAIL (fdo#107362) -> PASS igt@pm_rpm@basic-pci-d3-state: fi-skl-6770hq: WARN -> PASS +1{name}: This element is suppressed. This means it is ignored when
computing
the status of the difference (SUCCESS, WARNING, or FAILURE).fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
fdo#106560 https://bugs.freedesktop.org/show_bug.cgi?id=106560
fdo#107174 https://bugs.freedesktop.org/show_bug.cgi?id=107174
fdo#107336 https://bugs.freedesktop.org/show_bug.cgi?id=107336
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107602 https://bugs.freedesktop.org/show_bug.cgi?id=107602
k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133== Participating hosts (54 -> 49) ==
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-
4200u== Build changes ==
* Linux:
CI_DRM_4713->Patchwork_10025
CI_DRM_4713:9261175f56a1b035b9db12e959ba2e8c756924a6@git://anongit.freedesktop.org/gfx-ci/linux
IGT_4610:c40743d3fce5055682d31610519758dd7379c0f8@git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10025:0b098dc6cfb59c4634719f51ea690ad133639f5e@git://anongit.freedesktop.org/gfx-ci/linux== Linux commits ==
0b098dc6cfb5firmware/dmc/icl: load v1.07 on icelake.
Quoted 8 lines
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-
tip/Patchwork_10025/issues.html
_______________________________________________
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
Re: ✗ Fi.CI.BAT: failure for Load DMC v1.07 on Icelake (rev2)
Hi Jani,
I am already debugging this issue. Issue got reproduced when we are locally running the icl_dmc_ver1_07.bin on ICL HW.
We could not see this issue with previous FW version icl_dmc_ver1_01.bin file.
Already in discussion with DMC FW folks. There are two FW stepping integrated in latest release.
1. Stepping { A, *} - > this stepping is mainly for A stepping ICL HW.
2. Stepping {*, *} -> this is the default stepping.
If we try to load Steeping {A, *}, it is loading fine.
But getting issue with default stepping.
Also we need to add Stepping info for ICL also in driver code to fetch the correct FWfor particular HW Stepping.
Working on the same.
Regards
Jyoti
Quoted 144 lines · Jani
Hi,
Quoted 36 lines
-----Original Message-----
From: Intel-gfx [mailto:[email protected]] On Behalf Of Patchwork
Sent: tiistai 28. elokuuta 2018 4.10
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]
Subject: [Intel-gfx] ✗ Fi.CI.BAT: failure for Load DMC v1.07 on Icelake (rev2)== Series Details ==
Series: Load DMC v1.07 on Icelake (rev2)
URL : https://patchwork.freedesktop.org/series/48773/
State : failure== Summary ==
= CI Bug Log - changes from
CI_DRM_4713->Patchwork_10025=== Summary - FAILURE ==
Serious unknown changes coming with
Patchwork_10025absolutely need to
be
verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_10025, 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/48773/revisions/2/mbox/== Possible new issues ==
Here are the unknown changes that may have been introduced in
Patchwork_10025:Quoted 6 lines
=== IGT changes === ==== Possible regressions ==== igt@drv_module_reload@basic-reload: {fi-icl-u}: PASS -> DMESG-WARN +16https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10025/fi-icl-u/igt@[email protected]
Dmesg[ 395.430440] [drm:csr_load_work_fn [i915]] *ERROR* DMC firmware has wrong dmc header length (1 bytes) [ 395.430515] i915 0000:00:02.0: Failed to load DMC firmware i915/icl_dmc_ver1_07.bin. Disabling runtime power management. [ 395.430518] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915 [ 396.682262] Setting dangerous option reset - tainting kernelSound like issue...Imre?
Quoted 84 lines
igt@gem_exec_suspend@basic-s4-devices: fi-blb-e6850: PASS -> INCOMPLETE== Known issues ==
Here are the changes found in
Patchwork_10025that come from known
issues:=== IGT changes === ==== Issues hit ==== igt@drv_selftest@live_hangcheck: fi-skl-6700hq: PASS -> DMESG-FAIL (fdo#106560, fdo#107174) igt@kms_chamelium@dp-edid-read: fi-kbl-7500u: PASS -> FAIL (fdo#103841) igt@kms_frontbuffer_tracking@basic: {fi-byt-clapper}: PASS -> FAIL (fdo#103167) igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b: {fi-byt-clapper}: PASS -> FAIL (fdo#107362) {igt@kms_psr@primary_page_flip}: fi-cnl-psr: PASS -> FAIL (fdo#107336) igt@pm_rpm@basic-pci-d3-state: fi-glk-dsi: PASS -> INCOMPLETE (k.org#198133, fdo#103359) {igt@pm_rpm@module-reload}: fi-cnl-psr: PASS -> WARN (fdo#107602) ==== Possible fixes ==== igt@drv_selftest@live_hangcheck: fi-cfl-guc: DMESG-FAIL -> PASS igt@kms_pipe_crc_basic@read-crc-pipe-b: {fi-byt-clapper}: FAIL (fdo#107362) -> PASS igt@pm_rpm@basic-pci-d3-state: fi-skl-6770hq: WARN -> PASS +1 {name}: This element is suppressed. This means it is ignored whencomputing
the status of the difference (SUCCESS, WARNING, or FAILURE).fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167 fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359 fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841 fdo#106560 https://bugs.freedesktop.org/show_bug.cgi?id=106560 fdo#107174 https://bugs.freedesktop.org/show_bug.cgi?id=107174 fdo#107336 https://bugs.freedesktop.org/show_bug.cgi?id=107336 fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362 fdo#107602 https://bugs.freedesktop.org/show_bug.cgi?id=107602 k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133== Participating hosts (54 -> 49) ==
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u
== Build changes ==
* Linux:
CI_DRM_4713->Patchwork_10025CI_DRM_4713: 9261175f56a1b035b9db12e959ba2e8c756924a6 @
git://anongit.freedesktop.org/gfx-ci/linux
IGT_4610:c40743d3fce5055682d31610519758dd7379c0f8@git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10025:0b098dc6cfb59c4634719f51ea690ad133639f5e@git://anongit.freedesktop.org/gfx-ci/linux== Linux commits ==
0b098dc6cfb5firmware/dmc/icl: load v1.07 on icelake.Quoted 8 lines
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-
tip/Patchwork_10025/issues.html
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 4 lines
_______________________________________________
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✓ Fi.CI.BAT: success for Load DMC v1.07 on Icelake (rev2)
In reply to Anusha Srivatsa== Series Details ==
== Series Details ==
Series: Load DMC v1.07 on Icelake (rev2)
URL : https://patchwork.freedesktop.org/series/48773/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4749 -> Patchwork_10060 =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_10060 need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_10060, 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/48773/revisions/2/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_10060:
=== IGT changes ===
==== Warnings ====
igt@pm_rpm@basic-rte:
fi-icl-u: SKIP -> PASS +2
{igt@pm_rpm@module-reload}:
fi-hsw-4770r: PASS -> SKIP== Known issues ==
Here are the changes found in Patchwork_10060 that come from known issues:
=== IGT changes ===
==== Issues hit ====
{igt@amdgpu/amd_prime@i915-to-amd}:
fi-bxt-j4205: SKIP -> INCOMPLETE (fdo#103927)
igt@drv_module_reload@basic-reload-inject:
fi-hsw-4770r: PASS -> DMESG-WARN (fdo#107425)
igt@drv_selftest@live_coherency:
fi-gdg-551: PASS -> DMESG-FAIL (fdo#107164)
igt@gem_exec_suspend@basic-s3:
{fi-kbl-soraka}: NOTRUN -> INCOMPLETE (fdo#107556, fdo#107774)
igt@kms_frontbuffer_tracking@basic:
fi-hsw-peppy: PASS -> DMESG-WARN (fdo#102614)
{igt@pm_rpm@module-reload}:
fi-cnl-psr: PASS -> WARN (fdo#107602, fdo#107708)
fi-bxt-j4205: PASS -> DMESG-FAIL (fdo#107712) {name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#107164 https://bugs.freedesktop.org/show_bug.cgi?id=107164
fdo#107425 https://bugs.freedesktop.org/show_bug.cgi?id=107425
fdo#107556 https://bugs.freedesktop.org/show_bug.cgi?id=107556
fdo#107602 https://bugs.freedesktop.org/show_bug.cgi?id=107602
fdo#107708 https://bugs.freedesktop.org/show_bug.cgi?id=107708
fdo#107712 https://bugs.freedesktop.org/show_bug.cgi?id=107712
fdo#107774 https://bugs.freedesktop.org/show_bug.cgi?id=107774
== Participating hosts (52 -> 48) ==
Additional (1): fi-kbl-soraka
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u
== Build changes ==
* Linux: CI_DRM_4749 -> Patchwork_10060
CI_DRM_4749: 4a46c18fad0de38a78b4b0c848892de494324a17 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4616: 5800e46c6f851c370c944a7cb169e99657239f8d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10060: 66f1af546312a6716f0abb2017145bba52c032ff @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
66f1af546312 firmware/dmc/icl: load v1.07 on icelake.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10060/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for Load DMC v1.07 on Icelake (rev2)
In reply to Anusha Srivatsa== Series Details ==
== Series Details ==
Series: Load DMC v1.07 on Icelake (rev2)
URL : https://patchwork.freedesktop.org/series/48773/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4749_full -> Patchwork_10060_full =
== Summary - SUCCESS ==
No regressions found.
== Known issues ==
Here are the changes found in Patchwork_10060_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_suspend@shrink:
shard-hsw: PASS -> INCOMPLETE (fdo#106886, fdo#103540)
shard-kbl: PASS -> INCOMPLETE (fdo#103665, fdo#106886)
igt@gem_exec_await@wide-contexts:
shard-glk: PASS -> FAIL (fdo#105900)
igt@kms_cursor_crc@cursor-128x128-suspend:
shard-apl: PASS -> FAIL (fdo#103232, fdo#103191, fdo#104645)
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
shard-apl: PASS -> DMESG-WARN (fdo#105602, fdo#103558) +1
igt@kms_setmode@basic:
shard-apl: PASS -> FAIL (fdo#99912)
==== Possible fixes ====
igt@gem_exec_big:
shard-hsw: INCOMPLETE (fdo#103540) -> PASS
igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
shard-glk: FAIL (fdo#104873) -> PASS
igt@kms_flip@flip-vs-expired-vblank:
shard-glk: FAIL (fdo#105363, fdo#102887) -> PASS fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103232 https://bugs.freedesktop.org/show_bug.cgi?id=103232
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#103558 https://bugs.freedesktop.org/show_bug.cgi?id=103558
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#104645 https://bugs.freedesktop.org/show_bug.cgi?id=104645
fdo#104873 https://bugs.freedesktop.org/show_bug.cgi?id=104873
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#105602 https://bugs.freedesktop.org/show_bug.cgi?id=105602
fdo#105900 https://bugs.freedesktop.org/show_bug.cgi?id=105900
fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
== Participating hosts (6 -> 5) ==
Missing (1): pig-snb-2600
== Build changes ==
* Linux: CI_DRM_4749 -> Patchwork_10060
CI_DRM_4749: 4a46c18fad0de38a78b4b0c848892de494324a17 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4616: 5800e46c6f851c370c944a7cb169e99657239f8d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10060: 66f1af546312a6716f0abb2017145bba52c032ff @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10060/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx