All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>,
	Xiangliang Yu <Xiangliang.Yu-5C7GfCeVMHo@public.gmane.org>,
	Monk Liu <Monk.Liu-5C7GfCeVMHo@public.gmane.org>
Subject: [PATCH 084/100] drm/amdgpu/soc15: bypass PSP for VF
Date: Mon, 20 Mar 2017 16:30:19 -0400	[thread overview]
Message-ID: <1490041835-11255-70-git-send-email-alexander.deucher@amd.com> (raw)
In-Reply-To: <1490041835-11255-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>

From: Xiangliang Yu <Xiangliang.Yu@amd.com>

Bypass PSP block for VF device.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@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 263f602..b197288 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -478,7 +478,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 (!amdgpu_sriov_vf(adev))
+			amdgpu_ip_block_add(adev, &psp_v3_1_ip_block);
 		amdgpu_ip_block_add(adev, &amdgpu_pp_ip_block);
 #if defined(CONFIG_DRM_AMD_DC)
 		if (amdgpu_device_has_dc_support(adev))
-- 
2.5.5

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

  parent reply	other threads:[~2017-03-20 20:30 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20 20:29 [PATCH 000/100] Add Vega10 Support Alex Deucher
     [not found] ` <1490041835-11255-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-03-20 20:29   ` [PATCH 001/100] drm/amdgpu: add the new atomfirmware interface header Alex Deucher
2017-03-20 20:29   ` [PATCH 002/100] amdgpu: detect if we are using atomfirm or atombios for vbios (v2) Alex Deucher
2017-03-20 20:29   ` [PATCH 003/100] drm/amdgpu: move atom scratch setup into amdgpu_atombios.c Alex Deucher
2017-03-20 20:29   ` [PATCH 004/100] drm/amdgpu: add basic support for atomfirmware.h (v3) Alex Deucher
2017-03-20 20:29   ` [PATCH 005/100] drm/amdgpu: add soc15ip.h Alex Deucher
2017-03-20 20:29   ` [PATCH 021/100] drm/amd: Add MQD structs for GFX V9 Alex Deucher
2017-03-20 20:29   ` [PATCH 022/100] drm/amdgpu: add gfx9 clearstate header Alex Deucher
2017-03-20 20:29   ` [PATCH 023/100] drm/amdgpu: add SDMA 4.0 packet header Alex Deucher
2017-03-20 20:29   ` [PATCH 024/100] drm/amdgpu: add common soc15 headers Alex Deucher
2017-03-20 20:29   ` [PATCH 025/100] drm/amdgpu: add vega10 chip name Alex Deucher
2017-03-20 20:29   ` [PATCH 026/100] drm/amdgpu: add clinetid definition for vega10 Alex Deucher
2017-03-20 20:29   ` [PATCH 027/100] drm/amdgpu: use new flag to handle different firmware loading method Alex Deucher
2017-03-20 20:29   ` [PATCH 028/100] drm/amdgpu: gb_addr_config struct Alex Deucher
2017-03-20 20:29   ` [PATCH 029/100] drm/amdgpu: add 64bit doorbell assignments Alex Deucher
2017-03-20 20:29   ` [PATCH 030/100] drm/amdgpu: Add MTYPE flags to GPU VM IOCTL interface Alex Deucher
2017-03-20 20:29   ` [PATCH 031/100] drm/amdgpu: use atomfirmware interfaces for scratch reg save/restore Alex Deucher
2017-03-20 20:29   ` [PATCH 032/100] drm/amdgpu: update IH IV ring entry for soc-15 Alex Deucher
2017-03-20 20:29   ` [PATCH 033/100] drm/amdgpu: add IV trace point Alex Deucher
2017-03-20 20:29   ` [PATCH 034/100] drm/amdgpu: add PTE defines for MTYPE Alex Deucher
2017-03-20 20:29   ` [PATCH 035/100] drm/amdgpu: add NGG parameters Alex Deucher
2017-03-20 20:29   ` [PATCH 036/100] drm/amdgpu: Add asic family for vega10 Alex Deucher
2017-03-20 20:29   ` [PATCH 037/100] drm/amdgpu: add tiling flags for GFX9 Alex Deucher
2017-03-20 20:29   ` [PATCH 038/100] drm/amdgpu: don't validate TILE_SPLIT on GFX9 Alex Deucher
2017-03-20 20:29   ` [PATCH 039/100] drm/amdgpu: rework common ucode handling for vega10 Alex Deucher
2017-03-20 20:29   ` [PATCH 040/100] drm/amdgpu: add psp firmware header info Alex Deucher
2017-03-20 20:29   ` [PATCH 041/100] drm/amdgpu: get display info from DC when DC enabled Alex Deucher
2017-03-20 20:29   ` [PATCH 042/100] drm/amdgpu: gart fixes for vega10 Alex Deucher
2017-03-20 20:29   ` [PATCH 043/100] drm/amdgpu: handle PTE EXEC in amdgpu_vm_bo_split_mapping Alex Deucher
2017-03-20 20:29   ` [PATCH 044/100] drm/amdgpu: handle PTE MTYPE " Alex Deucher
2017-03-20 20:29   ` [PATCH 045/100] drm/amdgpu: add NBIO 6.1 driver Alex Deucher
2017-03-20 20:29   ` [PATCH 046/100] drm/amdgpu: Add GMC 9.0 support Alex Deucher
     [not found]     ` <1490041835-11255-32-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-03-21  8:49       ` Christian König
     [not found]         ` <003f0fba-4792-a32a-c982-73457dfbd1aa-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-21 15:09           ` Deucher, Alexander
     [not found]             ` <BN6PR12MB1652E0D9C22360FF77A4360AF73D0-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-03-22 16:51               ` Christian König
2017-03-22 19:41           ` Alex Deucher
2017-03-22 19:48       ` Dave Airlie
     [not found]         ` <CAPM=9tyv3RT0Q8i5zan_iaM7XxoTdb6nXuX=aT4C9vPPKjYfww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-22 19:53           ` Deucher, Alexander
2017-03-23  2:42       ` Zhang, Jerry (Junwei)
     [not found]         ` <58D33609.3060304-5C7GfCeVMHo@public.gmane.org>
2017-03-23  2:53           ` Alex Deucher
     [not found]             ` <CADnq5_N_8r-pesBn1NwDrHJcOx8jnryhtcWow01Cbndj8B9N6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-23  2:54               ` Zhang, Jerry (Junwei)
2017-03-20 20:29   ` [PATCH 047/100] drm/amdgpu: add SDMA v4.0 implementation Alex Deucher
2017-03-20 20:29   ` [PATCH 048/100] drm/amdgpu: implement GFX 9.0 support Alex Deucher
2017-03-20 20:29   ` [PATCH 049/100] drm/amdgpu: add vega10 interrupt handler Alex Deucher
2017-03-20 20:29   ` [PATCH 050/100] drm/amdgpu: add initial uvd 7.0 support for vega10 Alex Deucher
2017-03-20 20:29   ` [PATCH 051/100] drm/amdgpu: add initial vce 4.0 " Alex Deucher
2017-03-20 20:29   ` [PATCH 052/100] drm/amdgpu: add PSP driver " Alex Deucher
2017-03-20 20:29   ` [PATCH 053/100] drm/amdgpu: add psp firmware info into info query and debugfs Alex Deucher
2017-03-20 20:29   ` [PATCH 054/100] drm/amdgpu: add SMC firmware into global ucode list for psp loading Alex Deucher
2017-03-20 20:29   ` [PATCH 055/100] drm/amd/powerplay: add smu9 header files for Vega10 Alex Deucher
2017-03-20 20:29   ` [PATCH 056/100] drm/amd/powerplay: add new Vega10's ppsmc header file Alex Deucher
2017-03-20 20:29   ` [PATCH 057/100] drm/amdgpu: add new atomfirmware based helpers for powerplay Alex Deucher
2017-03-20 20:29   ` [PATCH 058/100] drm/amd/powerplay: add global PowerPlay mutex Alex Deucher
2017-03-20 20:29   ` [PATCH 059/100] drm/amd/powerplay: add some new structures for Vega10 Alex Deucher
2017-03-20 20:29   ` [PATCH 060/100] drm/amd: add structures for display/powerplay interface Alex Deucher
2017-03-20 20:29   ` [PATCH 061/100] drm/amd/powerplay: add some display/powerplay interfaces Alex Deucher
2017-03-20 20:29   ` [PATCH 062/100] drm/amd/powerplay: add Vega10 powerplay support Alex Deucher
2017-03-20 20:29   ` [PATCH 063/100] drm/amd/display: Add DCE12 bios parser support Alex Deucher
     [not found]     ` <1490041835-11255-49-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-08-03 21:04       ` Mike Lothian
2017-03-20 20:29   ` [PATCH 064/100] drm/amd/display: Add DCE12 gpio support Alex Deucher
2017-03-20 20:30   ` [PATCH 065/100] drm/amd/display: Add DCE12 i2c/aux support Alex Deucher
2017-03-20 20:30   ` [PATCH 066/100] drm/amd/display: Add DCE12 irq support Alex Deucher
2017-03-20 20:30   ` [PATCH 067/100] drm/amd/display: Add DCE12 core support Alex Deucher
2017-03-20 20:30   ` [PATCH 068/100] drm/amd/display: Enable DCE12 support Alex Deucher
2017-03-20 20:30   ` [PATCH 069/100] drm/amd/display: need to handle DCE_Info table ver4.2 Alex Deucher
2017-03-20 20:30   ` [PATCH 070/100] drm/amd/display: Less log spam Alex Deucher
2017-03-20 20:30   ` [PATCH 071/100] drm/amdgpu: soc15 enable (v2) Alex Deucher
2017-03-20 20:30   ` [PATCH 072/100] drm/amdgpu: Set the IP blocks for vega10 Alex Deucher
2017-03-20 20:30   ` [PATCH 073/100] drm/amdgpu: add Vega10 Device IDs Alex Deucher
2017-03-20 20:30   ` [PATCH 074/100] drm/amdgpu/gfx9: programing wptr_poll_addr register Alex Deucher
2017-03-20 20:30   ` [PATCH 075/100] drm/amdgpu: impl sriov detection for vega10 Alex Deucher
2017-03-20 20:30   ` [PATCH 076/100] drm/amdgpu: add kiq ring for gfx9 Alex Deucher
2017-03-20 20:30   ` [PATCH 077/100] drm/amdgpu/gfx9: fullfill kiq funcs Alex Deucher
2017-03-20 20:30   ` [PATCH 078/100] drm/amdgpu/gfx9: fullfill kiq irq funcs Alex Deucher
2017-03-20 20:30   ` [PATCH 079/100] drm/amdgpu: init kiq and kcq for vega10 Alex Deucher
2017-03-20 20:30   ` [PATCH 080/100] drm/amdgpu:impl gfx9 cond_exec Alex Deucher
2017-03-20 20:30   ` [PATCH 081/100] drm/amdgpu/gfx9: impl gfx9 meta data emit Alex Deucher
2017-03-20 20:30   ` [PATCH 082/100] drm/amdgpu:bypass RLC init for SRIOV Alex Deucher
2017-03-20 20:30   ` [PATCH 083/100] drm/amdgpu/sdma4:re-org SDMA initial steps for sriov Alex Deucher
2017-03-20 20:30   ` Alex Deucher [this message]
2017-03-20 20:30   ` [PATCH 085/100] drm/amdgpu/gmc9: no need use kiq in vega10 tlb flush Alex Deucher
2017-03-20 20:30   ` [PATCH 086/100] drm/amdgpu/dce_virtual: bypass DPM for vf Alex Deucher
2017-03-20 20:30   ` [PATCH 087/100] drm/amdgpu/virt: impl mailbox for ai Alex Deucher
2017-03-20 20:30   ` [PATCH 088/100] drm/amdgpu/soc15: init virt ops for vf Alex Deucher
2017-03-20 20:30   ` [PATCH 089/100] drm/amdgpu/soc15: enable virtual dce " Alex Deucher
2017-03-20 20:30   ` [PATCH 090/100] drm/amdgpu/vega10:fix DOORBELL64 scheme Alex Deucher
2017-03-20 20:30   ` [PATCH 091/100] drm/amdgpu: Don't touch PG&CG for SRIOV MM Alex Deucher
2017-03-20 20:30   ` [PATCH 092/100] drm/amdgpu/vce4: enable doorbell for SRIOV Alex Deucher
2017-03-20 20:30   ` [PATCH 093/100] drm/amdgpu: disable uvd for sriov Alex Deucher
2017-03-20 20:30   ` [PATCH 094/100] drm/amdgpu/soc15: bypass pp block for vf Alex Deucher
2017-03-20 20:30   ` [PATCH 095/100] drm/amdgpu/virt: add structure for MM table Alex Deucher
2017-03-20 20:30   ` [PATCH 096/100] drm/amdgpu/vce4: alloc mm table for MM sriov Alex Deucher
2017-03-20 20:30   ` [PATCH 097/100] drm/amdgpu/vce4: Ignore vce ring/ib test temporarily Alex Deucher
2017-03-20 20:30   ` [PATCH 098/100] drm/amdgpu: add mmsch structures Alex Deucher
2017-03-20 20:30   ` [PATCH 099/100] drm/amdgpu/vce4: impl vce & mmsch sriov start Alex Deucher
2017-03-20 20:30   ` [PATCH 100/100] drm/amdgpu/gfx9: correct wptr pointer value Alex Deucher
2017-03-21  7:42   ` [PATCH 000/100] Add Vega10 Support Christian König
     [not found]     ` <50d03274-5a6e-fb77-9741-b6700a9949bd-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-21 11:51       ` Christian König
     [not found]         ` <b717602f-7573-6c20-ca68-491e3fe847c0-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-21 12:18           ` Christian König
     [not found]             ` <15b7d1b4-8ac7-d14b-40f6-aba529b301ea-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-21 15:54               ` Alex Deucher
2017-03-21 22:00       ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1490041835-11255-70-git-send-email-alexander.deucher@amd.com \
    --to=alexdeucher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=Monk.Liu-5C7GfCeVMHo@public.gmane.org \
    --cc=Xiangliang.Yu-5C7GfCeVMHo@public.gmane.org \
    --cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.