RE: [PATCH 18/22] drm/amd/pm: check negtive return for table entries

2024-05-13 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - AMD Internal Distribution Only] Hi Tim, -Original Message- From: Huang, Tim Sent: Monday, May 13, 2024 3:40 PM To: Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: RE

RE: [PATCH 02/22] drm/amdgpu: the warning dereferencing obj for nbio_v7_4

2024-05-13 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - AMD Internal Distribution Only] Hi Tim -Original Message- From: Huang, Tim Sent: Monday, May 13, 2024 12:23 PM To: Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian Subject: RE: [PATCH 02/22] drm/amdgpu: the warning

RE: [PATCH 12/22] drm/amd/pm: remove logically dead code

2024-05-12 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - AMD Internal Distribution Only] Ping ... -Original Message- From: amd-gfx On Behalf Of Jesse Zhang Sent: Friday, May 10, 2024 10:50 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Huang, Tim ; Zhang, Jesse(Jie) ; Zhang, Jesse

RE: [PATCH 18/22] drm/amd/pm: check negtive return for table entries

2024-05-12 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - AMD Internal Distribution Only] Ping ... -Original Message- From: Jesse Zhang Sent: Friday, May 10, 2024 10:51 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Huang, Tim ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: [PATCH

RE: [PATCH 17/22] drm/amdgpu: fix the warning bad bit shift operation for aca_error_type type

2024-05-12 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - AMD Internal Distribution Only] Ping ... -Original Message- From: amd-gfx On Behalf Of Jesse Zhang Sent: Friday, May 10, 2024 10:51 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Huang, Tim ; Zhang, Jesse(Jie) ; Zhang, Jesse

RE: [PATCH 02/22] drm/amdgpu: the warning dereferencing obj for nbio_v7_4

2024-05-12 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - AMD Internal Distribution Only] Ping ... -Original Message- From: Jesse Zhang Sent: Friday, May 10, 2024 10:50 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Huang, Tim ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: [PATCH

RE: [PATCH 19/22] drm/amdgpu: Fix the warning division or modulo by zero for the variable num_xcc_per_xcp

2024-05-10 Thread Zhang, Jesse(Jie)
lid mode a non-zero num_xcc_per_xcp is expected. To satisfy the warning-checker, before going to unlock use a proper 'ret' value also (otherwise it will look odd). [Zhang, Jesse(Jie)] Is that possible? When the initialization mode is AMDGPU_AUTO_COMPUTE_PARTITION_MODE, and get AMDGPU_UNKNOWN_C

RE: [PATCH 09/22] drm/amd/pm: check specific index for smu13

2024-05-10 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] HI Tim -Original Message- From: Huang, Tim Sent: Friday, May 10, 2024 2:37 PM To: Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: RE: [PATCH 09/22] drm/amd

RE: [PATCH] drm/amd/pm: fix the uninitialized scalar variable warning

2024-05-06 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Ping ... -Original Message- From: Jesse Zhang Sent: Tuesday, April 30, 2024 3:14 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Huang, Tim ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: [PATCH] drm/amd/pm: fix

RE: [PATCH 1/3 V2] drm/amd/pm: Fix negative array index read warning for pptable->DpmDescriptor

2024-04-29 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Ping ... -Original Message- From: Jesse Zhang Sent: Sunday, April 28, 2024 5:38 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Huang, Tim ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: [PATCH 1/3 V2] drm/amd/pm

RE: [PATCH 2/2] drm/amd/pm: fix uninitialized variable warning

2024-04-27 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Hi Tim -Original Message- From: Huang, Tim Sent: Sunday, April 28, 2024 12:34 PM To: Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: RE: [PATCH 2/2] drm/amd

RE: [PATCH 3/4] drm/amdgpu: Using uninitialized value new_state.jpeg when calling adev->vcn.pause_dpg_mode

2024-04-24 Thread Zhang, Jesse(Jie)
age- From: jesse.zh...@amd.com Sent: Wednesday, April 24, 2024 10:50 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Huang, Tim ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: [PATCH 3/4] drm/amdgpu: Using uninitialized value new_state.jpeg when calling a

RE: [PATCH] drm/amdgpu: fix some uninitialized variables

2024-04-23 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Hi Alex, -Original Message- From: Alex Deucher Sent: Wednesday, April 24, 2024 9:46 AM To: Zhang, Jesse(Jie) Cc: amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Koenig, Christian ; Huang, Tim Subject: Re: [PATCH] drm/amdgpu: fix some

RE: [PATCH] drm/amdkfd: fix shift out of bounds about gpu debug

2024-02-29 Thread Zhang, Jesse(Jie)
[Public] Hi Jon, -Original Message- From: Kim, Jonathan Sent: Thursday, February 29, 2024 11:58 PM To: Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Kuehling, Felix ; Zhang, Yifan ; Zhang, Jesse(Jie) ; Zhang, Jesse(Jie) Subject: RE: [PATCH] drm/amdkfd

