RE: [PATCH v2] drm/amdgpu: fix CG enabling hang with gfxoff enabled

2018-06-05 Thread Huang, Ray
Updated. Thanks, Ray -Original Message- From: Zhang, Hawking Sent: Tuesday, June 05, 2018 3:28 PM To: Zhang, Hawking ; Huang, Ray ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Kuehling, Felix ; Huang, Ray ; Koenig, Christian Subject: RE: [PATCH v2] drm/amdgpu: fix CG

RE: [PATCH] drm/amd/powerplay: fix missed hwmgr check warning before call gfx_off_control handler

2018-06-05 Thread Huang, Ray
Ping. -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Huang Rui Sent: Friday, May 18, 2018 10:50 AM To: Deucher, Alexander ; Koenig, Christian ; amd-gfx@lists.freedesktop.org Cc: Huang, Ray ; Dan Carpenter Subject: [PATCH] drm/amd/powerplay

RE: Fix broken Raven system before Linux 4.18 release

2018-07-30 Thread Huang, Ray
Yes, that patch won't change any code logic, and just a cleanup. Thanks, Ray -Original Message- From: Koenig, Christian Sent: Monday, July 30, 2018 9:31 PM To: Paul Menzel ; Huang, Ray ; Alex Deucher Cc: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org Subject: Re: Fix

RE: two KASANs in TTM logic

2018-09-07 Thread Huang, Ray
Hi Tom, Thanks to trace this issue. I am trying to reproduce it on amd-staging-drm-next with piglit. May I know the steps/configurations to repro it? Thanks, Ray -Original Message- From: amd-gfx On Behalf Of Tom St Denis Sent: Wednesday, September 5, 2018 9:27 PM To: Koenig,

RE: [PATCH 1/2] drm/amdgpu: fix sdma doorbell comments typo

2018-10-11 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Frank.Min > Sent: Thursday, October 11, 2018 8:08 PM > To: amd-gfx@lists.freedesktop.org > Cc: Min, Frank > Subject: [PATCH 1/2] drm/amdgpu: fix sdma doorbell comments typo > > Change-Id:

RE: [PATCH 2/2] drm/amdgpu: skip vm entries checking while in sriov vf

2018-10-11 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Felix Kuehling > Sent: Friday, October 12, 2018 3:46 AM > To: Koenig, Christian ; Min, Frank > ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 2/2] drm/amdgpu: skip vm entries checking

RE: [PATCH 1/1] Updated comment accuracy in PSP SOS/Sysdriver loading sequence to target bootloader instead of bootrom

2018-10-16 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of John Clements > Sent: Tuesday, October 16, 2018 9:23 AM > To: amd-gfx@lists.freedesktop.org > Cc: John Clements > Subject: [PATCH 1/1] Updated comment accuracy in PSP SOS/Sysdriver > loading

RE: [PATCH] Revised PSP comments

2018-10-17 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of John Clements > Sent: Wednesday, October 17, 2018 6:48 AM > To: amd-gfx@lists.freedesktop.org > Cc: John Clements > Subject: [PATCH] Revised PSP comments > > From: John Clements > >

RE: [PATCH 1/8] dma-buf: remove shared fence staging in reservation object

2018-10-24 Thread Huang, Ray
.org; linaro-mm-...@lists.linaro.org; Huang, Ray > ; Daenzer, Michel > Cc: Daniel Vetter ; Chris Wilson ; > Zhang, Jerry > Subject: Re: [PATCH 1/8] dma-buf: remove shared fence staging in > reservation object > > Ping once more! Adding a few more AMD people. > > Any comments

RE: [PATCH 1/8] dma-buf: remove shared fence staging in reservation object

2018-10-23 Thread Huang, Ray
vger.kernel.org; linaro-mm-...@lists.linaro.org; Huang, Ray > ; Daenzer, Michel > Cc: Daniel Vetter ; Chris Wilson ; > Zhang, Jerry > Subject: Re: [PATCH 1/8] dma-buf: remove shared fence staging in > reservation object > > Ping once more! Adding a few more AMD people. &g

RE: [PATCH revert] Revert "drm/amdgpu: use GMC v9 KIQ workaround only for the GFXHUB"

2018-11-16 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Chengming Gui > Sent: Friday, November 16, 2018 4:21 PM > To: amd-gfx@lists.freedesktop.org > Cc: Gui, Jack > Subject: [PATCH revert] Revert "drm/amdgpu: use GMC v9 KIQ workaround > only for

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

