RE: [PATCH] drm/sched: Add device pointer to drm_gpu_scheduler

2022-02-22 Thread Gu, JiaWei (Will)
[AMD Official Use Only] Hi Christian, I noticed that and it has been fixed with the latest patch. And I pushed it to amd-staging-drm-next already. Best regards, Jiawei -Original Message- From: Koenig, Christian Sent: Wednesday, February 23, 2022 3:12 PM To: kernel test robot ; Gu

RE: [PATCH] drm/sched: Add device pointer to drm_gpu_scheduler

2022-02-20 Thread Gu, JiaWei (Will)
[AMD Official Use Only] Pinging. -Original Message- From: Jiawei Gu Sent: Thursday, February 17, 2022 6:44 PM To: dri-de...@lists.freedesktop.org; amd-gfx@lists.freedesktop.org; Koenig, Christian ; Grodzovsky, Andrey ; Liu, Monk ; Deng, Emily ; Chen, Horace Cc: Gu, JiaWei

RE: [PATCH 2/2] drm/amdgpu: fill scheduler with device ptr

2022-02-16 Thread Gu, JiaWei (Will)
driver fill device pointer by itself? And DRM_DEV_ERROR() print is fine with NULL device pointer, there's a NULL pointer check inside of it already. Best regards, Jiawei -Original Message- From: Koenig, Christian Sent: Wednesday, February 16, 2022 7:17 PM To: Gu, JiaWei (Will) ; amd-gfx

RE: [PATCH] drm/amdgpu: Clear garbage data in err_data before usage

2022-01-06 Thread Gu, JiaWei (Will)
, 2022 6:05 PM To: Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org; Clements, John ; Yang, Stanley ; Deng, Emily Cc: Gu, JiaWei (Will) Subject: RE: [PATCH] drm/amdgpu: Clear garbage data in err_data before usage [AMD Official Use Only] Reviewed-by: Tao Zhou May I know how do you reproduce

RE: [PATCH] drm/amdgpu: enable more pm sysfs under SRIOV 1-VF mode

2021-08-05 Thread Gu, JiaWei (Will)
[AMD Official Use Only] Hi Lijo, It's for Navi12 asic as far as I know. Best regards, Jiawei -Original Message- From: Lazar, Lijo Sent: Thursday, August 5, 2021 5:08 PM To: Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org Cc: Nieto, David M ; Deng, Emily ; Deucher, Alexander

RE: [PATCH] drm/amdgpu: enable more pm sysfs under SRIOV 1-VF mode

2021-08-05 Thread Gu, JiaWei (Will)
[AMD Official Use Only] Ping. -Original Message- From: Gu, JiaWei (Will) Sent: Wednesday, August 4, 2021 4:08 PM To: Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org Cc: Nieto, David M ; Deng, Emily ; Deucher, Alexander Subject: RE: [PATCH] drm/amdgpu: enable more pm sysfs under

RE: [PATCH] drm/amdgpu: enable more pm sysfs under SRIOV 1-VF mode

