All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] drm/amdgpu:add PSP block only load_type=PSP
@ 2017-04-05  9:11 Monk Liu
       [not found] ` <1491383472-19477-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Monk Liu @ 2017-04-05  9:11 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Monk Liu

SRIOV currently only can load ucode directly, and PSP
block is not supported by VF temporarily.

will remove this restrict and use PSP load all ucode
even for SRIOV later

Change-Id: I6df5c4088c7c72d01928d5af8bfe5520447619ba
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 06afbcc..2955c0c 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -497,7 +497,8 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)
 		amdgpu_ip_block_add(adev, &mmhub_v1_0_ip_block);
 		amdgpu_ip_block_add(adev, &gmc_v9_0_ip_block);
 		amdgpu_ip_block_add(adev, &vega10_ih_ip_block);
-		amdgpu_ip_block_add(adev, &psp_v3_1_ip_block);
+		if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)
+			amdgpu_ip_block_add(adev, &psp_v3_1_ip_block);
 		if (!amdgpu_sriov_vf(adev))
 			amdgpu_ip_block_add(adev, &amdgpu_pp_ip_block);
 		if (adev->enable_virtual_display || amdgpu_sriov_vf(adev))
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-04-06  5:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05  9:11 [PATCH 1/6] drm/amdgpu:add PSP block only load_type=PSP Monk Liu
     [not found] ` <1491383472-19477-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-04-05  9:11   ` [PATCH 2/6] drm/amdgpu:no need to involv HDP in KIQ Monk Liu
2017-04-05  9:11   ` [PATCH 3/6] drm/amdgpu:fix typo for mxgpu_ai Monk Liu
2017-04-05  9:11   ` [PATCH 4/6] drm/amdgpu:implement the reset MB func for vega10 Monk Liu
2017-04-05  9:11   ` [PATCH 5/6] drm/amdgpu:timeout set to equal with VI Monk Liu
2017-04-05  9:11   ` [PATCH 6/6] drm/amdgpu:invoke new implemented AI MB func Monk Liu
     [not found]     ` <1491383472-19477-6-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-04-05 13:04       ` Alex Deucher
2017-04-05  9:15   ` [PATCH 1/6] drm/amdgpu:add PSP block only load_type=PSP Christian König
2017-04-06  5:42   ` Yu, Xiangliang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.