2018-11-15 Thread Huang, Ray
> -Original Message- > From: YueHaibing [mailto:yuehaib...@huawei.com] > Sent: Thursday, November 15, 2018 6:52 PM > To: Deucher, Alexander ; Koenig, Christian > ; Zhou, David(ChunMing) > ; airl...@linux.ie; Liu, Shaoyun > ; Francis, David ; Huang, > Ray ; Xu, Fei

RE: [PATCH 1/2] drm/amd/display: Fix warning storm on Raven2

2018-10-09 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of roman...@amd.com > Sent: Wednesday, October 10, 2018 1:50 AM > To: amd-gfx@lists.freedesktop.org > Cc: Li, Sun peng (Leo) ; Wu, Hersen > ; Wentland, Harry ; > Li, Roman > Subject: [PATCH

RE: [PATCH 01/12] drm/amdgpu: add missing error handling

2018-09-28 Thread Huang, Ray
> -Original Message- > From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] > Sent: Thursday, September 27, 2018 7:26 PM > To: Huang, Ray > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 01/12] drm/amdgpu: add missing error handling > > Am 27.

RE: [PATCH v2 1/8] drm/amdgpu:Use register UVD_SCRATCH9 for VCN ring/ib test

2018-09-26 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of James Zhu > Sent: Wednesday, September 26, 2018 7:03 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhu, James > Subject: [PATCH v2 1/8] drm/amdgpu:Use register UVD_SCRATCH9 for VCN > ring/ib

RE: [PATCH 3/9] drm/amdgpu: cleanup amdgpu_ih.c

2018-09-26 Thread Huang, Ray
> -Original Message- > From: Koenig, Christian > Sent: Wednesday, September 26, 2018 4:58 PM > To: Huang, Ray > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 3/9] drm/amdgpu: cleanup amdgpu_ih.c > > Am 26.09.2018 um 10:52 schrieb Huang, Ray: &g

RE: [PATCH 8/9] drm/amdgpu: simplify IH programming

2018-09-26 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Christian K?nig > Sent: Monday, September 24, 2018 8:38 PM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH 8/9] drm/amdgpu: simplify IH programming > > Calculate all the addresses and

RE: [PATCH 9/9] drm/amdgpu: enable IH ring 1 and ring 2

2018-09-26 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Christian K?nig > Sent: Monday, September 24, 2018 8:38 PM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH 9/9] drm/amdgpu: enable IH ring 1 and ring 2 > > The entries are ignored for

RE: [PATCH 3/9] drm/amdgpu: cleanup amdgpu_ih.c

2018-09-26 Thread Huang, Ray
> -Original Message- > From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] > Sent: Tuesday, September 25, 2018 7:01 PM > To: Huang, Ray > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 3/9] drm/amdgpu: cleanup amdgpu_ih.c > > Am 25.09.2018 um

RE: [PATCH 6/9] drm/amdgpu: separate IH and IRQ funcs

2018-09-26 Thread Huang, Ray
> -Original Message- > From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] > Sent: Wednesday, September 26, 2018 4:09 PM > To: Huang, Ray > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 6/9] drm/amdgpu: separate IH and IRQ funcs > > Am 26.

RE: [PATCH v2 1/8] drm/amdgpu:Use register UVD_SCRATCH9 for VCN ring/ib test

2018-09-27 Thread Huang, Ray
> -Original Message- > From: Zhu, James > Sent: Wednesday, September 26, 2018 9:03 PM > To: Huang, Ray ; James Zhu ; > amd-gfx@lists.freedesktop.org > Cc: Zhu, James ; Gao, Likun > Subject: Re: [PATCH v2 1/8] drm/amdgpu:Use register UVD_SCRATCH9 for > VCN ring/ib

RE: [PATCH] gpu: drm: fix an improper check of amdgpu_bo_create_kernel

2018-12-26 Thread Huang, Ray
> -Original Message- > From: Kangjie Lu [mailto:k...@umn.edu] > Sent: Wednesday, December 26, 2018 2:24 PM > To: k...@umn.edu > Cc: pakki...@umn.edu; Deucher, Alexander > ; Koenig, Christian > ; Zhou, David(ChunMing) > ; David Airlie ; Daniel Vetter > ; Zhu,

RE: [PATCH 2/2] drm/amdgpu/virtual_dce: No need to pin the cursor bo

2018-12-26 Thread Huang, Ray
Reviewed-by: Huang Rui > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Deng, Emily > Sent: Wednesday, December 26, 2018 10:27 AM > To: amd-gfx@lists.freedesktop.org > Subject: RE: [PATCH 2/2] drm/amdgpu/virtual_dce: No need to pin the

RE: [PATCH] drm/amdgpu: both support PCO FP5/AM4 rlc fw

