[PATCHv2 3/3] drm/i915/display: Populate list of async supported formats/modifiers

2024-11-17 Thread Arun R Murthy
Populate the list of formats/modifiers supported by async flip. Register a async property and expose the same to user through blob. Signed-off-by: Arun R Murthy --- .../drm/i915/display/skl_universal_plane.c| 51 +++ 1 file changed, 51 insertions(+) diff --git a/drivers/gpu/

[PATCHv2 2/3] drm/plane: Expose function to create format/modifier blob

2024-11-17 Thread Arun R Murthy
Expose drm plane function to create formats/modifiers blob. This function can be used to expose list of supported formats/modifiers for sync/async flips. Signed-off-by: Arun R Murthy --- drivers/gpu/drm/drm_plane.c | 44 - include/drm/drm_plane.h | 4

[PATCHv2/3] Expose modifiers/formats supported by async flips

2024-11-17 Thread Arun R Murthy
All of the formats/modifiers supported by the plane during synchronous flips are nor supported by asynchronous flips. The formats/modifiers exposed to user by IN_FORMATS exposes all formats/modifiers supported by plane and this list varies for async flips. If the async flip supported formats/modifi

Re: [PATCH 1/9] drm/i915: Allow async flips with render compression on TGL+

2024-11-17 Thread Hogander, Jouni
On Mon, 2024-10-28 at 17:12 +0200, Ville Syrjälä wrote: > On Thu, Oct 24, 2024 at 10:41:22AM +, Hogander, Jouni wrote: > > On Wed, 2024-10-09 at 21:21 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Looks like CCS + async flips has been a thing for a while now. > > > Enable

Re: [PATCH v3 1/3] drm/i915/vrr: Update vrr.vsync_{start,end} computation

2024-11-17 Thread Nautiyal, Ankit K
On 10/21/2024 4:20 PM, Mitul Golani wrote: vrr.vsync_{start,end} computation should not depend on crtc_state->vrr.enable. Also add them to state dump. --v1: - Explain commit message more clearly [Jani] - Instead of tweaking to fastset use vrr.flipline while computing AS_SDP. --v2: - Corr

Re: [PATCH 7/9] drm/i915: Nuke ADL pre-production Wa_22011186057

2024-11-17 Thread Hogander, Jouni
On Mon, 2024-10-28 at 17:04 +0200, Ville Syrjälä wrote: > On Thu, Oct 24, 2024 at 10:52:13AM +, Hogander, Jouni wrote: > > On Wed, 2024-10-09 at 21:22 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Wa_22011186057 (some CCS problem) only affected ADL A-stepping, > > > which

Re: [PATCH 6/9] drm/i915: Disable scanout VT-d workaround for TGL+

2024-11-17 Thread Hogander, Jouni
On Mon, 2024-10-28 at 17:01 +0200, Ville Syrjälä wrote: > On Thu, Oct 24, 2024 at 10:50:06AM +, Hogander, Jouni wrote: > > On Wed, 2024-10-09 at 21:22 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > TGL+ should no longer need any VT-d scanout workarounds. > > > Don't apply a

✗ Fi.CI.BAT: failure for drm/i915/display: Adjust Added Wake Time with PKG_C_LATENCY

2024-11-17 Thread Patchwork
== Series Details == Series: drm/i915/display: Adjust Added Wake Time with PKG_C_LATENCY URL : https://patchwork.freedesktop.org/series/141469/ State : failure == Summary == CI Bug Log - changes from CI_DRM_15713 -> Patchwork_141469v1 Summa

RE: [PATCH] drm/i915/display: Adjust Added Wake Time with PKG_C_LATENCY

2024-11-17 Thread Kandpal, Suraj
> -Original Message- > From: Manna, Animesh > Sent: Monday, November 18, 2024 10:53 AM > To: intel-gfx@lists.freedesktop.org > Cc: Kandpal, Suraj ; Manna, Animesh > > Subject: [PATCH] drm/i915/display: Adjust Added Wake Time with > PKG_C_LATENCY > > The PKG_C_LATENCY Added Wake Time f

[PATCH] drm/i915/display: Adjust Added Wake Time with PKG_C_LATENCY

2024-11-17 Thread Animesh Manna
The PKG_C_LATENCY Added Wake Time field is not working. When added wake time is needed, such as for flip queue DSB execution, increase the PKG_C_LATENCY Pkg C Latency field by the added wake time. HSD: 14023564296 WA: 22020432604 Signed-off-by: Animesh Manna --- drivers/gpu/drm/i915/display/skl

