[bug report] drm/amd/display: Update MALL SS NumWays calculation

2022-10-05 Thread Dan Carpenter
Hello Alvin Lee, The patch 525a65c77db5: "drm/amd/display: Update MALL SS NumWays calculation" from Sep 14, 2022, leads to the following Smatch static checker warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_hwseq.c:282 dcn32_calculate_cab_allocation() warn: if

Re: [PATCH] drm/amd/display: disable psr whenever applicable

2022-10-05 Thread Leo Li
On 2022-10-03 11:26, S, Shirish wrote: Ping! Regards, Shirish S On 9/30/2022 7:17 PM, S, Shirish wrote: On 9/30/2022 6:59 PM, Harry Wentland wrote: +Leo On 9/30/22 06:27, Shirish S wrote: [Why] psr feature continues to be enabled for non capable links. Do you have more info on what

Re: [PATCH] Revert "drm/amdgpu: use dirty framebuffer helper"

2022-10-05 Thread Alex Deucher
Acked-by: Alex Deucher On Wed, Oct 5, 2022 at 11:47 AM Hamza Mahfooz wrote: > > This reverts commit 10b6e91bd1ee9cd237ffbc244ad9c25b5fd3e167. > > Unfortunately, this commit causes performance regressions on non-PSR > setups. So, just revert it until FB_DAMAGE_CLIPS support can be added. > >

[linux-next:master] BUILD REGRESSION 67ae4f7434cee86ee318d46fb10b8a9840ad2e81

2022-10-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 67ae4f7434cee86ee318d46fb10b8a9840ad2e81 Add linux-next specific files for 20221005 Error/Warning reports: https://lore.kernel.org/linux-mm/202209060229.dvuyxjbv-...@intel.com https

Re: [PATCH] drm/amdgpu/dm/mst: Fix incorrect usage of drm_dp_add_payload_part2()

2022-10-05 Thread Lyude Paul
On Tue, 2022-10-04 at 16:46 -0400, Rodrigo Siqueira Jordao wrote: > > On 2022-10-04 16:24, Lyude Paul wrote: > > Yikes, it appears somehow I totally made a mistake here. We're currently > > checking to see if drm_dp_add_payload_part2() returns a non-zero value to > > indicate success. That's

Re: [PATCH v2] drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case

2022-10-05 Thread Felix Kuehling
Am 2022-10-05 um 07:03 schrieb Danijel Slivka: CPU pagetable updates have issues with HDP flush as VF MMIO access protection is not allowing write during sriov runtime to mmBIF_BX_DEV0_EPF0_VF0_HDP_MEM_COHERENCY_FLUSH_CNTL Signed-off-by: Danijel Slivka ---

[PATCH] Revert "drm/amdgpu: use dirty framebuffer helper"

2022-10-05 Thread Hamza Mahfooz
This reverts commit 10b6e91bd1ee9cd237ffbc244ad9c25b5fd3e167. Unfortunately, this commit causes performance regressions on non-PSR setups. So, just revert it until FB_DAMAGE_CLIPS support can be added. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2189 Signed-off-by: Hamza Mahfooz ---

[PATCH v2] drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case

2022-10-05 Thread Danijel Slivka
CPU pagetable updates have issues with HDP flush as VF MMIO access protection is not allowing write during sriov runtime to mmBIF_BX_DEV0_EPF0_VF0_HDP_MEM_COHERENCY_FLUSH_CNTL Signed-off-by: Danijel Slivka --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 +++- 1 file changed, 3 insertions(+), 1