RE: [PATCH V3] Revert "drm/amdgpu: remove vm sanity check from amdgpu_vm_make_compute" for Raven

2024-02-28 Thread Zhang, Jesse(Jie)
, Yifan ; Zhang, Jesse(Jie) Subject: [PATCH V3] Revert "drm/amdgpu: remove vm sanity check from amdgpu_vm_make_compute" for Raven fix the issue: "amdgpu: Failed to create process VM object". [Why]when amdgpu initialized, seq64 do mampping and update bo mapping in vm page t

RE: [PATCH] drm/amdgpu: Fix NULL pointer issue

2023-10-26 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Looks like Tao's patch already fixed it, [PATCH] drm/amdgpu: check RAS supported first in ras_reset_error_count [Zhang, Jesse(Jie)] I see it, Thanks for you reminder. Thanks, Candice -Original Message- From: amd-gfx On Behalf Of Jesse Zhang Sent

RE: [PATCH] drm/amdkfd: Fix shift out-of-bounds issue

2023-10-18 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] -Original Message- From: Chen, Xiaogang Sent: Thursday, October 19, 2023 12:57 AM To: Yang, Philip ; Zhang, Yifan ; Zhang, Jesse(Jie) ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Yang, Philip ; Kuehling, Felix Subject: Re: [PATCH] drm

RE: [PATCH] drm/amdgpu: disable GFXOFF and PG during compute for GFX9

2023-10-11 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] -Original Message- From: Alex Deucher Sent: Wednesday, October 11, 2023 10:20 PM To: Zhang, Jesse(Jie) Cc: amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Yang, Philip ; Kuehling, Felix ; Zhang, Yifan Subject: Re: [PATCH] drm/amdgpu: disable

RE: [PATCH] drm/amdkfd: Fix a race condition of vram buffer unref in svm code

2023-09-26 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Reviewed-by: Jesse Zhang -Original Message- From: Xiaogang.Chen Sent: Wednesday, September 27, 2023 11:00 AM To: amd-gfx@lists.freedesktop.org Cc: Yang, Philip ; Kuehling, Felix ; Zhang, Jesse(Jie) ; Sierra Guiza, Alejandro (Alex) ; Chen, Xiaogang

RE: [PATCH 28/29] drm/amdkfd: Refactor migrate init to support partition switch

2023-07-27 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Hi Michel, Could you try the patch again ? That work for me. https://patchwork.freedesktop.org/patch/549605/ Thanks Jesse From: amd-gfx On Behalf Of Zhang, Jesse(Jie) Sent: Thursday, July 27, 2023 2:11 PM To: Yang, Philip ; Michel Dänzer ; Yang, Philip Cc

RE: [PATCH 28/29] drm/amdkfd: Refactor migrate init to support partition switch

2023-07-27 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Hi Philip and Michel, The following issue can reproduce on my side. https://gitlab.freedesktop.org/drm/amd/-/issues/2659 when load gpu driver , disable iommu can workaround this issue. sudo modprobe amdgpu ignore_crat=1 Thanks Jesse From: amd-gfx On Behalf

[patch] drm/amdgpu: don't enable secure display on incompatible platforms

2023-05-17 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] drm/amdgpu: don't enable secure display on incompatible platforms [why] [drm] psp gfx command LOAD_TA(0x1) failed and response status is (0x7) [drm] psp gfx command INVOKE_CMD(0x3) failed and response status is (0x4) amdgpu :04:00.0: amdgpu:

drm/amdgpu: Differentiate between Raven2 and Raven/Picasso according to revision id.

2023-05-11 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] drm/amdgpu: Differentiate between Raven2 and Raven/Picasso according to revision id. Due to the raven2 and raven/picasso maybe have the same GC_HWIP version. So differentiate them by revision id. Signed-off-by: shanshengwang

drm/amdgpu/gfx9: change the reference clock for raven/raven2

2023-04-11 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Due to switch to golden tsc register to get clock counter for raven/ raven2. Chang the reference clock from 25MHZ to 100MHZ. Signed-off-by: Jesse Zhang jesse.zh...@amd.com diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c

drm/amdgpu/gfx9: switch to golden tsc registers for raven/raven2

2023-04-11 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Due to raven/raven2 maybe enable sclk slow down, they cannot get clock count by the RLC at the auto level of dpm performance. So switch to golden tsc register. Signed-off-by: Jesse Zhang mailto:jesse.zh...@amd.com>> Signed-off-by: Evan Quan

[PATCH]: add tmz support for GC 10.3.6

2023-02-16 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] drm/amdgpu: add tmz support for GC 10.3.6 this patch to add tmz support for GC 10.3.6 Signed-off-by: Jesse Zhang jesse.zh...@amd.com diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

