RE: [PATCH Review 1/1] drm/amdgpu: Fix potential null pointer derefernce

2023-09-27 Thread Zhou1, Tao
[AMD Official Use Only - General] Reviewed-by: Tao Zhou > -Original Message- > From: amd-gfx On Behalf Of > Stanley.Yang > Sent: Thursday, September 28, 2023 11:46 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yang, Stanley > Subject: [PATCH Review 1/1] drm/amdgpu: Fix potential null

RE: [PATCH Review 1/1] drm/amdgpu: Skip ring test during ras in recovery

2023-09-27 Thread Zhou1, Tao
[AMD Official Use Only - General] Reviewed-by: Tao Zhou > -Original Message- > From: amd-gfx On Behalf Of > Stanley.Yang > Sent: Thursday, September 28, 2023 11:42 AM > To: amd-gfx@lists.freedesktop.org > Cc: Yang, Stanley > Subject: [PATCH Review 1/1] drm/amdgpu: Skip ring test

[PATCH Review 1/1] drm/amdgpu: Fix potential null pointer derefernce

2023-09-27 Thread Stanley . Yang
The amdgpu_ras_get_context may return NULL if device not support ras feature, so add check before using. Signed-off-by: Stanley.Yang --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

[PATCH Review 1/1] drm/amdgpu: Skip ring test during ras in recovery

2023-09-27 Thread Stanley . Yang
This is workaround due to ring test failed during ras do gpu recovery for aqua vanjaram. Signed-off-by: Stanley.Yang --- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c

Re: [PATCH] drm/amd/pm: delete dead code

2023-09-27 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Sep 27, 2023 at 2:57 PM Wang, Yang(Kevin) wrote: > > [AMD Official Use Only - General] > > Thanks. > > Reviewed-by: Yang Wang > > Best Regards, > Kevin > > -Original Message- > From: Dan Carpenter > Sent: Wednesday, September 27, 2023 8:38 PM > To: Evan

[PATCH -next] drm/amd/display: clean up some inconsistent indentings

2023-09-27 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn35/dcn35_fpu.c:261 dcn35_update_bw_bounding_box_fpu() warn: inconsistent indenting Signed-off-by: Yang Li --- .../drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 144 +- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git

Re: [PATCH] drm/amd/pm: Disallow managing power profiles on SRIOV for gc11.0.3

2023-09-27 Thread Deucher, Alexander
[Public] Acked-by: Alex Deucher From: amd-gfx on behalf of Victor Zhao Sent: Monday, September 25, 2023 11:08 PM To: amd-gfx@lists.freedesktop.org Cc: Zhao, Victor Subject: [PATCH] drm/amd/pm: Disallow managing power profiles on SRIOV for gc11.0.3 disable

Re: [PATCH v3] drm/amdkfd: Use partial migrations in GPU page faults

2023-09-27 Thread Chen, Xiaogang
ping for review. On 9/20/2023 12:32 PM, Xiaogang.Chen wrote: From: Xiaogang Chen This patch implements partial migration in gpu page fault according to migration granularity(default 2MB) and not split svm range in cpu page fault handling. A svm range may include pages from both system ram and

Re: [PATCH v3 32/32] drm/amd/display: Add 3x4 CTM support for plane CTM

2023-09-27 Thread Harry Wentland
On 2023-09-25 15:49, Melissa Wen wrote: > From: Joshua Ashton > > Create drm_color_ctm_3x4 to support 3x4-dimension plane CTM matrix and > convert DRM CTM to DC CSC float matrix. > > v3: > - rename ctm2 to ctm_3x4 (Harry) > > Signed-off-by: Joshua Ashton Reviewed-by: Harry Wentland

Re: [PATCH v3 31/32] drm/amd/display: add plane CTM support