2018-12-05 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Aaron Liu > Sent: Thursday, December 06, 2018 9:27 AM > To: amd-gfx@lists.freedesktop.org > Cc: Liu, Aaron > Subject: [PATCH] drm/amdgpu: both support PCO FP5/AM4 rlc fw > > For Picasso &&

RE: [PATCH] drm/amdgpu: both support PCO real/fake rlc fw

2018-12-04 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Aaron Liu > Sent: Wednesday, December 05, 2018 11:12 AM > To: amd-gfx@lists.freedesktop.org > Cc: Liu, Aaron > Subject: [PATCH] drm/amdgpu: both support PCO real/fake rlc fw > > For Picasso

RE: [PATCH] drm/amdgpu/psp: use define rather than magic number for mode1 reset

2018-11-19 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Alex Deucher > Sent: Saturday, November 17, 2018 2:25 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: [PATCH] drm/amdgpu/psp: use define rather than magic number >

RE: [PATCH] drm/amdgpu: add checking to avoid null pointer without enabling powerplay

2018-11-19 Thread Huang, Ray
> -Original Message- > From: Huang Rui [mailto:ray.hu...@amd.com] > Sent: Monday, November 19, 2018 3:53 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray > Subject: [PATCH] drm/amdgpu: add checking to avoid null pointer without > enabling powerplay > > T

RE: [PATCH drm/amdgpu/psp: ignore psp reponse status] drm/amdgpu/psp: ignore psp reponse status

2019-01-14 Thread Huang, Ray
Is some cases, response status is not 0 even there is no problem while the command is submitted. Some version of PSP FW doesn't write 0 to that field. So here we would like to only print a warning instead of an error during psp initialization to avoid breaking hw_init. Reviewed-by: Huang Rui

RE: [PATCH] drm/amdgpu: make gfx9 enter into rlc safe mode when set MGCG

2019-01-02 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of likun Gao > Sent: Wednesday, January 02, 2019 4:57 PM > To: amd-gfx@lists.freedesktop.org > Cc: Gao, Likun > Subject: [PATCH] drm/amdgpu: make gfx9 enter into rlc safe mode when set > MGCG >

RE: [PATCH] amd/amdgpu: fix typo about amdgpu_sriov_vf

2018-12-10 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Chengming Gui > Sent: Monday, December 10, 2018 4:05 PM > To: amd-gfx@lists.freedesktop.org > Cc: Gui, Jack > Subject: [PATCH] amd/amdgpu: fix typo about amdgpu_sriov_vf > Please add

RE: build broken on drm-next

2018-12-10 Thread Huang, Ray
Jack already have a patch to fix this issue. Thanks, Ray > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of StDenis, Tom > Sent: Monday, December 10, 2018 8:07 PM > To: Zhou, Tiecheng ; amd-gfx mailing list g...@lists.freedesktop.org> >

RE: [PATCH] drm/amd/powerplay: delete some dead code

2019-03-21 Thread Huang, Ray
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Thursday, March 21, 2019 2:27 PM > To: Deucher, Alexander > Cc: Koenig, Christian ; Zhou, David(ChunMing) > ; David Airlie ; Daniel Vetter > ; Huang, Ray ; Wang, Kevin(Yang) >

RE: [PATCH] drm/amd/powerplay: Fix double unlock bug in smu_sys_set_pp_table()

2019-03-21 Thread Huang, Ray
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Thursday, March 21, 2019 2:28 PM > To: Deucher, Alexander ; Wang, Kevin(Yang) > > Cc: Koenig, Christian ; Zhou, David(ChunMing) > ; David Airlie ; Daniel Vetter > ; Huang, Ray ;

RE: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"

2019-04-08 Thread Huang, Ray
> -Original Message- > From: Pinky [mailto:j...@seznam.cz] > Sent: Saturday, April 06, 2019 3:09 PM > To: Alex Deucher > Cc: Deucher, Alexander ; Huang, Ray > ; amd-gfx@lists.freedesktop.org > Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxo

RE: [PATCH 07/26] drm/amd/powerplay: implement pwm1_enable hwmon interface for SMU11

2019-02-25 Thread Huang, Ray
> -Original Message- > From: Alex Deucher [mailto:alexdeuc...@gmail.com] > Sent: Tuesday, February 26, 2019 11:59 AM > To: Huang, Ray > Cc: amd-gfx list ; Gao, Likun > ; Wang, Kevin(Yang) ; Gui, > Jack > Subject: Re: [PATCH 07/26] drm/amd/powerplay: imple

RE: [PATCH v2] drm/amd/powerplay: add limit of pp_feature for smu (v2)

