RE: [PATCH 1/4] drm/amd/pm: Use separate metric table for APU

2023-12-25 Thread Ma, Le
[AMD Official Use Only - General] Series is Reviewed-by: Le Ma > -Original Message- > From: Kamal, Asad > Sent: Friday, December 22, 2023 11:27 PM > To: amd-gfx@lists.freedesktop.org; Lazar, Lijo > Cc: Zhang, Hawking ; Ma, Le ; > Zhang, Morris ; Oliveira, Daniel > ; Cheung, Donald ; >

Re: [PATCH] drm/amd/display: avoid stringop-overflow warnings for dp_decide_lane_settings()

2023-12-25 Thread Randy Dunlap
On 11/22/23 14:13, Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc prints a warning about a possible array overflow for a couple of > callers of dp_decide_lane_settings() after commit 1b56c90018f0 ("Makefile: > Enable -Wstringop-overflow globally"): > > drivers/gpu/drm/amd/amdgpu/../displa

[PATCH] drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init

2023-12-25 Thread Zhipeng Lu
The hwmgr->backend, (i.e. data) allocated by kzalloc is not freed in the error-handling paths of smu7_get_evv_voltages and smu7_update_edc_leakage_table. However, it did be freed in the error-handling of phm_initializa_dynamic_state_adjustment_rule_settings, by smu7_hwmgr_backend_fini. So the lack

[PATCH AUTOSEL 6.6 32/39] drm/amdkfd: svm range always mapped flag not working on APU

2023-12-25 Thread Sasha Levin
From: Philip Yang [ Upstream commit ebab8c3eb6a6515dc14cd93fc29dd287709da6d3 ] On gfx943 APU there is no VRAM and page migration, queue CWSR area, svm range with always mapped flag, is not mapped to GPU correctly. This works fine if retry fault on CWSR area can be recovered, but could cause dead

[PATCH AUTOSEL 6.6 33/39] drm/amd/display: Add case for dcn35 to support usb4 dmub hpd event

2023-12-25 Thread Sasha Levin
From: Wayne Lin [ Upstream commit 989824589f793120833bef13aa4e21f5a836a707 ] [Why & how] Refactor dc_is_dmub_outbox_supported() a bit and add case for dcn35 to register dmub outbox notification irq to handle usb4 relevant hpd event. Reviewed-by: Roman Li Reviewed-by: Jun Lei Signed-off-by: Wa

[PATCH AUTOSEL 6.6 34/39] drm/amd/display: get dprefclk ss info from integration info table

2023-12-25 Thread Sasha Levin
From: Charlene Liu [ Upstream commit 51e7b64690776a9981355428b537af9048308a95 ] [why & how] we have two SSC_En: we get ssc_info from dce_info for MPLL_SSC_EN. we used to call VBIOS cmdtbl's smu_info's SS persentage for DPRECLK SS info, is used for DP AUDIO and VBIOS' smu_info table was from sys

[PATCH AUTOSEL 6.1 20/24] drm/amd/display: get dprefclk ss info from integration info table

2023-12-25 Thread Sasha Levin
From: Charlene Liu [ Upstream commit 51e7b64690776a9981355428b537af9048308a95 ] [why & how] we have two SSC_En: we get ssc_info from dce_info for MPLL_SSC_EN. we used to call VBIOS cmdtbl's smu_info's SS persentage for DPRECLK SS info, is used for DP AUDIO and VBIOS' smu_info table was from sys