Re: Fwd: Kernel 6.6-rc1 fails to reboot or shutdown Ryzen 5825U

2023-09-18 Thread Bagas Sanjaya
On Thu, Sep 14, 2023 at 02:03:00PM +0700, Bagas Sanjaya wrote: > #regzbot introduced: v6.5..v6.6 > https://bugzilla.kernel.org/show_bug.cgi?id=217905 > #regzbot title: shutdown/reboot hang on Ryzen 5825U (stuck on amdgpu > initialization) > Fixing up commit range: #regzbot introduced: v6.5..v6

Re: [PATCH] drm/amdgpu: Increase IH soft ring size for GFX v9.4.3

2023-09-18 Thread Christian König
Am 15.09.23 um 21:34 schrieb Philip Yang: On GFX v9.4.3, application have random timeout failure when XNACK on, with dmesg log "amdgpu: IH soft ring buffer overflow 0x900, 0x900", means retry CAM has more than 256 entries. After increasing IH soft ring to 512 entries, the test passed repeatly, no

Re: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-18 Thread Christian König
Am 15.09.23 um 16:53 schrieb Felix Kuehling: On 2023-09-15 2:50, Christian König wrote: Am 15.09.23 um 04:52 schrieb YuBiao Wang: Directly use tbo's start address will miss the domain start offset. Need to use gpu_offset instead. Signed-off-by: YuBiao Wang Felix and/or Shashank should prob

Re: [PATCH v2] drm/amdgpu: always use legacy tlb flush on cyan_skilfish

2023-09-18 Thread Christian König
Am 15.09.23 um 16:49 schrieb Felix Kuehling: On 2023-09-15 6:19, Christian König wrote: Am 15.09.23 um 10:53 schrieb Lang Yu: On 09/14/ , Felix Kuehling wrote: On 2023-09-14 10:02, Christian König wrote: Do we still need to use legacy flush to emulate heavyweight flush if we don't use SVM? An

Re: [PATCH v6 7/9] drm/amdgpu: map wptr BO into GART

2023-09-18 Thread Christian König
Am 08.09.23 um 18:04 schrieb Shashank Sharma: To support oversubscription, MES FW expects WPTR BOs to be mapped into GART, before they are submitted to usermode queues. This patch adds a function for the same. V4: fix the wptr value before mapping lookup (Bas, Christian). V5: Addressed review co

Re: [PATCH][V2] drm/amd/display: Remove unwanted drm edid references

2023-09-18 Thread Alex Hung
On 2023-09-18 04:25, Jani Nikula wrote: On Fri, 15 Sep 2023, Alex Hung wrote: [WHY] edid_override and drm_edid_override_connector_update, according to drm documentation, should not be referred outside drm_edid. [HOW] Remove and replace them accordingly. This can tested by IGT's kms_hdmi_inj

Re: [PATCH][V2] drm/amd/display: Remove unwanted drm edid references

2023-09-18 Thread Jani Nikula
On Fri, 15 Sep 2023, Alex Hung wrote: > [WHY] > edid_override and drm_edid_override_connector_update, according to drm > documentation, should not be referred outside drm_edid. > > [HOW] > Remove and replace them accordingly. This can tested by IGT's > kms_hdmi_inject test. > > Signed-off-by: Alex

Re: [V11 1/8] ACPI: Add support for AMD ACPI based Wifi band RFI mitigation feature

2023-09-18 Thread Mario Limonciello
On 8/31/2023 01:20, Evan Quan wrote: Due to electrical and mechanical constraints in certain platform designs there may be likely interference of relatively high-powered harmonics of the (G-)DDR memory clocks with local radio module frequency bands used by Wifi 6/6e/7. To mitigate this, AMD has

[PATCH][V3] drm/amd/display: Remove unwanted drm edid references

2023-09-18 Thread Alex Hung
[WHY] edid_override and drm_edid_override_connector_update, according to drm documentation, should not be referred outside drm_edid. [HOW] Remove and replace them accordingly. This can tested by IGT's kms_hdmi_inject test. Signed-off-by: Alex Hung --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm

Re: [PATCH v2] drm/amdkfd: handle errors from svm validate and map

2023-09-18 Thread Philip Yang
On 2023-09-15 17:33, Chen, Xiaogang wrote: On 9/15/2023 4:20 PM, Philip Yang wrote: On 2023-09-15 17:06, Chen, Xiaogang wrote: On 9/15/2023 8:28 AM, Philip Yang wrote:

RE: [PATCH 00/28] DC Patches September 13, 2020