2019-02-26 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of likun Gao > Sent: Tuesday, February 26, 2019 4:15 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Gao, Likun > ; Huang, Ray > Subject: [PATCH v2

RE: [PATCH 1/6] drm/amdgpu: rework shadow handling during PD clear v2

2019-02-27 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Christian K?nig > Sent: Tuesday, February 26, 2019 8:47 PM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH 1/6] drm/amdgpu: rework shadow handling during PD clear > v2 > > This way we

RE: [PATCH] drm/amd/powerplay: fix memdup.cocci warnings

2019-03-04 Thread Huang, Ray
> -Original Message- > From: Julia Lawall [mailto:julia.law...@lip6.fr] > Sent: Saturday, March 02, 2019 2:51 PM > To: Gao, Likun > Cc: Deucher, Alexander ; Wang, Kevin(Yang) > ; Quan, Evan ; Koenig, > Christian ; David Airlie ; > Daniel Vetter

RE: [PATCH 000/138] The new SW SMU driver of amdgpu

2019-02-20 Thread Huang, Ray
Ping. May I have your comments? Thanks, Ray > -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Friday, January 25, 2019 6:23 PM > To: amd-gfx@lists.freedesktop.org > Cc: Gao, Likun ; Wang, Kevin(Yang) &g

RE: [PATCH] drm/amd/powerplay: simplify sw-smu message map macro

2019-03-06 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Wang, Kevin(Yang) > Sent: Wednesday, March 06, 2019 7:53 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray ; Wang, Kevin(Yang) > > Subject: [PATCH] drm/amd/po

RE: [PATCH v3] drm/amd/powerplay: add limit of pp_feature for smu (v3)

2019-02-27 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of likun Gao > Sent: Thursday, February 28, 2019 11:14 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Gao, Likun > ; Huang, Ray > Subject: [PATCH v3

RE: [PATCH] drm/amd/powerplay: move the smc_if_version to asic file

2019-03-10 Thread Huang, Ray
> -Original Message- > From: Wang, Kevin(Yang) > Sent: Monday, March 11, 2019 11:06 AM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray ; Wang, Kevin(Yang) > > Subject: [PATCH] drm/amd/powerplay: move the smc_if_version to asic file > > each asic may be h

RE: [PATCH] drm/amdgpu: partial revert cleanup setting bulk_movable

2019-01-30 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Christian K?nig > Sent: Wednesday, January 30, 2019 8:47 PM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH] drm/amdgpu: partial revert cleanup setting bulk_movable > > We still need

RE: [PATCH] drm/ttm: fix incrementing the page pointer for huge pages

2019-04-10 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Christian K?nig > Sent: Wednesday, April 10, 2019 5:46 PM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH] drm/ttm: fix incrementing the page pointer for huge pages > > When we

RE: [PATCH 1/2] SWDEV-183622 4k@60hz dp monitor always flicking

2019-04-17 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of hersen wu > Sent: Monday, April 15, 2019 10:18 PM > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > > Cc: Wu, Hersen > Subject: [PATCH 1/2] SWDEV-183622 4k@60hz dp monitor always

RE: [PATCH] drm/amdgpu: reserve stollen vram for raven series

2019-05-28 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of Cui, > Flora > Sent: Tuesday, May 28, 2019 3:55 PM > To: amd-gfx@lists.freedesktop.org > Cc: Cui, Flora > Subject: [PATCH] drm/amdgpu: reserve stollen vram for raven series > > to avoid screen corruption during modprobe. > > Change-Id:

RE: [PATCH 2/2] drm/amd/amdgpu: add RLC firmware to support raven1 refresh

2019-06-02 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of > Prike Liang > Sent: Friday, May 31, 2019 9:11 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Liang, Prike > ; Huang, Ray > Subject: [PATCH 2/2] drm/amd/amdgpu: add RLC firmware to support raven

RE: [PATCH] drm/amdgpu/psp: udpate ta_ras interface header

2019-06-02 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of > Hawking Zhang > Sent: Friday, May 31, 2019 11:41 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking > Subject: [PATCH] drm/amdgpu/psp: udpate ta_ras interface header > > ras ta interface header need to be updated to match with

RE: [PATCH] drm/amd/powerplay: add smu message mutex

2019-06-03 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of Xiao, > Jack > Sent: Monday, June 03, 2019 3:02 PM > To: amd-gfx@lists.freedesktop.org; Deucher, Alexander > ; Zhang, Hawking > > Cc: Xiao, Jack > Subject: [PATCH] drm/amd/powerplay: add smu message mutex > > Add smu message mutex

RE: [PATCH] drm/amdgpu: return 0 by default in amdgpu_pm_load_smu_firmware