2021-08-04 Thread Gu, JiaWei (Will)
[AMD Official Use Only] Add Alex. -Original Message- From: Jiawei Gu Sent: Wednesday, August 4, 2021 3:50 PM To: amd-gfx@lists.freedesktop.org Cc: Nieto, David M ; Deng, Emily ; Gu, JiaWei (Will) Subject: [PATCH] drm/amdgpu: enable more pm sysfs under SRIOV 1-VF mode Enable

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-19 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] Thanks Christian! Happy to learn new tricks. Best regards, Jiawei From: Christian König Sent: Wednesday, May 19, 2021 9:23 PM To: Deucher, Alexander ; Gu, JiaWei (Will) ; Nieto, David M ; Koenig, Christian ; amd-gfx@lists.freedesktop.org

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-18 Thread Gu, JiaWei (Will)
- From: StDenis, Tom Sent: Tuesday, May 18, 2021 9:26 PM To: Koenig, Christian ; Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org; Nieto, David M ; mar...@gmail.com; Deucher, Alexander Cc: Deng, Emily Subject: Re: [PATCH] drm/amdgpu: Add vbios info ioctl interface [AMD Official Use Only

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-18 Thread Gu, JiaWei (Will)
]; + __u8 date[32]; +}; Best regards, Jiawei -Original Message- From: Jiawei Gu Sent: Tuesday, May 18, 2021 8:16 PM To: amd-gfx@lists.freedesktop.org; Koenig, Christian ; Nieto, David M ; mar...@gmail.com; Deucher, Alexander Cc: Deng, Emily ; Gu, JiaWei (Will) Subject: [PATCH] drm/amdgpu

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-17 Thread Gu, JiaWei (Will)
esday, May 18, 2021 12:40 PM To: Gu, JiaWei (Will) ; Koenig, Christian ; amd-gfx@lists.freedesktop.org; mar...@gmail.com; Deucher, Alexander Cc: Deng, Emily Subject: Re: [PATCH] drm/amdgpu: Add vbios info ioctl interface [Public] Yes, let's remove that too, Thanks, David ____

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-17 Thread Gu, JiaWei (Will)
, 2021 10:45 AM To: Gu, JiaWei (Will) ; Koenig, Christian ; amd-gfx@lists.freedesktop.org; mar...@gmail.com; Deucher, Alexander Cc: Deng, Emily Subject: Re: [PATCH] drm/amdgpu: Add vbios info ioctl interface [AMD Official Use Only - Internal Distribution Only] The serial number is ASIC informa

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-17 Thread Gu, JiaWei (Will)
n; > + __u8 vbios_ver_str[32]; > + __u8 date[32]; > + __u64 serial; // do we need this? > +}; Best regards, Jiawei -Original Message- From: Koenig, Christian Sent: Monday, May 17, 2021 8:26 PM To: Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org; Nieto, David M ; mar...@gm

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-17 Thread Gu, JiaWei (Will)
Cc: Deng, Emily ; Gu, JiaWei (Will) Subject: [PATCH] drm/amdgpu: Add vbios info ioctl interface Add AMDGPU_INFO_VBIOS_INFO subquery id for detailed vbios info. Provides a way for the user application to get the VBIOS information without having to parse the binary. It is useful for the

RE: [PATCH] drm/amdgpu: Add vbios version string

2021-05-17 Thread Gu, JiaWei (Will)
: Monday, May 17, 2021 6:22 PM To: amd-gfx@lists.freedesktop.org; Koenig, Christian ; Nieto, David M ; mar...@gmail.com; Deucher, Alexander Cc: Deng, Emily ; Gu, JiaWei (Will) Subject: [PATCH] drm/amdgpu: Add vbios version string Expose XXX.XXX.XXX.XXX.XX vbios version string

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-14 Thread Gu, JiaWei (Will)
regards, Jiawei -Original Message- From: Alex Deucher Sent: Friday, May 14, 2021 12:27 PM To: Gu, JiaWei (Will) Cc: amd-gfx@lists.freedesktop.org; Nieto, David M ; Deng, Emily Subject: Re: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg On Thu, May 13, 2021 at 11:47

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Gu, JiaWei (Will)
y 14, 2021 11:33 AM To: Gu, JiaWei (Will) Cc: amd-gfx@lists.freedesktop.org; Nieto, David M ; Deng, Emily Subject: Re: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg unique_id is normally fetched from the SMU on bare metal. I guess in the SR-IOV case, this would co

RE: [PATCH] add vbios info query

2021-05-13 Thread Gu, JiaWei (Will)
Tom ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Gu, JiaWei (Will) Subject: [PATCH] add vbios info query Signed-off-by: Jiawei Gu --- src/app/CMakeLists.txt | 1 + src/app/main.c | 8 + src/app/vbios.c

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] pinging -Original Message- From: Gu, JiaWei (Will) Sent: Thursday, May 13, 2021 7:01 PM To: Jiawei Gu ; amd-gfx@lists.freedesktop.org; Nieto, David M Cc: Deng, Emily Subject: RE: [PATCH] drm/amdgpu: Fill adev->unique_id with d