2023-09-27 Thread Harry Wentland
On 2023-09-25 15:49, Melissa Wen wrote: > Map the plane CTM driver-specific property to DC plane, instead of DC > stream. The remaining steps to program DPP block are already implemented > on DC shared-code. > > v3: > - fix comment about plane and CRTC CTMs priorities (Harry) > >

Re: [PATCH v3 28/32] drm/amd/display: allow newer DC hardware to use degamma ROM for PQ/HLG

2023-09-27 Thread Harry Wentland
On 2023-09-25 15:49, Melissa Wen wrote: > From: Joshua Ashton > > Need to funnel the color caps through to these functions so it can check > that the hardware is capable. > > v2: > - remove redundant color caps assignment on plane degamma map (Harry) > - pass color caps to degamma params > >

Re: [PATCH v3 23/32] drm/amd/display: add plane shaper LUT support

2023-09-27 Thread Harry Wentland
On 2023-09-25 15:49, Melissa Wen wrote: > Map DC shaper LUT to DM plane color management. Shaper LUT can be used > to delinearize and/or normalize the color space for computational > efficiency and achiving specific visual styles. If a plane degamma is > apply to linearize the color space, a

Re: [PATCH v3 09/32] drm/amd/display: add plane 3D LUT driver-specific properties

2023-09-27 Thread Harry Wentland
On 2023-09-25 15:49, Melissa Wen wrote: > Add 3D LUT property for plane color transformations using a 3D lookup > table. 3D LUT allows for highly accurate and complex color > transformations and is suitable to adjust the balance between color > channels. It's also more complex to manage and

[PATCH v2 1/2] drm/amd: Move `enum drm_amdgpu_ta_fw_type` to uapi

2023-09-27 Thread Mario Limonciello
Enum values used by the ioctl `AMDGPU_INFO_FW_VERSION`/`AMDGPU_INFO_FW_TA` are not exported so clients need to keep their own copy of the definitions while looking up firmware versions for the TA. Move this to uapi instead. Signed-off-by: Mario Limonciello -- v1->v2: * Rename while moving

[PATCH v2 2/2] drm/amd: Also export `AMDGPU_TA_FW_TYPE_PSP_ASD` for `AMDGPU_INFO_FW_TA`

2023-09-27 Thread Mario Limonciello
All other `drm_amdgpu_ta_fw_type` enums are exported for `AMDGPU_INFO_FW_TA`. ASD is available via `AMDGPU_INFO_FW_ASD` but for symmetry in other values export as part of `AMDGPU_INFO_FW_TA` as well. Signed-off-by: Mario Limonciello --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 5 + 1 file

Re: [PATCH] drm/amd: Move `enum drm_amdgpu_ta_fw_type` to uapi

2023-09-27 Thread Alex Deucher
On Wed, Sep 27, 2023 at 2:21 PM Mario Limonciello wrote: > > Enum values used by the ioctl `AMDGPU_INFO_FW_VERSION`/`AMDGPU_INFO_FW_TA` > are not exported so clients need to keep their own copy of the definitions > while looking up firmware versions for the TA. > > Move this to uapi instead. > >

Re: [PATCH] drm/amd/display: Check all enabled planes in dm_check_crtc_cursor

2023-09-27 Thread Hamza Mahfooz
On 9/12/23 06:22, Michel Dänzer wrote: From: Michel Dänzer It was only checking planes which had any state changes in the same commit. However, it also needs to check other enabled planes. Not doing this meant that a commit might spuriously "succeed", resulting in the cursor plane displaying

Re: [PATCH] drm/amdkfd: Wait vm update fence after retry fault recovered

2023-09-27 Thread Chen, Xiaogang
On 9/27/2023 9:29 AM, Philip Yang wrote: On 2023-09-26 16:43, Chen, Xiaogang wrote: On 9/22/2023 4:37 PM, Philip Yang wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Otherwise kfd flush tlb

[PATCH 1/2] drm/amdgpu/gmc: add a way to force a particular placement for GART