2019-06-13 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of Paul > Menzel > Sent: Thursday, June 13, 2019 6:32 PM > To: Alex Deucher > Cc: Deucher, Alexander ; Sibren Vasse > ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH] drm/amdgpu: return 0 by default in > amdgpu_pm_load_smu_firmware >

RE: [PATCH] drm/amdgpu: fix pm_load_smu_firmware for SR-IOV

2019-06-11 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of > Trigger Huang > Sent: Tuesday, June 11, 2019 12:09 PM > To: amd-gfx@lists.freedesktop.org > Cc: Liang, Prike ; Huang, Trigger > > Subject: [PATCH] drm/amdgpu: fix pm_load_smu_firmware for SR-IOV > > For SR-IOV VF, powerplay may not be

RE: [PATCH] drm/amd/powerplay: detect version of smu backend

2019-06-17 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of > Prike Liang > Sent: Friday, June 14, 2019 3:01 PM > To: amd-gfx@lists.freedesktop.org > Cc: Liang, Prike ; Huang, Ray > ; Feng, Kenneth ; Quan, > Evan > Subject: [PATCH] drm/amd/powerplay: detect version of

RE: [PATCH 3/3] drm/amd/powerplay: support ppfeatures sysfs interface on sw smu routine

2019-05-13 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of Evan > Quan > Sent: Monday, May 13, 2019 3:53 PM > To: amd-gfx@lists.freedesktop.org > Cc: Quan, Evan > Subject: [PATCH 3/3] drm/amd/powerplay: support ppfeatures sysfs > interface on sw smu routine > > Support ppfeatures sysfs

RE: [PATCH] drm/amd/powerplay: fix locking in smu_feature_set_supported()

2019-05-15 Thread Huang, Ray
> -Original Message- > From: Dan Carpenter > Sent: Wednesday, May 15, 2019 5:52 PM > To: Deucher, Alexander ; Wang, Kevin(Yang) > > Cc: Koenig, Christian ; Zhou, David(ChunMing) > ; David Airlie ; Daniel Vetter > ; Huang, Ray ; Gao, Likun > ; Gui, Jack ; amd- &

RE: [PATCH] drm/amd/powerplay: add helper function to get smu firmware & if version

2019-04-29 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Wang, Kevin(Yang) > Sent: Monday, April 29, 2019 3:05 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray ; Wang, Kevin(Yang) > > Subject: [PATCH] drm/amd/powerp

RE: [PATCH] drm/amdgpu: enable MGCG for PCO

2019-04-19 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of likun Gao > Sent: Friday, April 19, 2019 3:21 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huan, Alvin ; Zhou, Hang > ; Huang, Ray ; Gao, Likun > > Subject: [PAT

RE: [PATCH 1/2] drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE

2019-07-01 Thread Huang, Ray
Series are Reviewed-and-Tested-by: Huang Rui -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Monday, July 1, 2019 9:00 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH 1/2] drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE Recommended

RE: [PATCH] drm/amd/powerplay: add set/get_power_profile_mode for Raven

2019-04-22 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Chengming Gui > Sent: Monday, April 22, 2019 4:03 PM > To: amd-gfx@lists.freedesktop.org > Cc: Gui, Jack > Subject: [PATCH] drm/amd/powerplay: add set/get_power_profile_mode > for Raven

RE: [PATCH] drm/amdgpu: Check if smu.ppt_funcs is initialized before accessing

2019-04-22 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Alex Deucher > Sent: Friday, April 19, 2019 10:26 PM > To: Li, Sun peng (Leo) > Cc: Gui, Jack ; amd-gfx list g...@lists.freedesktop.org> > Subject: Re: [PATCH] drm/amdgpu: Check if

RE: [PATCH] drm/amd/powerplay: enable UMDPSTATE support on raven2

2019-04-22 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Chengming Gui > Sent: Monday, April 22, 2019 5:05 PM > To: amd-gfx@lists.freedesktop.org > Cc: Gui, Jack > Subject: [PATCH] drm/amd/powerplay: enable UMDPSTATE support on > raven2 > Please

RE: [PATCH 1/2] drm/ttm: fix out-of-bounds read in ttm_put_pages() v2

2019-04-09 Thread Huang, Ray
> -Original Message- > From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] > Sent: Monday, April 08, 2019 9:13 PM > To: Zhang, Jerry ; Huang, Ray > ; amd-gfx@lists.freedesktop.org; dri- > de...@lists.freedesktop.org > Subject: [PATCH 1/2] drm/ttm: f

RE: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"

2019-04-09 Thread Huang, Ray
> -Original Message- > From: Pinky [mailto:j...@seznam.cz] > Sent: Monday, April 08, 2019 8:42 PM > To: Huang, Ray > Cc: Alex Deucher ; Deucher, Alexander > ; amd-gfx@lists.freedesktop.org > Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxo

RE: [PATCH 2/2] drm/ttm: fix start page for huge page check in ttm_put_pages()

2019-04-09 Thread Huang, Ray
> -Original Message- > From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] > Sent: Monday, April 08, 2019 9:13 PM > To: Zhang, Jerry ; Huang, Ray > ; amd-gfx@lists.freedesktop.org; dri- > de...@lists.freedesktop.org > Subject: [PATCH 2/2] drm/ttm: fix sta

RE: [PATCH 1/2] drm/amd/powerplay: optimization function of smu_update_table

2019-04-09 Thread Huang, Ray
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Wang, Kevin(Yang) > Sent: Monday, April 08, 2019 4:43 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray ; Feng, Kenneth > ; Wang, Kevin(Yang) > Subject: [PATC

RE: [PATCH 00/27] Add Renoir APU support

2019-08-11 Thread Huang, Ray
Series are Acked-by: Huang Rui > -Original Message- > From: amd-gfx On Behalf Of Alex > Deucher > Sent: Friday, August 09, 2019 11:53 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: [PATCH 00/27] Add Renoir APU support > > This patch set provides initial

RE: [PATCH 27/27] drm/amdgpu: flag renoir as experimental for now

2019-08-11 Thread Huang, Ray
> -Original Message- > From: amd-gfx On Behalf Of Alex > Deucher > Sent: Friday, August 09, 2019 11:53 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: [PATCH 27/27] drm/amdgpu: flag renoir as experimental for now > > The current code won't likely work on

RE: [PATCH] drm/amd/powerplay: remove duplicate macro smu_get_uclk_dpm_states in amdgpu_smu.h

2019-08-19 Thread Huang, Ray
> -Original Message- > From: Wang, Kevin(Yang) > Sent: Tuesday, August 20, 2019 1:36 PM > To: amd-gfx@lists.freedesktop.org > Cc: Huang, Ray ; Wang, Kevin(Yang) > > Subject: [PATCH] drm/amd/powerplay: remove duplicate macro > smu_get_uclk_dpm_states in amdgpu_smu

RE: [PATCH V2] drm/amd/powerplay: SMU_MSG_OverridePcieParameters is unsupport for APU

2019-08-30 Thread Huang, Ray
Acked-by: Huang Rui -Original Message- From: Aaron Liu Sent: Thursday, August 29, 2019 10:10 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Huang, Ray ; Liu, Aaron Subject: [PATCH V2] drm/amd/powerplay: SMU_MSG_OverridePcieParameters is unsupport for APU For apu

RE: [PATCH 2/2] drm/amdgpu: fix no interrupt issue for renoir emu (v2)

2019-08-30 Thread Huang, Ray
Patches are Acked-by: Huang Rui Please use "git send-email" on amd-gfx public code review. Thanks, Ray -Original Message- From: Aaron Liu Sent: Friday, August 30, 2019 1:33 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Huang, Ray ; Liu, Aaron ; Deucher,

RE: [PATCH] drm/amd/powerplay: replace smu->table_count with SMU_TABLE_COUNT in smu

2019-09-03 Thread Huang, Ray
Acked-by: Huang Rui -Original Message- From: Wang, Kevin(Yang) Sent: Tuesday, September 3, 2019 4:17 AM To: amd-gfx@lists.freedesktop.org; Huang, Ray Cc: Wang, Kevin(Yang) Subject: [PATCH] drm/amd/powerplay: replace smu->table_count with SMU_TABLE_COUNT in smu fix bellow pa

RE: [PATCH] drm/amdgpu: fix commit 4ef9d7d

2019-08-27 Thread Huang, Ray
Reviewed-by: Huang Rui -Original Message- From: amd-gfx On Behalf Of Aaron Liu Sent: Tuesday, August 27, 2019 12:33 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Aaron Subject: [PATCH] drm/amdgpu: fix commit 4ef9d7d For picasso(adev->pdev->device == 0x15d8)(adev->rev_id >= 0x8),

[PATCH v2 01/10] drm/amdkfd: add renoir cache info for CRAT (v2)

2019-09-05 Thread Huang, Ray
Renoir's cache info should be the same with raven and carrizo's. v2: fix missed "break" Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c

[PATCH v2 02/10] drm/amdkfd: add renoir kfd device info (v2)

2019-09-05 Thread Huang, Ray
This patch inits renoir kfd device info, so we treat renoir as "dgpu" (bypass iommu v2). Will enable needs_iommu_device till renoir iommu is ready. v2: rebase and align the drm-next Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 18 ++ 1 file changed, 18

Re: [PATCH 1/1] drm/amdgpu: Disable retry faults in VMID0

2019-09-05 Thread Huang, Ray
On Thu, Sep 05, 2019 at 07:31:11AM +0800, Kuehling, Felix wrote: > There is no point retrying page faults in VMID0. Those faults are > always fatal. > > Signed-off-by: Felix Kuehling Thanks! I have verified it in my platform. Reviewed-and-Tested-by: Huang Rui > --- >

[PATCH 09/10] drm/amdgpu: disable gfxoff while use no H/W scheduling policy

2019-09-04 Thread Huang, Ray
While gfxoff is enabled, the mmVM_XXX registers will be 0xfff while the GFX is in "off" state. KFD queue creattion doesn't use ring based method, so it will trigger a VM fault. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 +

[PATCH 00/10] drm/amdkfd: introduce the kfd support for Renoir

2019-09-04 Thread Huang, Ray
Hi all, These patch set provides the kfd support for ROCm stack on Renoir APU. Thanks, Ray Huang Rui (10): drm/amdkfd: add renoir cache info for CRAT drm/amdkfd: add renoir kfd device info drm/amdkfd: enable kfd device queue manager v9 for renoir drm/amdkfd: add renoir typs for the

[PATCH 06/10] drm/amdkfd: init kernel queue for renoir

2019-09-04 Thread Huang, Ray
Renoir is GFX v9, so init v9 kernel queue. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c b/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c index 26c66bb..2462d24 100644

[PATCH 03/10] drm/amdkfd: enable kfd device queue manager v9 for renoir

2019-09-04 Thread Huang, Ray
Renoir is GFX9, so enable v9 devcie queue manager. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c

[PATCH 10/10] drm/amdkfd: enable renoir while device probes

2019-09-04 Thread Huang, Ray
This patch is to add asic flag to enable device probe during kfd init. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c index

[PATCH 01/10] drm/amdkfd: add renoir cache info for CRAT

2019-09-04 Thread Huang, Ray
Renoir's cache info should be the same with raven and carrizo's. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c index a84c810..2a428c9

[PATCH 05/10] drm/amdkfd: init kfd apertures v9 for renoir

2019-09-04 Thread Huang, Ray
Renoir is GMC v9, so init v9 kfd apertures. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c b/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c index 7a5b3b2..989c74f 100644

[PATCH 04/10] drm/amdkfd: add renoir typs for the workaround of iommu v2

2019-09-04 Thread Huang, Ray
Renoir is the same with Raven, will enable iommu event in future. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.c b/drivers/gpu/drm/amd/amdkfd/kfd_events.c index

[PATCH 07/10] drm/amdkfd: add package manager for renoir

2019-09-04 Thread Huang, Ray
Renoir use GFX v9, so adds v9 package manager. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c index

[PATCH 02/10] drm/amdkfd: add renoir kfd device info

2019-09-04 Thread Huang, Ray
This patch inits renoir kfd device info, so we treat renoir as "dgpu" (bypass iommu v2). Will enable needs_iommu_device till renoir iommu is ready. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 19 +++ 1 file changed, 19 insertions(+) diff --git

[PATCH 08/10] drm/amdkfd: add renoir kfd topology

2019-09-04 Thread Huang, Ray
This patch adds renoir kfd topology which is the same with Raven. Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c index

RE: [PATCH 2/2] drm/amdgpu: cleanup PTE flag generation v2

2019-09-04 Thread Huang, Ray
Series look good for me. Reviewed-by: Huang Rui -Original Message- From: amd-gfx On Behalf Of Christian König Sent: Wednesday, September 4, 2019 8:17 AM To: amd-gfx@lists.freedesktop.org Subject: [PATCH 2/2] drm/amdgpu: cleanup PTE flag generation v2 Move the ASIC specific code into

RE: [PATCH] drm/amdgpu: disable stutter mode for renoir

2019-09-04 Thread Huang, Ray
o: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Huang, Ray ; Liu, Aaron Subject: [PATCH] drm/amdgpu: disable stutter mode for renoir With stutter mode enabled, NMI prints frequently. Disable stutter mode for renoir. Signed-off-by: Aaron Liu --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgp

RE: [PATCH 2/2] drm/amd/powerplay: implement sysfs for getting dpm clock

2019-09-04 Thread Huang, Ray
Reviewed-by: Huang Rui -Original Message- From: amd-gfx On Behalf Of Liang, Prike Sent: Wednesday, September 4, 2019 2:02 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Liang, Prike Subject: [PATCH 2/2] drm/amd/powerplay: implement sysfs for getting dpm clock With the

Re: [PATCH 00/10] drm/amdkfd: introduce the kfd support for Renoir

2019-09-04 Thread Huang, Ray
ent branch altogether. Please check that your series is based on > the latest amd-staging-drm-next. > I will rebase them to drm-next before submit. Thanks, Ray > Regards, >   Felix > > On 2019-09-04 11:48 a.m., Huang, Ray wrote: > > Hi all, > > > > These patch

Re: [PATCH 01/10] drm/amdkfd: add renoir cache info for CRAT

2019-09-04 Thread Huang, Ray
On Thu, Sep 05, 2019 at 03:35:20AM +0800, Kuehling, Felix wrote: > On 2019-09-04 11:48 a.m., Huang, Ray wrote: > > Renoir's cache info should be the same with raven and carrizo's. > > > > Signed-off-by: Huang Rui > > --- > > drivers/gpu/drm/amd/amdkfd/kfd_crat.c

Re: [PATCH 02/10] drm/amdkfd: add renoir kfd device info

2019-09-04 Thread Huang, Ray
On Thu, Sep 05, 2019 at 03:38:31AM +0800, Kuehling, Felix wrote: > On 2019-09-04 11:48 a.m., Huang, Ray wrote: > > This patch inits renoir kfd device info, so we treat renoir as "dgpu" > > (bypass iommu v2). Will enable needs_iommu_device till renoir iommu is >

Re: Graceful page fault handling for Vega/Navi

2019-09-04 Thread Huang, Ray
On Wed, Sep 04, 2019 at 05:02:21PM +0200, Christian König wrote: > Hi everyone, > > this series is the next puzzle piece for recoverable page fault handling on > Vega and Navi. > > It adds a new direct scheduler entity for VM updates which is then used to > update page tables during a fault. >

Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-12 Thread Huang, Ray
On Wed, Sep 11, 2019 at 08:13:19PM +0800, Koenig, Christian wrote: > Am 11.09.19 um 13:50 schrieb Huang, Ray: > > From: Alex Deucher > > > > If one bo is secure (created with AMDGPU_GEM_CREATE_ENCRYPTED), the TMZ > > bits of > > PTEs that belongs that b

[PATCH] drm/amdkfd: fix the missed asic name while inited renoir_device_info

2019-09-10 Thread Huang, Ray
This patch fixes null pointer issue below, I missed to init the asic renior name while I rebase the patches. [ 106.004250] BUG: kernel NULL pointer dereference, address: [ 106.004254] #PF: supervisor read access in kernel mode [ 106.004256] #PF: error_code(0x) -

[PATCH 05/14] drm/amdgpu: add amdgpu_tmz data structure

2019-09-11 Thread Huang, Ray
This patch to add amdgpu_tmz structure which stores all tmz related fields. Signed-off-by: Huang Rui Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_tmz.h | 36 + 2 files changed, 41

[PATCH 01/14] drm/amdgpu: add UAPI for creating encrypted buffers

2019-09-11 Thread Huang, Ray
From: Alex Deucher Add a flag to the GEM_CREATE ioctl to create encrypted buffers. Buffers with this flag set will be created with the TMZ bit set in the PTEs or engines accessing them. This is required in order to properly access the data from the engines. Signed-off-by: Alex Deucher

[PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-11 Thread Huang, Ray
From: Alex Deucher If one bo is secure (created with AMDGPU_GEM_CREATE_ENCRYPTED), the TMZ bits of PTEs that belongs that bo should be set. Then psp is able to protect the pages of this bo to avoid the access from an "untrust" domain such as CPU. v1: design and draft the skeletion of tmz bits

[PATCH 00/14] drm/amdgpu: introduce secure buffer object support (trusted memory zone)

2019-09-11 Thread Huang, Ray
Hi all, These series of patches introduce a feature to support secure buffer object. The Trusted Memory Zone (TMZ) is a method to protect the contents being written to and read from memory. We use TMZ hardware memory protection scheme to implement the secure buffer object support. TMZ is the

[PATCH 09/14] drm/amdgpu: add tmz bit in frame control packet

2019-09-11 Thread Huang, Ray
This patch adds tmz bit in frame control pm4 packet, and it will used in future. Signed-off-by: Huang Rui Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/nvd.h| 1 + drivers/gpu/drm/amd/amdgpu/soc15d.h | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 07/14] drm/ttm: add helper to get buffer object with ttm_mem_reg

2019-09-11 Thread Huang, Ray
This patch is to add a helper to get corresponding buffer object with a pointer to a struct ttm_mem_reg. Signed-off-by: Huang Rui Reviewed-by: Alex Deucher --- include/drm/ttm/ttm_bo_driver.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/drm/ttm/ttm_bo_driver.h

  1   2   >