RE: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF msg

2021-05-13 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] Add David. -Original Message- From: Jiawei Gu Sent: Thursday, May 13, 2021 2:41 PM To: amd-gfx@lists.freedesktop.org Cc: Deng, Emily ; Gu, JiaWei (Will) Subject: [PATCH] drm/amdgpu: Fill adev->unique_id with data from PF2VF

RE: [PATCH] drm/amdgpu: Field type update in drm_amdgpu_info_vbios

2021-05-11 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] Done. UMR patch sent out. Hi Tom, Please help review it to bring the umr part back. Thanks in advance! Jiawei From: Deucher, Alexander Sent: Tuesday, May 11, 2021 9:16 PM To: Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org Cc: StDenis

RE: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios

2021-05-10 Thread Gu, JiaWei (Will)
10:52 AM To: Gu, JiaWei (Will) ; Christian König Cc: Alex Deucher ; Deng, Emily ; Kees Cook ; amd-gfx list Subject: Re: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios [AMD Official Use Only - Internal Distribution Only] I agree that the serial number should be on number form

RE: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios

2021-05-10 Thread Gu, JiaWei (Will)
__u8 date[32]; >> - __u8 serial[16]; >> + __u64 serial; >>__u32 dev_id; >>__u32 rev_id; >>__u32 sub_dev_id; >> -- Best regards, Jiawei From: Nieto, David M Sent: Tuesday, May 11, 2021 4:20 AM To: Christian König ;

RE: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios

2021-05-10 Thread Gu, JiaWei (Will)
"%s\n", adev->serial); } Thanks, Jiawei -Original Message- From: Nieto, David M Sent: Monday, May 10, 2021 2:53 PM To: Gu, JiaWei (Will) Cc: Alex Deucher ; amd-gfx list ; Kees Cook ; Deng, Emily Subject: Re: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios

RE: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios

2021-05-10 Thread Gu, JiaWei (Will)
-Original Message- From: Alex Deucher Sent: Sunday, May 9, 2021 11:59 PM To: Gu, JiaWei (Will) Cc: amd-gfx list ; Kees Cook Subject: Re: [PATCH] drm/amdgpu: Align serial size in drm_amdgpu_info_vbios On Sat, May 8, 2021 at 2:48 AM Jiawei Gu wrote: > > 20 should be serial char si

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-05-08 Thread Gu, JiaWei (Will)
Sent: Saturday, May 8, 2021 12:28 PM To: Gu, JiaWei (Will) ; Deucher, Alexander Cc: StDenis, Tom ; Deucher, Alexander ; Christian König ; Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org; Nieto, David M ; linux-n...@vger.kernel.org Subject: Re: [PATCH] drm/amdgpu: Add vbios info ioctl

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-04-28 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] Hi @StDenis, Tom<mailto:tom.stde...@amd.com>, We have merged vbios info ioctl patch. Could you help re-merge the UMR side one again if it was reverted before? Thanks in advance! Jiawei From: Gu, JiaWei (Will) Sent: Wednesday, April 28

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-04-28 Thread Gu, JiaWei (Will)
; Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; StDenis, Tom Subject: Re: [PATCH] drm/amdgpu: Add vbios info ioctl interface Yeah, makes sense. Please note that in the commit message. With that feel free to put an Acked-by: Christian König <mailto:christian.

RE: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-04-22 Thread Gu, JiaWei (Will)
, 2021 9:27 PM To: Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; StDenis, Tom Subject: Re: [PATCH] drm/amdgpu: Add vbios info ioctl interface Is that useful to Vulkan/OpenGL/other clients in any way? Christian. Am 22.04.21 um 15:18 schrieb Gu, JiaWei (Will): CC