Re: [PATCH 1/5] drm/encoder_slave: make mode_valid accept const struct drm_display_mode

2024-11-17 Thread Dmitry Baryshkov
On Mon, 18 Nov 2024 at 01:33, Laurent Pinchart wrote: > > On Mon, Nov 18, 2024 at 01:22:12AM +0200, Dmitry Baryshkov wrote: > > On Sun, 17 Nov 2024 at 22:54, Laurent Pinchart wrote: > > > On Fri, Nov 15, 2024 at 11:09:26PM +0200, Dmitry Baryshkov wrote: > > > > The mode_valid() callbacks of drm_en

Re: [PATCH 1/5] drm/encoder_slave: make mode_valid accept const struct drm_display_mode

2024-11-17 Thread Dmitry Baryshkov
On Sun, 17 Nov 2024 at 22:54, Laurent Pinchart wrote: > > Hi Dmitry, > > Thank you for the patch. > > On Fri, Nov 15, 2024 at 11:09:26PM +0200, Dmitry Baryshkov wrote: > > The mode_valid() callbacks of drm_encoder, drm_crtc and drm_bridge > > accept const struct drm_display_mode argument. Change t

Re: [PATCH 1/5] drm/encoder_slave: make mode_valid accept const struct drm_display_mode

2024-11-17 Thread Laurent Pinchart
On Mon, Nov 18, 2024 at 01:22:12AM +0200, Dmitry Baryshkov wrote: > On Sun, 17 Nov 2024 at 22:54, Laurent Pinchart wrote: > > On Fri, Nov 15, 2024 at 11:09:26PM +0200, Dmitry Baryshkov wrote: > > > The mode_valid() callbacks of drm_encoder, drm_crtc and drm_bridge > > > accept const struct drm_disp

Re: [PATCH 5/5] drm/connector: make mode_valid accept const struct drm_display_mode

2024-11-17 Thread Dmitry Baryshkov
On Sun, 17 Nov 2024 at 23:24, Laurent Pinchart wrote: > > Hi Dmitry, > > Thank you for the patch. > > On Fri, Nov 15, 2024 at 11:09:30PM +0200, Dmitry Baryshkov wrote: > > The mode_valid() callbacks of drm_encoder, drm_crtc and drm_bridge > > accept const struct drm_display_mode argument. Change t

Re: [PATCH 3/5] drm/sti: hda: pass const struct drm_display_mode* to hda_get_mode_idx()

2024-11-17 Thread Laurent Pinchart
Hi Dmitry, Thank you for the patch. On Fri, Nov 15, 2024 at 11:09:28PM +0200, Dmitry Baryshkov wrote: > Make hda_get_mode_idx() accept const struct drm_display_mode pointer > instead of just raw struct drm_display_mode. This is a preparation to > converting the mode_valid() callback of drm_conne

Re: [PATCH 5/5] drm/connector: make mode_valid accept const struct drm_display_mode

2024-11-17 Thread Laurent Pinchart
Hi Dmitry, Thank you for the patch. On Fri, Nov 15, 2024 at 11:09:30PM +0200, Dmitry Baryshkov wrote: > The mode_valid() callbacks of drm_encoder, drm_crtc and drm_bridge > accept const struct drm_display_mode argument. Change the mode_valid > callback of drm_connector to also accept const argume

Re: [PATCH 2/5] drm/amdgpu: don't change mode in amdgpu_dm_connector_mode_valid()

2024-11-17 Thread Laurent Pinchart
Hi Dmitry, Thank you for the patch. On Fri, Nov 15, 2024 at 11:09:27PM +0200, Dmitry Baryshkov wrote: > Make amdgpu_dm_connector_mode_valid() duplicate the mode during the > test rather than modifying the passed mode. This is a preparation to > converting the mode_valid() callback of drm_connecto

Re: [PATCH 1/5] drm/encoder_slave: make mode_valid accept const struct drm_display_mode

2024-11-17 Thread Laurent Pinchart
Hi Dmitry, Thank you for the patch. On Fri, Nov 15, 2024 at 11:09:26PM +0200, Dmitry Baryshkov wrote: > The mode_valid() callbacks of drm_encoder, drm_crtc and drm_bridge > accept const struct drm_display_mode argument. Change the mode_valid > callback of drm_encoder_slave to also accept const ar