2023-09-18 Thread Wheeler, Daniel
[Public] Hi all, This week this patchset was tested on the following systems: * Lenovo ThinkBook T13s Gen4 with AMD Ryzen 5 6600U * MSI Gaming X Trio RX 6800 * Gigabyte Gaming OC RX 7900 XTX These systems were tested on the following display/connection types: * eD

Re: [PATCH] drm/amd/pm: Add reset option for fan_curve on smu13_0_0

2023-09-18 Thread Alex Deucher
On Mon, Sep 11, 2023 at 2:00 AM Ma Jun wrote: > > Add reset option for fan_curve. > User can use command "echo r > fan_cure" to reset the fan_curve > to boot value > > Signed-off-by: Ma Jun > --- > drivers/gpu/drm/amd/pm/amdgpu_pm.c| 8 > .../drm/amd/pm/swsmu/smu13/smu_v13_0_0_

Re: [PATCH v2] drm/amdgpu: update IP count INFO query

2023-09-18 Thread Alex Deucher
On Sat, Sep 16, 2023 at 11:01 PM Sathishkumar S wrote: > > update the query to return the number of functional > instances where there is more than an instance of the requested > type and for others continue to return one. > > v2: count must reflect the actual number of engines (Alex) > > Signed-o

Re: [PATCH] drm/amdkfd: Use gpu_offset for user queue's wptr

2023-09-18 Thread Felix Kuehling
On 2023-09-17 22:14, Wang, YuBiao wrote: [AMD Official Use Only - General] Hi Felix, Yeah, I believe that we were always set gart domain start as 0 before. Thanks for confirming that. The patch is Reviewed-by: Felix Kuehling Regards, Yubiao -Original Message- From: Kuehling, Fe

Re: [PATCH v2] drm/amdgpu: update IP count INFO query

2023-09-18 Thread Sundararaju, Sathishkumar
On 9/18/2023 7:57 PM, Alex Deucher wrote: On Sat, Sep 16, 2023 at 11:01 PM Sathishkumar S wrote: update the query to return the number of functional instances where there is more than an instance of the requested type and for others continue to return one. v2: count must reflect the actual n

[PATCH v3] drm/amdgpu: update IP count INFO query

2023-09-18 Thread Sathishkumar S
update the query to return the number of functional instances where there is more than an instance of the requested type and for others continue to return one. v2: count must reflect the actual number of engines (Alex) v3: fix wrong number of engines for vcn (Alex) Signed-off-by: Sathishkumar S

Re: [PATCH] drm/amdkfd: Remove svm range validated_once flag

2023-09-18 Thread Felix Kuehling
On 2023-09-15 16:18, Philip Yang wrote: The validated_once flag is not used after the prefault was removed, The prefault was needed to ensure validate all system memory pages at least once before mapping or migrating the range to GPU. Signed-off-by: Philip Yang Reviewed-by: Felix Kuehling

Re: [PATCH] drm/amdgpu: use error code EOPNOTSUPP instead of ENOTSUPPT

2023-09-18 Thread Felix Kuehling
On 2023-09-14 20:06, Yang Wang wrote: WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP $ find drivers/gpu/drm/amd -type f \ -exec sed -i 's/\-ENOTSUPP/\-EOPNOTSUPP/g' {} \; Signed-off-by: Yang Wang The kfd_chardev part of this patch is Reviewed-by: Felix Kuehling ---

Re: [V11 1/8] ACPI: Add support for AMD ACPI based Wifi band RFI mitigation feature

2023-09-18 Thread Rafael J. Wysocki
On Thu, Aug 31, 2023 at 8:21 AM Evan Quan wrote: > > Due to electrical and mechanical constraints in certain platform designs > there may be likely interference of relatively high-powered harmonics of > the (G-)DDR memory clocks with local radio module frequency bands used > by Wifi 6/6e/7. > > To

Re: [PATCH v3] drm/amdgpu: update IP count INFO query

2023-09-18 Thread Alex Deucher
On Mon, Sep 18, 2023 at 4:32 PM Sathishkumar S wrote: > > update the query to return the number of functional > instances where there is more than an instance of the requested > type and for others continue to return one. > > v2: count must reflect the actual number of engines (Alex) > v3: fix wro

Re: [PATCH] drm/amd/pm: Round Q10 format values in SMU v13.0.6

2023-09-18 Thread Kamal, Asad
[AMD Official Use Only - General] Reviewed-by: Asad Kamal mailto:asad.ka...@amd.com>> Thanks & Regards Asad From: amd-gfx on behalf of Lijo Lazar Sent: Friday, September 15, 2023 6:29:37 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Kamal, Asad

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

2023-09-18 Thread Christian König
Am 14.09.23 um 20:21 schrieb 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. Ah, somehow that patch arrived delayed in my inbox. Signed-off-by: Ale