Re: [PATCH 5/6] drm/amdgpu: Auto-validate DMABuf imports in compute VMs

2023-12-05 Thread kernel test robot
1-20231203 (https://download.01.org/0day-ci/archive/20231205/202312051955.xacucivn-...@intel.com/config) compiler: powerpc-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312051955.xacucivn-...@intel.com/reproduce) If you fix the

Re: [PATCH 5/6] drm/amdgpu: Auto-validate DMABuf imports in compute VMs

2023-12-05 Thread kernel test robot
1-20231203 (https://download.01.org/0day-ci/archive/20231205/202312052136.jfzepgbw-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312052136.jfzepgbw-...@intel.com/reproduce) If you fix the

amdgpu header files (was: Re: [git pull] drm for 6.7-rc1)

2023-12-05 Thread Geert Uytterhoeven
On Tue, 31 Oct 2023, Dave Airlie wrote: This is the main drm pull request for 6.7. Highlights: - AMD adds some more upcoming HW platforms Alex Deucher (24): drm/amdgpu: update to the latest GC 11.5 headers Candice Li (8): drm/amd: Add umc v12_0_0 ip headers Lang Yu (57):

Re: regression/bisected/6.7rc1: Instead of desktop I see a horizontal flashing bar with a picture of the desktop background on white screen

2023-12-05 Thread Linux regression tracking (Thorsten Leemhuis)
On 27.11.23 19:11, Alex Deucher wrote: > On Wed, Nov 15, 2023 at 1:52 PM Lee, Alvin wrote: >> >> [AMD Official Use Only - General] >> >> This change has a DMCUB dependency - are you able to update your DMCUB >> version as well? >> >> This version mismatch issue is something I'll need to fix in dr

Re: [PATCH v2 2/8] drm/amdgpu: Do not include

2023-12-05 Thread Harry Wentland
On 2023-12-04 04:07, Thomas Zimmermann wrote: > Remove unnecessary include statements for . > The file contains helpers for non-atomic code and should not be > required by most drivers. No functional changes. > > Signed-off-by: Thomas Zimmermann Reviewed-by: Harry Wentland Harry > --- > driv

Re: [PATCH v2] drm/amdkfd: Use partial hmm page walk during buffer validation in SVM

2023-12-05 Thread Philip Yang
On 2023-12-04 15:23, Xiaogang.Chen wrote: From: Xiaogang Chen v2: -not need calculate vram page number for new registered svm range, only do it for split vram pages. SVM uses hmm page walk to valid buffer before map to gpu vm. After have partial migration/

[PATCH] Revert "drm/amd/display: Adjust the MST resume flow"

2023-12-05 Thread Mario Limonciello
This reverts commit ec5fa9fcdeca69edf7dab5ca3b2e0ceb1c08fe9a. Reports are that this causes problems with external monitors after wake up from suspend, which is something it was directly supposed to help. Cc: Linux Regressions Cc: sta...@vger.kernel.org Cc: Daniel Wheeler Cc: Wayne Lin Reported

[PATCH] drm/amd/display: fix hw rotated modes when PSR-SU is enabled

2023-12-05 Thread Hamza Mahfooz
We currently don't support dirty rectangles on hardware rotated modes. So, if a user is using hardware rotated modes with PSR-SU enabled, use PSR-SU FFU for all rotated planes (including cursor planes). Cc: sta...@vger.kernel.org Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2952 Fixes: 30

Re: [PATCH] drm/amd/display: fix hw rotated modes when PSR-SU is enabled

2023-12-05 Thread Mario Limonciello
On 12/5/2023 14:17, Hamza Mahfooz wrote: We currently don't support dirty rectangles on hardware rotated modes. So, if a user is using hardware rotated modes with PSR-SU enabled, use PSR-SU FFU for all rotated planes (including cursor planes). Here is the email for the original reporter to giv

[PATCH] drm/amdkfd: Fix sparse __rcu annotation warnings

2023-12-05 Thread Felix Kuehling
Properly mark kfd_process->ef as __rcu and consistently access it with rcu_dereference_protected. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202312052245.yfpbsgnh-...@intel.com/ Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h

Re: [PATCH] drm/amdgpu: fix buffer funcs setting order on suspend

2023-12-05 Thread Luben Tuikov
On 2023-12-04 09:13, Alex Deucher wrote: > We need to disable this after the last eviction > call, but before we disable the SDMA IP. > > Fixes: b70438004a14 ("drm/amdgpu: move buffer funcs setting up a level") > Link: https://lore.kernel.org/r/87edgv4x3i@vps.thesusis.net > Signed-off-by: Alex

Re: [PATCH 2/2] drm/amdgpu: Auto-validate DMABuf imports in compute VMs

2023-12-05 Thread Felix Kuehling
On 2023-12-04 03:40, Christian König wrote:   @@ -416,6 +423,28 @@ int amdgpu_vm_validate_pt_bos(struct amdgpu_device *adev, struct amdgpu_vm *vm,   }   spin_lock(&vm->status_lock);   } +    while (ticket && !list_empty(&vm->evicted_user)) { +    bo_base = list_first_en

[linux-next:master] BUILD REGRESSION 0f5f12ac05f36f117e793656c3f560625e927f1b

2023-12-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 0f5f12ac05f36f117e793656c3f560625e927f1b Add linux-next specific files for 20231205 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202312051416.yirwcymp-...@intel.com https

Re: [PATCH v14 4/9] wifi: mac80211: Add support for WBRF features

2023-12-05 Thread kernel test robot
Hi Ma, kernel test robot noticed the following build errors: [auto build test ERROR on v6.7-rc1] [also build test ERROR on next-20231205] [cannot apply to drm-misc/drm-misc-next wireless-next/main wireless/main linus/master v6.7-rc3 v6.7-rc2] [If your patch is applied to the wrong git tree

Re: [PATCH v14 4/9] wifi: mac80211: Add support for WBRF features

2023-12-05 Thread kernel test robot
Hi Ma, kernel test robot noticed the following build errors: [auto build test ERROR on v6.7-rc1] [also build test ERROR on next-20231205] [cannot apply to drm-misc/drm-misc-next wireless-next/main wireless/main linus/master v6.7-rc3 v6.7-rc2] [If your patch is applied to the wrong git tree

[PATCH v15 0/9] Enable Wifi RFI interference mitigation feature support

2023-12-05 Thread Ma Jun
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 possible RFI interference we introuduced WBRF(Wifi Ban

[PATCH v15 1/9] Documentation/driver-api: Add document about WBRF mechanism

2023-12-05 Thread Ma Jun
Add documentation about AMD's Wifi band RFI mitigation (WBRF) mechanism explaining the theory and how it is used. Signed-off-by: Ma Jun Reviewed-by: Hans de Goede Reviewed-by: Mario Limonciello --- Documentation/driver-api/wbrf.rst | 78 +++ 1 file changed, 78 inser

[PATCH v15 2/9] platform/x86/amd: Add support for AMD ACPI based Wifi band RFI mitigation feature

2023-12-05 Thread Ma Jun
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 introduced a mechanism that devices can

[PATCH v15 6/9] drm/amd/pm: setup the framework to support Wifi RFI mitigation feature

2023-12-05 Thread Ma Jun
From: Evan Quan With WBRF feature supported, as a driver responding to the frequencies, amdgpu driver is able to do shadow pstate switching to mitigate possible interference(between its (G-)DDR memory clocks and local radio module frequency bands used by Wifi 6/6e/7). Signed-off-by: Evan Quan R

[PATCH v15 5/9] drm/amd/pm: update driver_if and ppsmc headers for coming wbrf feature

2023-12-05 Thread Ma Jun
From: Evan Quan Add those data structures to support Wifi RFI mitigation feature. Signed-off-by: Evan Quan Reviewed-by: Mario Limonciello Signed-off-by: Ma Jun v13: - Move some struct variables to amdgpu_smu.h to reduce duplicate code --- drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h

[PATCH v15 4/9] wifi: mac80211: Add support for WBRF features

2023-12-05 Thread Ma Jun
From: Evan Quan To support the WBRF mechanism, Wifi adapters utilized in the system must register the frequencies in use (or unregister those frequencies no longer used) via the dedicated calls. So that, other drivers responding to the frequencies can take proper actions to mitigate possible inte

[PATCH v15 7/9] drm/amd/pm: add flood detection for wbrf events

2023-12-05 Thread Ma Jun
From: Evan Quan To protect PMFW from being overloaded. Signed-off-by: Evan Quan Reviewed-by: Mario Limonciello Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 29 +++ drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 + 2 files changed, 30 inser

[PATCH v15 3/9] cfg80211: expose nl80211_chan_width_to_mhz for wide sharing

2023-12-05 Thread Ma Jun
From: Evan Quan The newly added WBRF feature needs this interface for channel width calculation. Signed-off-by: Evan Quan Signed-off-by: Ma Jun Reviewed-by: Mario Limonciello -- v8->v9: - correct typo(Mhz -> MHz) (Johnson) v13: - Fix the format issue (IIpo Jarvinen) --- include/net/cfg80

[PATCH v15 8/9] drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.0

2023-12-05 Thread Ma Jun
Fulfill the SMU13.0.0 support for Wifi RFI mitigation feature. Co-developed-by: Evan Quan Signed-off-by: Evan Quan Reviewed-by: Mario Limonciello Signed-off-by: Ma Jun -- v10->v11: - downgrade the prompt level on message failure(Lijo) v13: - Fix the format issue (IIpo Jarvinen) - Move funct

[PATCH v15 9/9] drm/amd/pm: enable Wifi RFI mitigation feature support for SMU13.0.7

2023-12-05 Thread Ma Jun
From: Evan Quan Fulfill the SMU13.0.7 support for Wifi RFI mitigation feature. Signed-off-by: Evan Quan Reviewed-by: Mario Limonciello Signed-off-by: Ma Jun -- v10->v11: - downgrade the prompt level on message failure(Lijo) v13: - Fix the format issue (IIpo Jarvinen) - Remove duplicate co