Re: drm/amd/display: disable display DCC with retiling due to worse power consumption

2023-05-01 Thread Marek Olšák
We're going to do this in Mesa instead: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22771 Marek On Fri, Apr 28, 2023 at 6:36 PM Marek Olšák wrote: > On Fri, Apr 28, 2023, 16:14 Joshua Ashton wrote: > >> I mean I would also like power and perf numbers for Vangogh given you >>

Re: [RFC PATCH 0/1] Add AMDGPU_INFO_GUILTY_APP ioctl

2023-05-01 Thread André Almeida
Em 01/05/2023 16:24, Alex Deucher escreveu: On Mon, May 1, 2023 at 2:58 PM André Almeida wrote: I know that devcoredump is also used for this kind of information, but I believe that using an IOCTL is better for interfacing Mesa + Linux rather than parsing a file that its contents are

drm/amdgpu: update soc15 and nv max encoding height

2023-05-01 Thread Thong Thai
    drm/amdgpu: update soc15 and nv max encoding height     Update the values reported for Vega, VCN1/2: H.264 and HEVC encoding     maximum supported height to match the values from the hardware spec.     Signed-off-by: Thong Thai     Reviewed-by: Ruijing Dong The patch is attached for

Re: [PATCH] drm/amdkfd: Don't trigger evictions unmapping dmabuf attachments

2023-05-01 Thread Eric Huang
Reviewed-by: Eric Huang Regards, Eric On 2023-05-01 16:52, Felix Kuehling wrote: Don't move DMABuf attachments for PCIe P2P mappings to the SYSTEM domain when unmapping. This avoids triggering eviction fences unnecessarily. Instead do the move to SYSTEM and back to GTT when mapping these

Re: PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-05-01 Thread Felix Richter
On 01.05.23 20:47, Alex Deucher wrote: On Mon, May 1, 2023 at 2:44 PM Felix Richter wrote: On 01.05.23 15:27, Alex Deucher wrote: On Mon, May 1, 2023 at 3:20 AM Felix Richter wrote: Hi, I am running into an issue with the integrated GPU of the Ryzen 9 7950X. It seems to be a regression

[PATCH] drm/amdkfd: Don't trigger evictions unmapping dmabuf attachments

2023-05-01 Thread Felix Kuehling
Don't move DMABuf attachments for PCIe P2P mappings to the SYSTEM domain when unmapping. This avoids triggering eviction fences unnecessarily. Instead do the move to SYSTEM and back to GTT when mapping these attachments to ensure the SG table gets updated after evictions. This may still trigger

Re: [RFC PATCH 1/1] drm/amdgpu: Add interface to dump guilty IB on GPU hang

2023-05-01 Thread Alex Deucher
On Mon, May 1, 2023 at 2:58 PM André Almeida wrote: > > Add an interface to point out to userspace the guilty indirect buffer > when a GPU reset happens, so the usermode driver can dump just the right > IB for debug investigation. > > Signed-off-by: André Almeida > --- >

Re: [RFC PATCH 0/1] Add AMDGPU_INFO_GUILTY_APP ioctl

2023-05-01 Thread Alex Deucher
On Mon, May 1, 2023 at 2:58 PM André Almeida wrote: > > Currently UMD hasn't much information on what went wrong during a GPU reset. > To > help with that, this patch proposes a new IOCTL that can be used to query > information about the resources that caused the hang. If we went with the

[RFC PATCH 1/1] drm/amdgpu: Add interface to dump guilty IB on GPU hang

2023-05-01 Thread André Almeida
Add an interface to point out to userspace the guilty indirect buffer when a GPU reset happens, so the usermode driver can dump just the right IB for debug investigation. Signed-off-by: André Almeida --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

[RFC PATCH 0/1] Add AMDGPU_INFO_GUILTY_APP ioctl

2023-05-01 Thread André Almeida
Currently UMD hasn't much information on what went wrong during a GPU reset. To help with that, this patch proposes a new IOCTL that can be used to query information about the resources that caused the hang. The goal of this RFC is to gather feedback about this interface. The mesa part can be

Re: PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-05-01 Thread Alex Deucher
On Mon, May 1, 2023 at 2:44 PM Felix Richter wrote: > > On 01.05.23 15:27, Alex Deucher wrote: > > On Mon, May 1, 2023 at 3:20 AM Felix Richter > > wrote: > >> Hi, > >> > >> I am running into an issue with the integrated GPU of the Ryzen 9 7950X. > >> It seems to be a regression from kernel

[PATCH v3 4/9] drm/amdgpu: Switch to fdinfo helper

2023-05-01 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c| 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 16 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.h | 2 +- 3 files changed, 9 insertions(+), 12

[PATCH v3 0/9] drm: fdinfo memory stats

2023-05-01 Thread Rob Clark
From: Rob Clark Similar motivation to other similar recent attempt[1]. But with an attempt to have some shared code for this. As well as documentation. It is probably a bit UMA-centric, I guess devices with VRAM might want some placement stats as well. But this seems like a reasonable start.

Re: PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-05-01 Thread Felix Richter
On 01.05.23 15:27, Alex Deucher wrote: On Mon, May 1, 2023 at 3:20 AM Felix Richter wrote: Hi, I am running into an issue with the integrated GPU of the Ryzen 9 7950X. It seems to be a regression from kernel version 6.1 to 6.2. The bug materializes in from of my monitor blinking, meaning it

[PATCH] drm/amdgpu: Add new ATOM capability option

2023-05-01 Thread Rodrigo Siqueira
Add ATOM_CONNECTOR_CAP_NOT_SUPPORT_DP_PLUS_PLUS in enum atom_connector_caps_def to better identify if passive DP to HDMI dongle is supported. Cc: George Shen Cc: Aurabindo Pillai Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/include/atomfirmware.h | 1 + 1 file changed, 1

Re: drm/amdgpu/nv: update VCN 3 max HEVC encoding resolution

2023-05-01 Thread Deucher, Alexander
[AMD Official Use Only - General] Acked-by: Alex Deucher From: amd-gfx on behalf of Thong Thai Sent: Monday, May 1, 2023 11:49 AM To: amd-gfx@lists.freedesktop.org Subject: drm/amdgpu/nv: update VCN 3 max HEVC encoding resolution drm/amdgpu/nv: update

drm/amdgpu/nv: update VCN 3 max HEVC encoding resolution

2023-05-01 Thread Thong Thai
    drm/amdgpu/nv: update VCN 3 max HEVC encoding resolution     Update the maximum resolution reported for HEVC encoding on VCN 3     devices to reflect its 8K encoding capability.     v2: Also update the max height for H.264 encoding to match spec.     (Ruijing) Attached for review. Thanks,

RE: [PATCH 0/8] DC Patches April 26, 2023

2023-05-01 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])

Re: [PATCH] drm/amd: Downgrade message about watermarks table after s0i3 to debug

2023-05-01 Thread Alex Deucher
Acked-by: Alex Deucher On Fri, Apr 28, 2023 at 5:45 PM Mario Limonciello wrote: > > This message shows up on s0i3 resume for DCN31 and DCN314 platforms but > it has been decided that this flow won't be changed and the message is > expected behavior. > > Downgrade the message to debug. > >

Re: [PATCH] drm/amdgpu: improve wait logic at fence polling

2023-05-01 Thread Felix Kuehling
Am 2023-04-26 um 12:15 schrieb Alex Sierra: Accomplish this by reading the seq number right away instead of sleep for 5us. There are certain cases where the fence is ready almost immediately. Sleep number granularity was also reduced as the majority of the kiq tlb flush takes between 2us to 6us.

Re: [PATCH] drm/amdgpu: set gfx9 onwards APU atomics support to be true

2023-05-01 Thread Felix Kuehling
Am 2023-04-29 um 22:02 schrieb Yifan Zhang: APUs w/ gfx9 onwards doesn't reply on PCIe atomics, rather it is internal path w/ native atomic support. Set have_atomics_support to true. Signed-off-by: Yifan Zhang Acked-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6

Re: [PATCH] drm/amdgpu: put MQDs in VRAM

2023-05-01 Thread Alex Deucher
Ping? Alex On Fri, Apr 28, 2023 at 11:57 AM Alex Deucher wrote: > > Reduces preemption latency. > Only enable this for gfx10 and 11 for now > to avoid changing behavior on gfx 8 and 9. > > v2: move MES MQDs into VRAM as well (YuBiao) > v3: enable on gfx10, 11 only (Alex) > v4: minor style

[PATCH] drm/amd/display: mark amdgpu_dm_connector_funcs_force static

2023-05-01 Thread Arnd Bergmann
From: Arnd Bergmann A global function without a header prototype has made it into linux-next during the merge window: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6339:6: error: no previous prototype for 'amdgpu_dm_connector_funcs_force' [-Werror=missing-prototypes] Mark the

Re: PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-05-01 Thread Alex Deucher
On Mon, May 1, 2023 at 3:20 AM Felix Richter wrote: > > Hi, > > I am running into an issue with the integrated GPU of the Ryzen 9 7950X. It > seems to be a regression from kernel version 6.1 to 6.2. > The bug materializes in from of my monitor blinking, meaning it turns full > white shortly.

PROBLEM: AMD Ryzen 9 7950X iGPU - Blinking Issue

2023-05-01 Thread Felix Richter
Hi, I am running into an issue with the integrated GPU of the Ryzen 9 7950X. It seems to be a regression from kernel version 6.1 to 6.2. The bug materializes in from of my monitor blinking, meaning it turns full white shortly. This happens very often so that the system becomes unpleasant to