RE: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-09 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of > Feifei Xu > Sent: 2018年12月10日 14:17 > To: amd-gfx@lists.freedesktop.org > Cc: Xu, Feifei ; Quan, Evan > Subject: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20 > > On vega20, the job of executing

[PATCH] drm/amdgpu: kfd_pre_reset outside req_full_gpu cause sriov hang

2018-12-09 Thread wentalou
XGMI hive put kfd_pre_reset into amdgpu_device_lock_adev, but outside req_full_gpu of sriov. It would make sriov hang during reset. Change-Id: I5b3e2a42c77b3b9635419df4470d021df7be34d1 Signed-off-by: Wentao Lou --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 ++ 1 file changed, 6

[PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-09 Thread Feifei Xu
On vega20, the job of executing the ASIC_INIT table when posting card is moved to psp. Skip the atombios's ASIC_INIT on vega20 when posting card. Change-Id: Id1d3c0a0d19296d5ed804de7edf5b09b8d38c0a5 Signed-off-by: Feifei Xu Tested-by: Candice Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |

RE: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-09 Thread Xu, Feifei
I will remove the DRM_INFO and send v2. Thanks. -Original Message- From: Quan, Evan Sent: Monday, December 10, 2018 1:10 PM To: Xu, Feifei ; amd-gfx@lists.freedesktop.org Cc: Xu, Feifei Subject: RE: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20 Is the DRM_INFO print

RE: [PATCH] drm/amdgpu/powerplay: Add special avfs cases for some polaris asics (v3)

2018-12-09 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of Alex > Deucher > Sent: 2018年12月8日 0:20 > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: [PATCH] drm/amdgpu/powerplay: Add special avfs cases for some > polaris asics (v3) > > Add special

[PATCH 3/4] drm/amdgpu: Use dynamical reserved vm size

2018-12-09 Thread Rex Zhu
Use dynamical reserved vm size instand of hardcode. for gfx/sdma mcbp feature, reserve AMDGPU_CSA_SIZ * AMDGPU_VM_MAX_NUM_CTX at the top of VM space. For sriov, only need to reserve AMDGPU_VA_RESERVED_SIZE at the top. v2: refine variable and function name(suggested by christian) Signed-off-by:

[PATCH 2/4] drm/amdgpu: Refine function amdgpu_csa_vaddr

2018-12-09 Thread Rex Zhu
on baremetal, driver create csa per ctx. So add a function argument: ctx_id to get csa gpu addr. v2: add SRIOV handling Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 8 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 4

[PATCH 1/4] drm/amdgpu: Add defines for CSA buffer

2018-12-09 Thread Rex Zhu
divide the reserve 128k CSA into four parts 1. first 4k for gfx CE/DE metadata 2. next 64K for GDS backup storage 3. next 28K reserved 4. last 32K for SDMA Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.h | 11 +++ drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-

[PATCH 4/4] drm/amdgpu: Delay map sriov csa addr to ctx init

2018-12-09 Thread Rex Zhu
1. meet kfd request 2. align with baremetal, in baremetal, driver map csa when ctx init. v2: Add csa_va test when rmv do not need to free virt.csa_obj when map failed update comments about function amdgpu_map_static_csa Signed-off-by: Rex Zhu ---

RE: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-09 Thread Quan, Evan
Is the DRM_INFO print necessary? And it will get printed even running on other ASIC. Regards, Evan > -Original Message- > From: amd-gfx On Behalf Of > Feifei Xu > Sent: 2018年12月10日 12:46 > To: amd-gfx@lists.freedesktop.org > Cc: Xu, Feifei > Subject: [PATCH] drm/amdgpu:skip ASIC_INIT

RE: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-09 Thread Xu, Feifei
Tested on pro stack vega20. -Original Message- From: amd-gfx On Behalf Of Feifei Xu Sent: Monday, December 10, 2018 12:46 PM To: amd-gfx@lists.freedesktop.org Cc: Xu, Feifei Subject: [PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20 On vega20, the job of executing the

[PATCH] drm/amdgpu:skip ASIC_INIT when posting card on vg20

2018-12-09 Thread Feifei Xu
On vega20, the job of executing the ASIC_INIT table when posting card is moved to psp. Skip the atombios's ASIC_INIT on vega20 when posting card. Change-Id: Id1d3c0a0d19296d5ed804de7edf5b09b8d38c0a5 Signed-off-by: Feifei Xu --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- 1 file changed,

RE: [PATCH -next] drm/amdgpu: remove set but not used variable 'grbm_soft_reset'

2018-12-09 Thread Zhou, David(ChunMing)
> -Original Message- > From: YueHaibing > Sent: Saturday, December 08, 2018 11:01 PM > To: Deucher, Alexander ; Koenig, Christian > ; Zhou, David(ChunMing) > ; airl...@linux.ie; Liu, Leo ; > Gao, Likun ; Panariti, David > ; S, Shirish ; Zhu, Rex > ; Grodzovsky, Andrey > Cc: YueHaibing

Kernel panic on Xorg init with new HP F.19 BIOS and kernel 4.19

2018-12-09 Thread Bráulio Bhavamitra
Hi all, After using windows to update my HP Envy x360 from BIOS to F.17 to F.19 I can't boot using kernel 4.19 anymore. FYI that update increased shared memory from 256mb to 1gb. BIOS downloaded from https://support.hp.com/us-en/drivers/selfservice/hp-envy-15-bq000-x360-convertible-pc/15551149

Re: Freezes back with Raven Ridge 2500u and 4.19

2018-12-09 Thread Bráulio Bhavamitra
Crashes seems related to newer Mesa, as disabling 3d effects on Kwin fixed them all. Reproduced problems with old and new firmware, latest 4.17, 4.18 and 4.19 kernels Now having another issue with new B19 update from HP Best, Bráulio On Thu, Nov 1, 2018 at 9:33 AM Bráulio Bhavamitra wrote: >