[PATCH] drm/amdgpu: Renoir/Cezanne GPU power reporting issue

2023-01-12 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] drm/amdgpu: Correct the power calcultion for Renior/Cezanne. From smu firmware,the value of power is transferred in units of watts. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2321 Fixes: 137aac26a2ed ("drm/amdgpu/smu12: fix power

[PATCH] drm/amdgpu: try allowed domain when pin framebuffer failed

2022-12-06 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] drm/amdgpu: try allowed domain when pin framebuffer failed. [WHY] in some scenarios, the allocate memory often failed. such as do hot plug or play games. so we can try allowed domain, if the preferred domain cannot allocate memory.

RE: [PATCH] drm/amdkfd: correct the cache info for gfx1036

2022-10-10 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] correct the cache information for gfx1036 Signed-off-by: Yifan Zhang yifan1.zh...@amd.com Signed-off-by: jie1zhan jesse.zh...@amd.com Change-Id:

RE: [PATCH] drm/amdgpu: disable the debugger on gfx1036

2022-08-31 Thread Zhang, Jesse(Jie)
[Public] Disable the debugger on gfx1036. Signed-off-by: jie1zhan jesse.zh...@amd.com Reviewed-by: Jonathan Kim diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c index 5ab20f6dc291..89ebb3ee9ccc 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c

[PATCH] drm/amdgpu: disable the debugger on gfx1036

2022-08-31 Thread Zhang, Jesse(Jie)
[Public] Disable the debugger on gfx1036. Signed-off-by: jie1zhan jesse.zh...@amd.com Change-Id: If1d9608d508d1eb29e6c1de7ac7d1db93d1000b0 diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.c b/drivers/gpu/drm/amd/amdkfd/kfd_debug.c index 5ab20f6dc291..89ebb3ee9ccc 100644 ---

SYNCOBJ TIMELINE Test failed while running amdgpu_test

2022-06-28 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] Hi Alex and Mario We find the “Syncobj timeline” test failed on ubunt22(kernel version >= 5.15.34). Failed log: Suite: SYNCOBJ TIMELINE Tests Test: syncobj timeline test ...FAILED 1. sources/drm/tests/amdgpu/syncobj_tests.c:299 -

[PATCH] drm/amdkfd: Add fw version for 10.3.6

2022-06-06 Thread Zhang, Jesse(Jie)
[AMD Official Use Only - General] It will happed error on loading firmware. we need add firmware version information. [ 309.650118] [drm] kiq ring mec 2 pipe 1 q 0 [ 309.652595] [drm] VCN decode and encode initialized successfully(under DPG Mode). [ 309.653402] kfd kfd: amdgpu: skipped

RE: [PATCH ] drm/amdgpu: fix discovery ip failed

2022-04-12 Thread Zhang, Jesse(Jie)
[AMD Official Use Only] Thanks Lijo. Got it. -Original Message- From: Lazar, Lijo Sent: Tuesday, 12 April 2022 11:03 am To: Zhang, Jesse(Jie) ; Paul Menzel Cc: Deucher, Alexander ; Zhang, Yifan ; Huang, Ray ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH ] drm/amdgpu: fix

RE: [PATCH ] drm/amdgpu: fix discovery ip failed

2022-04-11 Thread Zhang, Jesse(Jie)
[AMD Official Use Only] Thanks Paul Menzel Attach the patch file . -Original Message- From: Paul Menzel Sent: Monday, 11 April 2022 11:21 pm To: Zhang, Jesse(Jie) Cc: amd-gfx@lists.freedesktop.org; Zhang, Yifan ; Huang, Ray Subject: Re: [PATCH ] drm/amdgpu: fix discovery ip failed

RE: [PATCH v2 ] drm/amdgpu: fix discovery ip failed

2022-04-11 Thread Zhang, Jesse(Jie)
[AMD Official Use Only] + Deucher, Alexander From: Zhang, Jesse(Jie) Sent: Monday, 11 April 2022 11:15 pm To: amd-gfx@lists.freedesktop.org Cc: Huang, Ray ; Zhang, Yifan Subject: [PATCH ] drm/amdgpu: fix discovery ip failed [AMD Official Use Only] Fix discovery ip failed, and the log

[PATCH ] drm/amdgpu: fix discovery ip failed

2022-04-11 Thread Zhang, Jesse(Jie)
[AMD Official Use Only] Fix discovery ip failed, and the log: 56.129549] [drm:amdgpu_discovery_validate_ip [amdgpu]] *ERROR* Unexpected number_instance (64) from ip discovery blob [ 56.130129] [drm:amdgpu_discovery_validate_ip [amdgpu]] *ERROR* Unexpected hw_id (45056) from ip discovery