Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd: Show an info message about optional firmware missing

With the warning from the core about missing firmware gone,
users still may be notified of missing optional firmware by
a more friendly message to clarify it's optional.

Suggested-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mario Limonciello and committed by
Alex Deucher
b6e6871a 2a50d94b

+4 -1
+4 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
··· 1459 1459 1460 1460 if (required == AMDGPU_UCODE_REQUIRED) 1461 1461 r = request_firmware(fw, fname, adev->dev); 1462 - else 1462 + else { 1463 1463 r = firmware_request_nowarn(fw, fname, adev->dev); 1464 + if (r) 1465 + drm_info(&adev->ddev, "Optional firmware \"%s\" was not found\n", fname); 1466 + } 1464 1467 if (r) 1465 1468 return -ENODEV; 1466 1469