drm/i915: Remove Firmware URL.
Subsystems (2)
Rodrigo Vivi
maintainerPATCH 1/1 drm/i915: Remove Firmware URL.
The right place for the firmware is linux-firmware.git. We shouldn't advertise anywhere to users to start downloading firmware blobs manually.
Also it seems that 01.org page is outdated and it doesn't contain DMC 1.27 for SKL, for instance. Probably other firmware releases are missing there, while they are part of the official linux-firmware.git.
So, let's stop advertising that place here.
But also let's work in parallel to kill that page for good and maybe with a message explaining to users that they don't need to install manually, but rely on their distros for getting linux-firmware package updates.
--- drivers/gpu/drm/i915/intel_csr.c | 2 -- drivers/gpu/drm/i915/intel_uc_fw.c | 2 -- drivers/gpu/drm/i915/intel_uc_fw.h | 3 --- 3 files changed, 7 deletions(-)
drivers/gpu/drm/i915/intel_csr.c +0 -2
@@ -429,8 +429,6 @@ static void csr_load_work_fn(struct work_struct *work)"Failed to load DMC firmware %s." " Disabling runtime power management.\n" , csr->fw_path); -dev_notice (dev_priv->drm.dev,"DMC firmware homepage: %s" , -INTEL_UC_FIRMWARE_URL ); }release_firmware (fw);
drivers/gpu/drm/i915/intel_uc_fw.c +0 -2
@@ -189,8 +189,6 @@ void intel_uc_fw_fetch(struct drm_i915_private *dev_priv,DRM_WARN ("%s: Failed to fetch firmware %s (error %d)\n" ,intel_uc_fw_type_repr (uc_fw->type), uc_fw->path, err); -DRM_INFO ("%s: Firmware can be downloaded from %s\n" , -intel_uc_fw_type_repr (uc_fw->type),INTEL_UC_FIRMWARE_URL );release_firmware (fw);/* OK even if fw is NULL */ }
drivers/gpu/drm/i915/intel_uc_fw.h +0 -3
@@ -29,9 +29,6 @@ struct drm_printer;struct drm_i915_private ;struct i915_vma ; -/* Home of GuC, HuC and DMC firmwares */ -#define INTEL_UC_FIRMWARE_URL "https://01.org/linuxgraphics/downloads/firmware" -enum intel_uc_fw_status {INTEL_UC_FIRMWARE_FAIL =-1 ,INTEL_UC_FIRMWARE_NONE =0 ,
Signature · 6 lines
2.13.6 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: Remove Firmware URL.
== Series Details ==
== Series Details ==
Series: drm/i915: Remove Firmware URL.
URL : https://patchwork.freedesktop.org/series/37201/
State : failure
== Summary ==
Series 37201v1 drm/i915: Remove Firmware URL.
https://patchwork.freedesktop.org/api/1.0/series/37201/revisions/1/mbox/
Test debugfs_test:
Subgroup read_all_entries:
dmesg-fail -> DMESG-WARN (fi-elk-e7500) fdo#103989
pass -> INCOMPLETE (fi-snb-2520m) fdo#103713
Test gem_exec_suspend:
Subgroup basic-s3:
pass -> INCOMPLETE (fi-bxt-j4205)
Test gem_mmap_gtt:
Subgroup basic-small-bo-tiledx:
fail -> PASS (fi-gdg-551) fdo#102575fdo#103989 https://bugs.freedesktop.org/show_bug.cgi?id=103989
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575
fi-bdw-5557u total:288 pass:267 dwarn:0 dfail:0 fail:0 skip:21 time:420s fi-bdw-gvtdvm total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:425s fi-blb-e6850 total:288 pass:223 dwarn:1 dfail:0 fail:0 skip:64 time:373s fi-bsw-n3050 total:288 pass:242 dwarn:0 dfail:0 fail:0 skip:46 time:492s fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:284s fi-bxt-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:479s fi-bxt-j4205 total:108 pass:96 dwarn:0 dfail:0 fail:0 skip:11 fi-byt-j1900 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:35 time:464s fi-byt-n2820 total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:458s fi-cfl-s2 total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:572s fi-cnl-y2 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:526s fi-elk-e7500 total:224 pass:168 dwarn:10 dfail:0 fail:0 skip:45 fi-gdg-551 total:288 pass:180 dwarn:0 dfail:0 fail:0 skip:108 time:277s fi-glk-1 total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:512s fi-hsw-4770 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:390s fi-hsw-4770r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:405s fi-ilk-650 total:288 pass:228 dwarn:0 dfail:0 fail:0 skip:60 time:410s fi-ivb-3520m total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:459s fi-ivb-3770 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:33 time:417s fi-kbl-7500u total:288 pass:263 dwarn:1 dfail:0 fail:0 skip:24 time:458s fi-kbl-7560u total:288 pass:269 dwarn:0 dfail:0 fail:0 skip:19 time:500s fi-kbl-7567u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:455s fi-kbl-r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:498s fi-pnv-d510 total:288 pass:222 dwarn:1 dfail:0 fail:0 skip:65 time:575s fi-skl-6260u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:430s fi-skl-6600u total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:507s fi-skl-6700hq total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:527s fi-skl-6700k2 total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:492s fi-skl-6770hq total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:479s fi-skl-guc total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:423s fi-skl-gvtdvm total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:23 time:433s fi-snb-2520m total:3 pass:2 dwarn:0 dfail:0 fail:0 skip:0 fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:400s
Blacklisted hosts:
fi-glk-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:469s
59275f1cec1d31adab39ddb6ab948519ac8ddffb drm-tip: 2018y-01m-26d-13h-05m-14s UTC integration manifest 4404c0e93938 drm/i915: Remove Firmware URL.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_7792/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 18 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Friday, January 26, 2018 10:22 AM
To: [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Srivatsa, Anusha <[email protected]>
Subject: [PATCH] drm/i915: Remove Firmware URL.The right place for the firmware is linux-firmware.git.
We shouldn't advertise anywhere to users to start downloading firmware blobs manually.Also it seems that 01.org page is outdated and it doesn't contain DMC 1.27 for SKL, for instance. Probably other firmware releases are missing there, while they are part of the official linux-firmware.git.
Quoted 7 lines
So, let's stop advertising that place here.
But also let's work in parallel to kill that page for good and maybe with a message explaining to users that they don't need to install manually, but rely on their distros for getting linux-firmware package updates.Cc Anusha Srivatsa <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>
Thanks for this much needed patch.
Quoted 45 lines
---
drivers/gpu/drm/i915/intel_csr.c| 2 --drivers/gpu/drm/i915/intel_uc_fw.c| 2 --drivers/gpu/drm/i915/intel_uc_fw.h| 3 ---3 files changed, 7 deletions(-)drivers/gpu/drm/i915/intel_csr.c +0
-2@@ -429,8 +429,6 @@ static void csr_load_work_fn(struct work_struct *work)"Failed to load DMC firmware %s." " Disabling runtime power management.\n" , csr->fw_path); -dev_notice (dev_priv->drm.dev,"DMC firmware homepage: %s" , -INTEL_UC_FIRMWARE_URL ); }release_firmware (fw);drivers/gpu/drm/i915/intel_uc_fw.c +0
-2@@ -189,8 +189,6 @@ void intel_uc_fw_fetch(struct drm_i915_private *dev_priv,DRM_WARN ("%s: Failed to fetch firmware %s (error %d)\n" ,intel_uc_fw_type_repr (uc_fw->type), uc_fw->path, err); -DRM_INFO ("%s: Firmware can be downloaded from %s\n" , -intel_uc_fw_type_repr (uc_fw->type), INTEL_UC_FIRMWARE_URL);
release_firmware(fw); /* OK even if fw is NULL */
}drivers/gpu/drm/i915/intel_uc_fw.h +0
-1@@ -29,9 +29,6 @@ struct drm_printer;struct drm_i915_private ;struct i915_vma ; -/* Home of GuC, HuC and DMC firmwares */ -#define
Quoted 7 lines
INTEL_UC_FIRMWARE_URL"https://01.org/linuxgraphics/downloads/firmware" -
enumintel_uc_fw_status{
INTEL_UC_FIRMWARE_FAIL= -1,
INTEL_UC_FIRMWARE_NONE= 0,
--
2.13.6
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Srivatsa, Anusha (2018-01-29 20:17:25)
Quoted 10 lines
Quoted 10 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Friday, January 26, 2018 10:22 AM
To: [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Srivatsa, Anusha <[email protected]>
Subject: [PATCH] drm/i915: Remove Firmware URL.
Quoted 7 lines
Quoted 7 lines
The right place for the firmware is linux-firmware.git.
We shouldn't advertise anywhere to users to start downloading firmware blobs manually.Also it seems that 01.org page is outdated and it doesn't contain DMC 1.27 for SKL, for instance. Probably other firmware releases are missing there, while they are part of the official linux-firmware.git.
Then get them onto 01.org. If Intel cannot be relied on to provide their own firmwares, the alternative is to stop shipping blobs entirely. -Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerQuoted 15 lines · Chris Wilson
Quoting Srivatsa, Anusha (2018-01-29 20:17:25)
Quoted 14 lines
Quoted 14 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Friday, January 26, 2018 10:22 AM
To: [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Srivatsa, Anusha <[email protected]>
Subject: [PATCH] drm/i915: Remove Firmware URL.The right place for the firmware is linux-firmware.git.
We shouldn't advertise anywhere to users to start downloading firmware blobs manually.
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Also it seems that 01.org page is outdated and it doesn't contain DMC 1.27 for SKL, for instance. Probably other firmware releases are missing there, while they are part of the official linux-firmware.git.
Then get them onto 01.org. If Intel cannot be relied on to provide their own firmwares, the alternative is to stop shipping blobs entirely.
I understand your point. But the goal is to have only one place and this place is linux-firmware.git.
The web-page will still have the information about the firmware and a text explaining the linux-firmware repository.
But what I want is to avoid any users with the impression they have to manually go there and install anything.
Quoted 1 line
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Rodrigo Vivi (2018-01-29 21:40:27)
Quoted 20 lines · Chris Wilson
Quoted 19 lines
Quoting Srivatsa, Anusha (2018-01-29 20:17:25)
Quoted 17 lines
Quoted 17 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Friday, January 26, 2018 10:22 AM
To: [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Srivatsa, Anusha <[email protected]>
Subject: [PATCH] drm/i915: Remove Firmware URL.The right place for the firmware is linux-firmware.git.
We shouldn't advertise anywhere to users to start downloading firmware blobs manually.Also it seems that 01.org page is outdated and it doesn't contain DMC 1.27 for SKL, for instance. Probably other firmware releases are missing there, while they are part of the official linux-firmware.git.
Quoted 5 lines
Quoted 2 lines
Then get them onto 01.org. If Intel cannot be relied on to provide their own firmwares, the alternative is to stop shipping blobs entirely.
I understand your point. But the goal is to have only one place and this place is linux-firmware.git.
If a user sees this message, then linux-firmware has failed them...
Quoted 5 lines
The web-page will still have the information about the firmware and a text explaining the linux-firmware repository.
But what I want is to avoid any users with the impression they have to manually go there and install anything.
Since we tie firmware to kernel version, I think it behooves us to carry a complete history; and redundancy is never a bad idea. Fwiw, the local storage should be a linux-firmware.git branch so that files are tracked universally.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerQuoted 21 lines · Chris Wilson
Quoting Rodrigo Vivi (2018-01-29 21:40:27)
Quoted 20 lines · Chris Wilson
Quoted 19 lines
Quoting Srivatsa, Anusha (2018-01-29 20:17:25)
Quoted 17 lines
Quoted 17 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Friday, January 26, 2018 10:22 AM
To: [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Srivatsa, Anusha <[email protected]>
Subject: [PATCH] drm/i915: Remove Firmware URL.The right place for the firmware is linux-firmware.git.
We shouldn't advertise anywhere to users to start downloading firmware blobs manually.Also it seems that 01.org page is outdated and it doesn't contain DMC 1.27 for SKL, for instance. Probably other firmware releases are missing there, while they are part of the official linux-firmware.git.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Then get them onto 01.org. If Intel cannot be relied on to provide their own firmwares, the alternative is to stop shipping blobs entirely.
I understand your point. But the goal is to have only one place and this place is linux-firmware.git.
If a user sees this message, then linux-firmware has failed them...
It could be other cases like:
- user has just not updated linux-firmware package from their distro.
- distro failed to update the linux-firmware.git
- initrd didn't get properly updated to include the required blob.
- build-in i915.
Quoted 10 lines
Quoted 5 lines
The web-page will still have the information about the firmware and a text explaining the linux-firmware repository.
But what I want is to avoid any users with the impression they have to manually go there and install anything.
Since we tie firmware to kernel version, I think it behooves us to carry a complete history; and redundancy is never a bad idea. Fwiw, the local storage should be a linux-firmware.git branch so that files are tracked universally.
So changing the link to https://cgit.freedesktop.org/drm/drm-firmware/ ? Where we are going to publish the firmware before propagating to linux-firmware.git.
But on this case regular users couldn't simply download and copy to /usr/lib/firmware. Most of "user friendly" distros will have the initrd step.
Right now we have a install.sh script along with firmware blobs at 01.org. But that script forces an initrd rebuild what forces the firmware in. However there is no uninstall option and if we released the install.sh with some typo (like current case) there is no easy way to go back and update the already released one.
Quoted 1 line
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 42 lines
-----Original Message-----
From: Chris Wilson [mailto:[email protected]]
Sent: Tuesday, January 30, 2018 1:06 AM
To: Vivi, Rodrigo <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; intel- [email protected]
Subject: Re: [Intel-gfx] [PATCH] drm/i915: Remove Firmware URL.Quoting Rodrigo Vivi (2018-01-29 21:40:27)
Quoted 20 lines · Chris Wilson
Quoted 19 lines
Quoting Srivatsa, Anusha (2018-01-29 20:17:25)
Quoted 17 lines
Quoted 17 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Friday, January 26, 2018 10:22 AM
To: [email protected]
Cc: Vivi, Rodrigo <[email protected]>; Srivatsa, Anusha <[email protected]>
Subject: [PATCH] drm/i915: Remove Firmware URL.The right place for the firmware is linux-firmware.git. We shouldn't advertise anywhere to users to start downloading firmware blobs manually.
Also it seems that 01.org page is outdated and it doesn't contain DMC 1.27 for SKL, for instance. Probably other firmware releases are missing there, while they are part of the official linux-firmware.git.
Quoted 5 lines
Quoted 2 lines
Then get them onto 01.org. If Intel cannot be relied on to provide their own firmwares, the alternative is to stop shipping blobs entirely.
I understand your point. But the goal is to have only one place and this place is linux-firmware.git.
If a user sees this message, then linux-firmware has failed them...
Quoted 3 lines
The web-page will still have the information about the firmware and a text explaining the linux-firmware repository.
Quoted 6 lines
Quoted 2 lines
But what I want is to avoid any users with the impression they have to manually go there and install anything.
Since we tie firmware to kernel version, I think it behooves us to carry a complete history; and redundancy is never a bad idea. Fwiw, the local storage should be a linux-firmware.git branch so that files are tracked universally.
Rodrigo, instead of removing the URL of 01.org, it will be a good idea to add the drm-firmware git repo which is Intel's repo of all firmwares. I understand users should not be encouraged to manually download the firmware. But maybe pointing out the location where we maintain all firmwares would be good.
Anusha
Quoted 1 line
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx