[linux-next:master] BUILD REGRESSION 31bd35b66249699343d2416658f57e97314a433a

2023-04-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 31bd35b66249699343d2416658f57e97314a433a Add linux-next specific files for 20230403 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202303082135.njdx1bij-...@intel.com https

Re: [RFC PATCH 0/4] uapi, drm: Add and implement RLIMIT_GPUPRIO

2023-04-03 Thread Joshua Ashton
On 4/3/23 20:54, Christian König wrote: Am 03.04.23 um 21:40 schrieb Joshua Ashton: Hello all! I would like to propose a new API for allowing processes to control the priority of GPU queues similar to RLIMIT_NICE/RLIMIT_RTPRIO. The main reason for this is for compositors such as Gamescope a

[PATCH] drm/amdkfd: On GFX11 check PCIe atomics support and set CP_HQD_HQ_STATUS0[29]

2023-04-03 Thread Sreekant Somasekharan
On GFX11, CP_HQD_HQ_STATUS0[29] bit will be used by CPFW to acknowledge whether PCIe atomics are supported. The default value of this bit is set to 0. Driver will check whether PCIe atomics are supported and set the bit to 1 if supported. This will force CPFW to use real atomic ops. If the bit is n

Re: [RFC PATCH 0/4] uapi, drm: Add and implement RLIMIT_GPUPRIO

2023-04-03 Thread Christian König
Am 03.04.23 um 21:40 schrieb Joshua Ashton: Hello all! I would like to propose a new API for allowing processes to control the priority of GPU queues similar to RLIMIT_NICE/RLIMIT_RTPRIO. The main reason for this is for compositors such as Gamescope and SteamVR vrcompositor to be able to create

Re: [RFC PATCH 1/4] drm/scheduler: Add DRM_SCHED_PRIORITY_VERY_HIGH

2023-04-03 Thread Christian König
Am 03.04.23 um 21:40 schrieb Joshua Ashton: This allows AMDGPU scheduler priority above normal to be expressed using the DRM_SCHED_PRIORITY enum. That was rejected before, I just don't remember why exactly. Need to dig that up again. Christian. Signed-off-by: Joshua Ashton --- drivers/

[RFC PATCH 4/4] drm/amd/amdgpu: Check RLIMIT_GPUPRIO in priority permissions

2023-04-03 Thread Joshua Ashton
Add support for the new RLIMIT_GPUPRIO when doing the priority checks creating an amdgpu_ctx. Signed-off-by: Joshua Ashton --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/driver

[RFC PATCH 3/4] uapi: Add RLIMIT_GPUPRIO

2023-04-03 Thread Joshua Ashton
Introduce a new RLIMIT that allows the user to set a runtime limit on the GPU scheduler priority for tasks. This avoids the need for leased compositors such as SteamVR's vrcompositor to be launched via a setcap'ed executable with CAP_SYS_NICE. This is required for SteamVR as it doesn't run as a D

[RFC PATCH 1/4] drm/scheduler: Add DRM_SCHED_PRIORITY_VERY_HIGH

2023-04-03 Thread Joshua Ashton
This allows AMDGPU scheduler priority above normal to be expressed using the DRM_SCHED_PRIORITY enum. Signed-off-by: Joshua Ashton --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 2 +- drivers/gpu/drm/msm/msm_gpu.h | 2 +- include/drm/gpu_scheduler.h | 1 + 3 files changed, 3

[RFC PATCH 2/4] drm/scheduler: Split out drm_sched_priority to own file

2023-04-03 Thread Joshua Ashton
This allows it to be used by other parts of the codebase without fear of a circular include dependency being introduced. Signed-off-by: Joshua Ashton --- include/drm/drm_sched_priority.h | 41 include/drm/gpu_scheduler.h | 15 +--- 2 files changed, 4

[RFC PATCH 0/4] uapi, drm: Add and implement RLIMIT_GPUPRIO

2023-04-03 Thread Joshua Ashton
Hello all! I would like to propose a new API for allowing processes to control the priority of GPU queues similar to RLIMIT_NICE/RLIMIT_RTPRIO. The main reason for this is for compositors such as Gamescope and SteamVR vrcompositor to be able to create realtime async compute queues on AMD without

[PATCH] drm/amdkfd: Fix dmabuf's redundant eviction when unmapping

2023-04-03 Thread Eric Huang
dmabuf is allocated/mapped as GTT domain, when dma-unmapping dmabuf changing placement to CPU will trigger memory eviction after calling ttm_bo_validate, and the eviction will cause performance drop. Keeping the correct domain will solve the issue. Signed-off-by: Eric Huang --- drivers/gpu/drm/a

Re: [PATCH] drm/amdgpu: simplify amdgpu_ras_eeprom.c

2023-04-03 Thread Luben Tuikov
This patch is, Reviewed-by: Luben Tuikov Regards, Luben On 2023-03-31 15:54, Alex Deucher wrote: > All chips that support RAS also support IP discovery, so > use the IP versions rather than a mix of IP versions and > asic types. Checking the validity of the atom_ctx pointer > is not required a

Re: [PATCH] drm/amdgpu: simplify amdgpu_ras_eeprom.c

2023-04-03 Thread Luben Tuikov
On 2023-03-31 15:30, Alex Deucher wrote: > On Tue, Mar 28, 2023 at 12:30 PM Luben Tuikov wrote: >> >> On 2023-03-27 20:11, Alex Deucher wrote: >>> All chips that support RAS also support IP discovery, so >>> use the IP versions rather than a mix of IP versions and >>> asic types. >>> >>> Signed-of

Re: [PATCH] drm/amd: Fix an out of bounds error in BIOS parser

2023-04-03 Thread Harry Wentland
On 4/2/23 18:08, Mario Limonciello wrote: > The array is hardcoded to 8 in atomfirmware.h, but firmware provides > a bigger one sometimes. Deferencing the larger array causes an out > of bounds error. > > commit 4fc1ba4aa589 ("drm/amd/display: fix array index out of bound error > in bios parser")

RE: [PATCH 00/10] DC Patches Apr 3rd, 2023

2023-04-03 Thread Wheeler, Daniel
[Public] Hi all, This week this patchset was tested on the following systems: Lenovo Thinkpad T14s Gen2, with AMD Ryzen 5 5650U Lenovo Thinkpad T13s Gen4 with AMD Ryzen 5 6600U Reference AMD RX6800 These systems were tested on the following display types: eDP, (1080p 60hz [5650U]) (1920x12

RE: [PATCH v2 2/2] drm/amdgpu: Add MES KIQ clear to tell RLC that KIQ is dequeued

2023-04-03 Thread Chen, Horace
[AMD Official Use Only - General] Reviewed-By: Horace Chen -Original Message- From: Yifan Zha Sent: Monday, April 3, 2023 3:35 PM To: amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Chen, Horace ; Zhang, Hawking ; Chang, HaiJun Cc: Zha, YiFan(Even) Subject: [PATCH v2 2/2] drm/am

Re: [pull] amdgpu, amdkfd, radeon drm-next-6.4

2023-04-03 Thread Daniel Vetter
On Fri, Mar 31, 2023 at 06:19:55PM -0400, Alex Deucher wrote: > Hi Dave, Daniel, > > More new stuff for 6.4. > > The following changes since commit d36d68fd1925d33066d52468b7c7c6aca6521248: > > Merge tag 'drm-habanalabs-next-2023-03-20' of > https://git.kernel.org/pub/scm/linux/kernel/git/oga

[PATCH v2 2/2] drm/amdgpu: Add MES KIQ clear to tell RLC that KIQ is dequeued

2023-04-03 Thread Yifan Zha
[Why] As MES KIQ is dequeued, tell RLC that KIQ is inactive [How] Clear the RLC_CP_SCHEDULERS Active bit which RLC checks KIQ status In addition, driver can halt MES under SRIOV when unloading driver v2: Use scheduler0 mask to clear KIQ portion of RLC_CP_SCHEDULERS Signed-off-by: Yifan Zha ---

RE: [PATCH 1/2] drm/amdgpu: optimize redundant code in umc_v8_10

2023-04-03 Thread Chai, Thomas
[AMD Official Use Only - General] OK, Will do. - Best Regards, Thomas -Original Message- From: Zhou1, Tao Sent: Monday, April 3, 2023 3:21 PM To: Chai, Thomas ; amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Li, Candice ; Yang, Stanley Subject: RE: [PATCH 1/2] dr

RE: [PATCH 1/2] drm/amdgpu: optimize redundant code in umc_v8_10

2023-04-03 Thread Zhou1, Tao
[AMD Official Use Only - General] > -Original Message- > From: Chai, Thomas > Sent: Monday, April 3, 2023 3:00 PM > To: Zhou1, Tao ; amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking ; Li, Candice > ; Yang, Stanley > Subject: RE: [PATCH 1/2] drm/amdgpu: optimize redundant code in umc_

RE: [PATCH 1/2] drm/amdgpu: optimize redundant code in umc_v8_10

2023-04-03 Thread Chai, Thomas
[AMD Official Use Only - General] - Best Regards, Thomas -Original Message- From: Zhou1, Tao Sent: Monday, April 3, 2023 11:45 AM To: Chai, Thomas ; amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Li, Candice ; Yang, Stanley Subject: RE: [PATCH 1/2] drm/amdgpu: o