Re: [PATCH] drm/amdgpu: Avoid another list of reset devices

2022-08-03 Thread Zhang, Hawking
[AMD Official Use Only - General] Reviewed-by: Hawking Zhang Regards, Hawking Get Outlook for iOS From: Lazar, Lijo Sent: Wednesday, August 3, 2022 7:36:20 PM To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Deucher, Alexander

Re: [PATCH] drm/amd/display: set panel orientation before drm_dev_register

2022-08-03 Thread Harry Wentland
On 2022-08-03 12:24, Melissa Wen wrote: > To set the panel orientation property with quirk, we need the mode size > provided by EDID. This info is available after EDID is read by > dc_link_detect() > and updated by amdgpu_dm_update_connector_after_detect(). The detection > happens at driver

Re: [PATCH v2] drm/amd/display: Fix vblank refcount in vrr transition

2022-08-03 Thread Harry Wentland
On 2022-07-28 09:49, Yunxiang Li wrote: > manage_dm_interrupts disable/enable vblank using drm_crtc_vblank_off/on > which causes drm_crtc_vblank_get in vrr_transition to fail, and later > when drm_crtc_vblank_put is called the refcount on vblank will be messed > up. Therefore move the call to

Re: [RESEND RFC 18/18] drm/display/dp_mst: Move all payload info into the atomic state

2022-08-03 Thread Lyude Paul
On Tue, 2022-07-05 at 09:10 +, Lin, Wayne wrote: > > +struct drm_dp_mst_port; > > + > >   /* DP MST stream allocation (payload bandwidth number) */ > >   struct dc_dp_mst_stream_allocation { > >    uint8_t vcp_id; > >    /* number of slots required for the DP stream in > >    * transport

Re: [PATCH v4 00/41] DYNDBG: opt-in class'd debug for modules, use in drm.

2022-08-03 Thread jim . cromie
On Wed, Jul 20, 2022 at 9:32 AM Jim Cromie wrote: > > Hi Jason, Greg, DRM-folk, > > This adds 'typed' "class FOO" support to dynamic-debug, where 'typed' > means either DISJOINT (like drm debug categories), or VERBOSE (like > nouveau debug-levels). Use it in DRM modules: core, helpers, and in >

[PATCH] drm/amdkfd: Allocate doorbells only when needed

2022-08-03 Thread Felix Kuehling
Only allocate doorbells when the first queue is created on a GPU or the doorbells need to be mapped into CPU or GPU virtual address space. This avoids allocating doorbells unnecessarily and can allow more processes to use KFD on multi-GPU systems. Signed-off-by: Felix Kuehling ---

Re: [PATCH] drm/amd/display: set panel orientation before drm_dev_register

2022-08-03 Thread Melissa Wen
On 08/03, Melissa Wen wrote: > To set the panel orientation property with quirk, we need the mode size > provided by EDID. This info is available after EDID is read by > dc_link_detect() > and updated by amdgpu_dm_update_connector_after_detect(). The detection > happens at driver load in

[PATCH] drm/amd/display: set panel orientation before drm_dev_register

2022-08-03 Thread Melissa Wen
To set the panel orientation property with quirk, we need the mode size provided by EDID. This info is available after EDID is read by dc_link_detect() and updated by amdgpu_dm_update_connector_after_detect(). The detection happens at driver load in amdgpu_dm_initialize_drm_device() and,

RE: [PATCH] Increase tlb flush timeout for sriov

2022-08-03 Thread Wong, Alice
[AMD Official Use Only - General] -Original Message- From: amd-gfx On Behalf Of Dusica Milinkovic Sent: August 3, 2022 5:02 AM To: amd-gfx@lists.freedesktop.org Cc: Milinkovic, Dusica Subject: [PATCH] Increase tlb flush timeout for sriov Signed-off-by: Dusica Milinkovic ---

Re: [PATCH v3 1/6] drm/amdgpu: add mode2 reset for sienna_cichlid

2022-08-03 Thread Andrey Grodzovsky
Series is Acked-by: Andrey Grodzovsky Andrey On 2022-08-01 00:07, Victor Zhao wrote: To meet the requirement for multi container usecase which needs a quicker reset and not causing VRAM lost, adding the Mode2 reset handler for sienna_cichlid. v2: move skip mode2 flag part separately v3:

[PATCH] drm/amdgpu: Avoid another list of reset devices

2022-08-03 Thread Lijo Lazar
A list of devices to be reset are already created in amdgpu_device_gpu_recover function. Creating another list with the same nodes is incorrect and not supported in list_head. Instead, pass the device list as part of reset context. Fixes: 9e08564727fc (drm/amdgpu: Refactor mode2 reset logic for

RE: [PATCH 2/2] drm/amd/pm: Fix a potential gpu_metrics_table memory leak

2022-08-03 Thread Quan, Evan
[AMD Official Use Only - General] Thanks for the fixes! The series is reviewed-by: Evan Quan Evan > -Original Message- > From: Zhen Ni > Sent: Wednesday, August 3, 2022 5:20 PM > To: airl...@linux.ie; dan...@ffwll.ch; Quan, Evan ; > Deucher, Alexander ; Koenig, Christian > ; Pan,

[PATCH] Increase tlb flush timeout for sriov

2022-08-03 Thread Dusica Milinkovic
Signed-off-by: Dusica Milinkovic --- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c index

Re: [PATCH v2 01/29] ACPI: video: Add acpi_video_backlight_use_native() helper

2022-08-03 Thread Daniel Dadap
On 8/2/22 06:31, Hans de Goede wrote: Hi Daniel, On 7/21/22 23:30, Daniel Dadap wrote: On 7/21/22 16:24, Daniel Dadap wrote: On 7/12/22 14:38, Hans de Goede wrote: ATM on x86 laptops where we want userspace to use the acpi_video backlight device we often register both the GPU's native

Re: [PATCH v2 01/29] ACPI: video: Add acpi_video_backlight_use_native() helper

2022-08-03 Thread Hans de Goede
Hi Daniel, On 7/21/22 23:30, Daniel Dadap wrote: > > On 7/21/22 16:24, Daniel Dadap wrote: >> >> On 7/12/22 14:38, Hans de Goede wrote: >>> ATM on x86 laptops where we want userspace to use the acpi_video backlight >>> device we often register both the GPU's native backlight device and >>>