drm/amdgpu/psp: mark securedisplay TA as optional
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Apr 2025 13:45:03 +0000 (09:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 21:44:45 +0000 (17:44 -0400)
This is an optional TA which is only available on
certain embedded systems.  Mark it as optional to avoid
user confusion.  This mirrors what we already do for
other optional TAs.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4181
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index d54bb13..1c843b8 100644 (file)
@@ -2214,7 +2214,8 @@ static int psp_securedisplay_initialize(struct psp_context *psp)
 
        if (!psp->securedisplay_context.context.bin_desc.size_bytes ||
            !psp->securedisplay_context.context.bin_desc.start_addr) {
-               dev_info(psp->adev->dev, "SECUREDISPLAY: securedisplay ta ucode is not available\n");
+               dev_info(psp->adev->dev,
+                        "SECUREDISPLAY: optional securedisplay ta ucode is not available\n");
                return 0;
        }