]> git.proxmox.com Git - fwupd.git/commitdiff
intel-gsc: Mark GPU devices as internal
authorRichard Hughes <richard@hughsie.com>
Tue, 6 Dec 2022 15:11:52 +0000 (15:11 +0000)
committerRichard Hughes <richard@hughsie.com>
Tue, 6 Dec 2022 15:11:52 +0000 (15:11 +0000)
plugins/intel-gsc/fu-igsc-aux-device.c
plugins/intel-gsc/fu-igsc-device.c
plugins/intel-gsc/fu-igsc-oprom-device.c

index 518aef7c910abd08bd1daa046ef5d9b669801f7d..a81acc4abe10812b66a132e95a02fe30e7b3cef7 100644 (file)
@@ -189,6 +189,7 @@ fu_igsc_aux_device_init(FuIgscAuxDevice *self)
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_UPDATABLE);
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_REQUIRE_AC);
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_SIGNED_PAYLOAD);
+       fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_INTERNAL);
        fu_device_set_version_format(FU_DEVICE(self), FWUPD_VERSION_FORMAT_PAIR);
        fu_device_add_protocol(FU_DEVICE(self), "com.intel.gsc");
        fu_device_set_logical_id(FU_DEVICE(self), "fw-data");
index 44895984b758bf867bfbd5d2b146b5676e564ee9..f1b1872b6248aaccb79fb1470fcb3dec395863ca 100644 (file)
@@ -793,6 +793,7 @@ fu_igsc_device_init(FuIgscDevice *self)
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_UPDATABLE);
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_REQUIRE_AC);
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_SIGNED_PAYLOAD);
+       fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_INTERNAL);
        fu_device_set_vendor(FU_DEVICE(self), "Intel");
        fu_device_set_name(FU_DEVICE(self), "Graphics Card");
        fu_device_set_summary(FU_DEVICE(self), "Discrete Graphics Card");
index bf6a89f301ebfad7de4e723bcd8fc9bfeb74148b..14f5c05df6741527f5de08f105cd6d79877027cb 100644 (file)
@@ -252,6 +252,7 @@ fu_igsc_oprom_device_init(FuIgscOpromDevice *self)
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_UPDATABLE);
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_REQUIRE_AC);
        fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_SIGNED_PAYLOAD);
+       fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_INTERNAL);
        fu_device_set_version_format(FU_DEVICE(self), FWUPD_VERSION_FORMAT_QUAD);
        fu_device_add_protocol(FU_DEVICE(self), "com.intel.gsc");
 }