diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2198-drm-amdgpu-psp-print-out-psp-v11-ucode-hdr-in-drm-de.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2198-drm-amdgpu-psp-print-out-psp-v11-ucode-hdr-in-drm-de.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2198-drm-amdgpu-psp-print-out-psp-v11-ucode-hdr-in-drm-de.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2198-drm-amdgpu-psp-print-out-psp-v11-ucode-hdr-in-drm-de.patch new file mode 100644 index 00000000..f83c7631 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2198-drm-amdgpu-psp-print-out-psp-v11-ucode-hdr-in-drm-de.patch @@ -0,0 +1,28 @@ +From e990d2cdcd3c476729c0b5d841dde46ca3b5ae34 Mon Sep 17 00:00:00 2001 +From: Hawking Zhang <Hawking.Zhang@amd.com> +Date: Tue, 23 Oct 2018 17:49:17 +0800 +Subject: [PATCH 2198/2940] drm/amdgpu/psp: print out psp v11 ucode hdr in drm + debug mode + +Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> +Reviewed-by: Le Ma <Le.Ma@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +index 0e76af8efe0a..2c06b66ac686 100644 +--- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +@@ -93,6 +93,7 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) + goto out; + + sos_hdr = (const struct psp_firmware_header_v1_0 *)adev->psp.sos_fw->data; ++ amdgpu_ucode_print_psp_hdr(&sos_hdr->header); + + switch (sos_hdr->header.header_version_major) { + case 1: +-- +2.17.1 + |