Re: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-04-22 Thread Gu, JiaWei (Will)
CC Tom. > On Apr 22, 2021, at 21:09, Gu, JiaWei (Will) wrote: > > <[v2][umr]add-vbios-info-query.patch> > UMR patch which calls this new IOCTL attached. > > Best regards, > Jiawei > >> On Apr 22, 2021, at 10:34, Jiawei Gu wrote: >> >> Add

Re: [PATCH] drm/amdgpu: Add vbios info ioctl interface

2021-04-22 Thread Gu, JiaWei (Will)
UMR patch which calls this new IOCTL attached. Best regards, Jiawei > On Apr 22, 2021, at 10:34, Jiawei Gu wrote: > > Add AMDGPU_INFO_VBIOS_INFO subquery id for detailed vbios info. > > Signed-off-by: Jiawei Gu > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c| 19 +++ >

RE: [PATCH] drm/amdgpu: extend MAX_KIQ_REG_TRY to 1000

2021-02-08 Thread Gu, JiaWei (Will)
Sent: Monday, February 8, 2021 5:28 PM To: Gu, JiaWei (Will) ; amd-gfx@lists.freedesktop.org Cc: Deng, Emily Subject: Re: [PATCH] drm/amdgpu: extend MAX_KIQ_REG_TRY to 1000 Am 08.02.21 um 06:45 schrieb Jiawei Gu: > Extend retry times of KIQ to avoid starvation situation caused by long > tim

RE: [PATCH 1/1] drm/amdgpu: rework ip block reinit for sriov

2020-08-28 Thread Gu, JiaWei (Will)
no harm. Sorry about missing the amdgpu_device_ip_reinit_late_sriov() part. Best regards, Jiawei -Original Message- From: Das, Nirmoy Sent: Friday, August 28, 2020 3:14 PM To: Gu, JiaWei (Will) ; Das, Nirmoy ; Deng, Emily ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Liu

RE: [PATCH 1/1] drm/amdgpu: rework ip block reinit for sriov

2020-08-28 Thread Gu, JiaWei (Will)
To: Deng, Emily ; Das, Nirmoy ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Liu, Monk ; Gu, JiaWei (Will) Subject: Re: [PATCH 1/1] drm/amdgpu: rework ip block reinit for sriov On 8/28/20 3:16 AM, Deng, Emily wrote: > [AMD Official Use Only - Internal Distribution Only] > >

RE: [PATCH] drm/amdgpu: simplify hw status clear/set logic

2020-08-27 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] Ping... -Original Message- From: Jiawei Sent: Thursday, August 27, 2020 10:32 AM To: amd-gfx@lists.freedesktop.org Cc: Gu, JiaWei (Will) Subject: [PATCH] drm/amdgpu: simplify hw status clear/set logic Optimize code to iterate less

RE: [PATCH] SWDEV-231280 CentOS-AWS Guest driver reload 3 failed with call trace in guest

2020-04-20 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] Ping.. -Original Message- From: Jiawei Sent: Monday, April 20, 2020 7:34 PM To: amd-gfx@lists.freedesktop.org Cc: Gu, JiaWei (Will) Subject: [PATCH] SWDEV-231280 CentOS-AWS Guest driver reload 3 failed with call trace in guest

RE: [PATCH] SWDEV-227226 [AWS][Linux]ReallyQuick test failed, guest dmesg and host dmesg have error

2020-03-25 Thread Gu, JiaWei (Will)
[AMD Official Use Only - Internal Distribution Only] Ping.. -Original Message- From: Jiawei Sent: Wednesday, March 25, 2020 4:32 PM To: amd-gfx@lists.freedesktop.org Cc: Gu, JiaWei (Will) Subject: [PATCH] SWDEV-227226 [AWS][Linux]ReallyQuick test failed, guest dmesg and host