RE: [RFC] drm/amdgpu: flush gpu tlb using sdma ring

2023-06-11 Thread Chen, Guchun
[Public] > -Original Message- > From: amd-gfx On Behalf Of > Shashank Sharma > Sent: Friday, June 9, 2023 6:03 PM > To: amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Somalapuram, Amaranath > ; Koenig, Christian > ; Sharma, Shashank > > Subject: [RFC] drm/amdgpu: flush gpu tlb usi

RE: [PATCH 2/2] drm/amdgpu: Enable gfx v11_0_3 ras if poison mode is supported

2023-06-11 Thread Zhou1, Tao
[AMD Official Use Only - General] The series is: Reviewed-by: Tao Zhou > -Original Message- > From: Zhang, Hawking > Sent: Sunday, June 11, 2023 6:46 PM > To: amd-gfx@lists.freedesktop.org; Yang, Stanley ; Li, > Candice ; Chai, Thomas ; > Zhou1, Tao > Cc: Zhang, Hawking > Subject: [P

RE: [PATCH 1/2] drm/amdgpu: Only create err_count sysfs when hw_op is supported

2023-06-11 Thread Zhou1, Tao
[AMD Official Use Only - General] > -Original Message- > From: Zhang, Hawking > Sent: Sunday, June 11, 2023 6:46 PM > To: amd-gfx@lists.freedesktop.org; Yang, Stanley ; Li, > Candice ; Chai, Thomas ; > Zhou1, Tao > Cc: Zhang, Hawking > Subject: [PATCH 1/2] drm/amdgpu: Only create err_co

Re: [PATCH 3/3] drm/amd/pm: enable more Pstates profile levels for SMU v13.0.5

2023-06-11 Thread Zhang, Yifan
[AMD Official Use Only - General] This series is: Reviewed-by: Yifan Zhang Best Regards, Yifan From: Huang, Tim Sent: Friday, June 9, 2023 6:44 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Zhang, Yifan ; Zhang, Jesse(Jie) ; Huang, Tim

[PATCH] drm/amd/display: Correct and remove excess function parameter names in kdoc

2023-06-11 Thread Srinivasan Shanmugam
Fixes the following gcc with W=1: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c:872: warning: Excess function parameter 'drr_pipe' description in 'subvp_drr_schedulable' drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c:1030: warning: Cannot understand * **

RE: [PATCH v2] drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.

2023-06-11 Thread Quan, Evan
[AMD Official Use Only - General] Reviewed-by: Evan Quan > -Original Message- > From: SHANMUGAM, SRINIVASAN > Sent: Friday, June 9, 2023 4:45 PM > To: Deucher, Alexander ; Koenig, Christian > ; Quan, Evan ; Gui, Jack > > Cc: amd-gfx@lists.freedesktop.org; SHANMUGAM, SRINIVASAN > > Sub

[PATCH v2] drm/amdgpu: Add error reporting code for the display core

2023-06-11 Thread Sui Jingfeng
[why] Because the drm/amdgpu drivers do not work with Navi 10 [RX 5700] series GPUs on non-x86 platforms, this patch helps find out where the drivers fail. After applying his patch, the following error message can be found: [drm:dc_create [amdgpu]] *ERROR* dc_construct: failed to create resource

Re: [PATCH 61/66] drm/amd/display: fix dpms_off issue when disabling bios mode

2023-06-11 Thread Mike Lothian
Hi This gives me a blank screen when booting on my Ryzen 9 5900HX Laptop 03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c3) 08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.

[PATCH 2/2] drm/amdgpu: Enable gfx v11_0_3 ras if poison mode is supported

2023-06-11 Thread Hawking Zhang
GFX v11_0_3 ras needs to be enabled if poison mode is supported. Driver doesn't need issue an feature enable call in gfx_v11_0 late init phase. The ras late init call is already centralized to amdgpu_ras_late_init. In addition, move poison_mode check out of common helper like amdgpu_ras_is_supporte

[PATCH 1/2] drm/amdgpu: Only create err_count sysfs when hw_op is supported

2023-06-11 Thread Hawking Zhang
Some IP blocks only support partial ras feature and don't have ras counter and/or ras error status register at all. Driver should not create err_count sysfs node for those IP blocks. Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 31 ++--- 1 file c