Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d30d71e8 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: make missing smc ucode non-fatal (CI)

Prevent driver load problems if the smc is missing.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=63011



Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d8367112
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1694,6 +1694,7 @@ static int cik_init_microcode(struct radeon_device *rdev)
			       fw_name);
			       fw_name);
			release_firmware(rdev->smc_fw);
			release_firmware(rdev->smc_fw);
			rdev->smc_fw = NULL;
			rdev->smc_fw = NULL;
			err = 0;
		} else if (rdev->smc_fw->size != smc_req_size) {
		} else if (rdev->smc_fw->size != smc_req_size) {
			printk(KERN_ERR
			printk(KERN_ERR
			       "cik_smc: Bogus length %zu in firmware \"%s\"\n",
			       "cik_smc: Bogus length %zu in firmware \"%s\"\n",