Commit 6edc8964 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/psp: mark securedisplay TA as optional

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: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 06f2dcc2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
	}