linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: "André Almeida" <andrealmeid@igalia.com>,
	"Ville Syrjälä" <ville.syrjala@intel.com>,
	naveen1.kumar@intel.com, vandita.kulkarni@intel.com
Cc: "Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"'Marek Olšák'" <maraeo@gmail.com>,
	nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	"Xaver Hugl" <xaver.hugl@gmail.com>,
	"Daniel Stone" <daniel@fooishbar.org>,
	"Claudiu Beznea" <claudiu.beznea@tuxon.dev>,
	"Sam Ravnborg" <sam@ravnborg.org>,
	ville.syrjala@linux.intel.com,
	"Karol Herbst" <kherbst@redhat.com>,
	"Michel Dänzer" <michel.daenzer@mailbox.org>,
	"Dave Airlie" <airlied@gmail.com>,
	amd-gfx@lists.freedesktop.org, "Lyude Paul" <lyude@redhat.com>,
	kernel-dev@igalia.com, intel-gfx@lists.freedesktop.org,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Melissa Wen" <mwen@igalia.com>,
	"Pekka Paalanen" <ppaalanen@gmail.com>,
	"Jani Nikula" <jani.nikula@linux.intel.com>,
	linux-arm-kernel@lists.infradead.org,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"Boris Brezillon" <bbrezillon@kernel.org>,
	"Simon Ser" <contact@emersion.fr>,
	linux-kernel@vger.kernel.org, daniel@ffwll.ch,
	alexander.deucher@amd.com, christian.koenig@amd.com,
	"Joshua Ashton" <joshua@froggi.es>
Subject: Re: [PATCH v6 5/8] drm/i915: Enable async flips on the primary plane
Date: Fri, 14 Jun 2024 15:00:48 -0400	[thread overview]
Message-ID: <ZmyTYPTVKM2-iaaN@intel.com> (raw)
In-Reply-To: <20240614153535.351689-6-andrealmeid@igalia.com>

On Fri, Jun 14, 2024 at 12:35:32PM -0300, André Almeida wrote:
> This driver can perfom async flips on primary planes, so enable it.
> 

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Naveen Kumar <naveen1.kumar@intel.com>
c: Vandita Kulkarni <vandita.kulkarni@intel.com>

> Signed-off-by: André Almeida <andrealmeid@igalia.com>
> ---
>  drivers/gpu/drm/i915/display/i9xx_plane.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/i9xx_plane.c b/drivers/gpu/drm/i915/display/i9xx_plane.c
> index 0279c8aabdd1..0142beef20dc 100644
> --- a/drivers/gpu/drm/i915/display/i9xx_plane.c
> +++ b/drivers/gpu/drm/i915/display/i9xx_plane.c
> @@ -931,6 +931,9 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)
>  
>  	intel_plane_helper_add(plane);
>  
> +	if (plane->async_flip)
> +		plane->base.async_flip = true;

I believe this is not enough and besides this we would also need to have
in the:
skl_universal_plane_create[2447] plane->async_flip = skl_plane_async_flip;

at: drivers/gpu/drm/i915/display/skl_universal_plane.c

> +
>  	return plane;
>  
>  fail:
> -- 
> 2.45.2
> 


  reply	other threads:[~2024-06-14 19:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14 15:35 [PATCH v6 0/8] drm: Support per-plane async flip configuration André Almeida
2024-06-14 15:35 ` [PATCH v6 1/8] drm/atomic: Allow userspace to use explicit sync with atomic async flips André Almeida
2024-06-14 15:35 ` [PATCH v6 2/8] drm: Support per-plane async flip configuration André Almeida
2024-06-14 17:32   ` Dmitry Baryshkov
2024-06-14 19:45     ` André Almeida
2024-06-14 15:35 ` [PATCH v6 3/8] drm/amdgpu: Enable async flips on the primary plane André Almeida
2024-06-14 15:35 ` [PATCH v6 4/8] drm: atmel-hlcdc: " André Almeida
2024-06-14 15:35 ` [PATCH v6 5/8] drm/i915: " André Almeida
2024-06-14 19:00   ` Rodrigo Vivi [this message]
2024-06-14 15:35 ` [PATCH v6 6/8] drm/nouveau: " André Almeida
2024-06-14 15:35 ` [PATCH v6 7/8] drm/vc4: " André Almeida
2024-06-14 15:35 ` [PATCH v6 8/8] drm/amdgpu: Make it possible to async flip overlay planes André Almeida
2024-06-14 17:32 ` [PATCH v6 0/8] drm: Support per-plane async flip configuration Dmitry Baryshkov
2024-06-14 19:37   ` André Almeida
2024-06-19 11:57     ` Ville Syrjälä

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZmyTYPTVKM2-iaaN@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=andrealmeid@igalia.com \
    --cc=bbrezillon@kernel.org \
    --cc=christian.koenig@amd.com \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=contact@emersion.fr \
    --cc=daniel@ffwll.ch \
    --cc=daniel@fooishbar.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=joshua@froggi.es \
    --cc=kernel-dev@igalia.com \
    --cc=kherbst@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lyude@redhat.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=maraeo@gmail.com \
    --cc=michel.daenzer@mailbox.org \
    --cc=mripard@kernel.org \
    --cc=mwen@igalia.com \
    --cc=naveen1.kumar@intel.com \
    --cc=nouveau@lists.freedesktop.org \
    --cc=ppaalanen@gmail.com \
    --cc=sam@ravnborg.org \
    --cc=tzimmermann@suse.de \
    --cc=vandita.kulkarni@intel.com \
    --cc=ville.syrjala@intel.com \
    --cc=ville.syrjala@linux.intel.com \
    --cc=xaver.hugl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).