2023-09-27 Thread Alex Deucher
We normally place GART based on the location of VRAM and the available address space around that, but provide an option to force a particular location for hardware that needs it. v2: Switch to passing the placement via parameter Signed-off-by: Alex Deucher ---

[PATCH 2/2] drm/amdgpu/gmc11: set gart placement GC11

2023-09-27 Thread Alex Deucher
Needed to avoid a hardware issue. v2: force high for all GC11 parts for consistency (Alex) v3: rebase Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c

[PATCH] drm/amd: Move `enum drm_amdgpu_ta_fw_type` to uapi

2023-09-27 Thread Mario Limonciello
Enum values used by the ioctl `AMDGPU_INFO_FW_VERSION`/`AMDGPU_INFO_FW_TA` are not exported so clients need to keep their own copy of the definitions while looking up firmware versions for the TA. Move this to uapi instead. Signed-off-by: Mario Limonciello ---

Re: [PATCH 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-27 Thread Shashank Sharma
On 27/09/2023 19:27, Felix Kuehling wrote: [+Mukul] On 2023-09-27 12:16, Arvind Yadav wrote: This patch is to adjust the absolute doorbell offset against the doorbell id considering the doorbell size of 32/64 bit. Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Shashank Sharma

Re: [PATCH 2/2] drm/amd/display: Fix null pointer dereference in error message

2023-09-27 Thread Harry Wentland
On 2023-09-27 10:07, Harry Wentland wrote: > > > On 2023-09-27 01:23, Christian König wrote: >> Am 26.09.23 um 15:09 schrieb Harry Wentland: >>> >>> On 2023-09-26 01:56, Cong Liu wrote: This patch fixes a null pointer dereference in the error message that is printed when the Display

Re: [PATCH 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-27 Thread Felix Kuehling
[+Mukul] On 2023-09-27 12:16, Arvind Yadav wrote: This patch is to adjust the absolute doorbell offset against the doorbell id considering the doorbell size of 32/64 bit. Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Shashank Sharma Signed-off-by: Arvind Yadav ---

[linux-next:master] BUILD REGRESSION 18030226a48de1fbfabf4ae16aaa2695a484254f

2023-09-27 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 18030226a48de1fbfabf4ae16aaa2695a484254f Add linux-next specific files for 20230927 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202308282000.2xnh0k6d-...@intel.com https

Re: [PATCH 2/2] drm/amdkfd: drop struct kfd_cu_info

2023-09-27 Thread Felix Kuehling
On 2023-09-26 12:39, Alex Deucher wrote: I think this was an abstraction back from when kfd supported both radeon and amdgpu. Since we just support amdgpu now, there is no more need for this and we can use the amdgpu structures directly. This also avoids having the kfd_cu_info structures on

Re: [PATCH 1/2] drm/amdkfd: reduce stack size in kfd_topology_add_device()

2023-09-27 Thread Felix Kuehling
On 2023-09-26 12:39, Alex Deucher wrote: kfd_topology.c:2082:1: warning: the frame size of 1440 bytes is larger than 1024 bytes Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2866 Cc: Arnd Bergmann Signed-off-by: Alex Deucher Reviewed-by: Felix Kuehling ---

Re: [PATCH 2/2] drm/amdkfd: drop struct kfd_cu_info

2023-09-27 Thread Felix Kuehling
On 2023-09-26 15:29, Arnd Bergmann wrote: On Tue, Sep 26, 2023, at 20:47, Deucher, Alexander wrote: From: Arnd Bergmann Subject: Re: [PATCH 2/2] drm/amdkfd: drop struct kfd_cu_info On Tue, Sep 26, 2023, at 18:39, Alex Deucher wrote: I think this was an abstraction back from when kfd

Re: [PATCH 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-27 Thread Yadav, Arvind
Adding felix.kuehl...@amd.com for review. Thanks ~Arvind On 9/27/2023 9:46 PM, Arvind Yadav wrote: This patch is to adjust the absolute doorbell offset against the doorbell id considering the doorbell size of 32/64 bit. Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Shashank Sharma

Re: [PATCH 0/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-27 Thread Yadav, Arvind
Adding felix.kuehl...@amd.com for review. Thanks ~Arvind On 9/27/2023 9:46 PM, Arvind Yadav wrote: On older chips, the absolute doorbell offset within the doorbell page is based on the queue ID. KFD is using queue ID and doorbell size to get an absolute doorbell offset in userspace. This

[PATCH 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-27 Thread Arvind Yadav
This patch is to adjust the absolute doorbell offset against the doorbell id considering the doorbell size of 32/64 bit. Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Shashank Sharma Signed-off-by: Arvind Yadav --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 11 ++-

[PATCH 0/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-27 Thread Arvind Yadav
On older chips, the absolute doorbell offset within the doorbell page is based on the queue ID. KFD is using queue ID and doorbell size to get an absolute doorbell offset in userspace. This patch is to adjust the absolute doorbell offset against the doorbell id considering the doorbell size of

Re: [PATCH 1/2] drm/amdgpu/gmc: add a way to force a particular placement for GART

2023-09-27 Thread Alex Deucher
On Wed, Sep 27, 2023 at 1:37 AM Christian König wrote: > > I'm still not happy with moving the GART fixed to the end. We abandoned > this for good reasons. We didn't abandon it, there is still code which decides where to put the gart based on the relative sizes of the address space before and

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

2023-09-27 Thread Chen, Xiaogang
On 9/27/2023 9:19 AM, Eric Huang wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. On 2023-09-26 23:00, Xiaogang.Chen wrote: From: Xiaogang Chen prange->svm_bo unref can happen in both mmu callback

Re: [PATCH] drm/amdkfd: Wait vm update fence after retry fault recovered

2023-09-27 Thread Philip Yang
On 2023-09-26 16:43, Chen, Xiaogang wrote: On 9/22/2023 4:37 PM, Philip Yang wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

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

2023-09-27 Thread Eric Huang
On 2023-09-26 23:00, Xiaogang.Chen wrote: From: Xiaogang Chen prange->svm_bo unref can happen in both mmu callback and a callback after migrate to system ram. Both are async call in different tasks. Sync svm_bo unref operation to avoid random "use-after-free". Signed-off-by: Xiaogang.Chen

RE: [PATCH 1/2] drm/amdgpu/gmc: add a way to force a particular placement for GART

2023-09-27 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] Series is Reviewed-by: Yang Wang Best Regards, Kevin -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Wednesday, September 27, 2023 1:30 AM To: Deucher, Alexander Cc: amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/2]

RE: [PATCH] drm/amd/pm: delete dead code

2023-09-27 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] Thanks. Reviewed-by: Yang Wang Best Regards, Kevin -Original Message- From: Dan Carpenter Sent: Wednesday, September 27, 2023 8:38 PM To: Evan Quan ; Wang, Yang(Kevin) Cc: Deucher, Alexander ; Koenig, Christian ; Pan, Xinhui ; David Airlie ;

Re: [PATCH 2/2] drm/amd/display: Fix null pointer dereference in error message

2023-09-27 Thread Harry Wentland
On 2023-09-27 01:23, Christian König wrote: > Am 26.09.23 um 15:09 schrieb Harry Wentland: >> >> On 2023-09-26 01:56, Cong Liu wrote: >>> This patch fixes a null pointer dereference in the error message that is >>> printed when the Display Core (DC) fails to initialize. The original >>> message

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

2023-09-27 Thread Philip Yang
On 2023-09-26 23:00, Xiaogang.Chen wrote: From: Xiaogang Chen prange->svm_bo unref can happen in both mmu callback and a callback after migrate to system ram. Both are async call in different tasks. Sync svm_bo unref operation to avoid random

Re: [PATCH 15/15] platform/x86/amd/pmf: Add PMF-AMDSFH interface for ALS

2023-09-27 Thread Shyam Sundar S K
Hi Ilpo, On 9/27/2023 7:03 PM, Ilpo Järvinen wrote: > On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > >> From: Basavaraj Natikar >> >> AMDSFH has information about the Ambient light via the Ambient >> Light Sensor (ALS) which is part of the AMD sensor fusion hub. >> Add PMF and AMDSFH interface

Re: [PATCH 13/15] platform/x86/amd/pmf: Add PMF-AMDGPU set interface

2023-09-27 Thread Shyam Sundar S K
Hi Hans, On 9/27/2023 6:34 PM, Hans de Goede wrote: > HI, > > On 9/26/23 15:17, Christian König wrote: >> Am 26.09.23 um 14:56 schrieb Hans de Goede: >>> Hi, >>> >>> On 9/26/23 13:24, Shyam Sundar S K wrote: Hi Hans, On 9/26/2023 4:05 PM, Hans de Goede wrote: > Hi, > >

Re: [PATCH 15/15] platform/x86/amd/pmf: Add PMF-AMDSFH interface for ALS

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > From: Basavaraj Natikar > > AMDSFH has information about the Ambient light via the Ambient > Light Sensor (ALS) which is part of the AMD sensor fusion hub. > Add PMF and AMDSFH interface to get this information. > > Co-developed-by: Shyam Sundar S

Re: [PATCH 14/15] platform/x86/amd/pmf: Add PMF-AMDSFH interface for HPD

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > From: Basavaraj Natikar > > AMDSFH has information about the User presence information via the Human > Presence Detection (HPD) sensor which is part of the AMD sensor fusion hub. > Add PMF and AMDSFH interface to get this information. > >

Re: [PATCH 13/15] platform/x86/amd/pmf: Add PMF-AMDGPU set interface

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > For the Smart PC Solution to fully work, it has to enact to the actions > coming from TA. Add the initial code path for set interface to AMDGPU. > > Co-developed-by: Mario Limonciello > Signed-off-by: Mario Limonciello > Signed-off-by: Shyam

RE: [PATCH] drm/amd/display: enable S/G display for for recent APUs by default

2023-09-27 Thread Zhang, Yifan
[AMD Official Use Only - General] Good idea ! Thanks. -Original Message- From: Alex Deucher Sent: Wednesday, September 27, 2023 9:13 PM To: Koenig, Christian Cc: Zhang, Yifan ; amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Wentland, Harry Subject: Re: [PATCH] drm/amd/display:

Re: [PATCH 13/15] platform/x86/amd/pmf: Add PMF-AMDGPU set interface

2023-09-27 Thread Hans de Goede
HI, On 9/26/23 15:17, Christian König wrote: > Am 26.09.23 um 14:56 schrieb Hans de Goede: >> Hi, >> >> On 9/26/23 13:24, Shyam Sundar S K wrote: >>> Hi Hans, >>> >>> On 9/26/2023 4:05 PM, Hans de Goede wrote: Hi, On 9/22/23 19:50, Shyam Sundar S K wrote: > For the Smart PC

Re: [PATCH 12/15] platform/x86/amd/pmf: Add PMF-AMDGPU get interface

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > In order to provide GPU inputs to TA for the Smart PC solution to work, we > need to have interface between the PMF driver and the AMDGPU driver. > > Add the initial code path for get interface from AMDGPU. > > Co-developed-by: Mario Limonciello >

Re: [PATCH] drm/amd/display: enable S/G display for for recent APUs by default

2023-09-27 Thread Alex Deucher
On Wed, Sep 27, 2023 at 8:26 AM Christian König wrote: > > Am 27.09.23 um 07:41 schrieb Yifan Zhang: > > With S/G display becomes stable, enable S/G display for recent APUs > > by default rather than white list. > > > > Signed-off-by: Yifan Zhang > > --- > >

Re: [PATCH 10/15] platform/x86/amd/pmf: Add capability to sideload of policy binary

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > A policy binary is OS agnostic, and the same policies are expected to work > across the OSes. At times it becomes difficult to debug when the policies > inside the policy binaries starts to misbehave. Add a way to sideload such > policies

Re: [PATCH 07/15] platform/x86/amd/pmf: Add support update p3t limit

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > P3T (Peak Package Power Limit) is a metric within the SMU controller > that can influence the power limits. Add support from the driver > to update P3T limits accordingly. > > Reviewed-by: Mario Limonciello > Signed-off-by: Shyam Sundar S K > ---

[PATCH] drm/amd/pm: delete dead code

2023-09-27 Thread Dan Carpenter
"ret" was checked earlier inside the loop, so we know it is zero here. No need to check a second time. Signed-off-by: Dan Carpenter --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c

Re: [PATCH 08/15] platform/x86/amd/pmf: Add support to update system state

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > PMF driver based on the output actions from the TA can request to update > the system states like entering s0i3, lock screen etc. by generating > an uevent. Based on the udev rules set in the userspace the event id > matching the uevent shall get

Re: [PATCH 09/15] platform/x86/amd/pmf: Add facility to dump TA inputs

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > PMF driver sends constant inputs to TA which its gets via the other > subsystems in the kernel. To debug certain TA issues knowing what inputs > being sent to TA becomes critical. Add debug facility to the driver which > can isolate Smart PC and TA

Re: [PATCH 04/15] platform/x86/amd/pmf: Add support for PMF Policy Binary

2023-09-27 Thread Ilpo Järvinen
On Fri, 22 Sep 2023, Shyam Sundar S K wrote: > PMF Policy binary is a encrypted and signed binary that will be part > of the BIOS. PMF driver via the ACPI interface checks the existence > of Smart PC bit. If the advertised bit is found, PMF driver walks > the acpi namespace to find out the policy

RE: [PATCH 2/2] drm/amdgpu: update retry times for psp vmbx wait

2023-09-27 Thread Zhang, Hawking
[AMD Official Use Only - General] Series is Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Tao Zhou Sent: Wednesday, September 27, 2023 18:20 To: amd-gfx@lists.freedesktop.org Cc: Zhou1, Tao Subject: [PATCH 2/2] drm/amdgpu: update retry times

Re: [PATCH] drm/amd/display: enable S/G display for for recent APUs by default

2023-09-27 Thread Christian König
Am 27.09.23 um 07:41 schrieb Yifan Zhang: With S/G display becomes stable, enable S/G display for recent APUs by default rather than white list. Signed-off-by: Yifan Zhang --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 43 +-- 1 file changed, 10 insertions(+), 33

RE: [PATCH] drm/amd/pm: Disallow managing power profiles on SRIOV for gc11.0.3

2023-09-27 Thread Zhao, Victor
[AMD Official Use Only - General] Ping on this patch. Please help review. Thanks, Victor -Original Message- From: Victor Zhao Sent: Tuesday, September 26, 2023 11:09 AM To: amd-gfx@lists.freedesktop.org Cc: Zhao, Victor Subject: [PATCH] drm/amd/pm: Disallow managing power profiles on

[PATCH 1/2] drm/amdgpu: exit directly if gpu reset fails

2023-09-27 Thread Tao Zhou
No need to perform the full reset operation in case of gpu reset failure. Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

[PATCH 2/2] drm/amdgpu: update retry times for psp vmbx wait

2023-09-27 Thread Tao Zhou
Increase the retry loops and replace the constant number with macro. Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c index

Re: [PATCH 2/2] drm/amd/display: Fix null pointer dereference in error message

2023-09-27 Thread Cong Liu
On 2023-09-26 01:56, Cong Liu wrote: This patch fixes a null pointer dereference in the error message that is printed when the Display Core (DC) fails to initialize. The original message includes the DC version number, which is undefined if the DC is not initialized. Fixes: 9788d087caff