public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: "Kandpal, Suraj" <suraj.kandpal@intel.com>
To: "freedreno@lists.freedesktop.org"
	<freedreno@lists.freedesktop.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"kernel-list@raspberrypi.com" <kernel-list@raspberrypi.com>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"Alex Hung" <alex.hung@amd.com>,
	Harry Wentland <harry.wentland@amd.com>
Cc: "Shankar, Uma" <uma.shankar@intel.com>,
	"Murthy, Arun R" <arun.r.murthy@intel.com>,
	"abhinav.kumar@linux.dev" <abhinav.kumar@linux.dev>,
	"tzimmermann@suse.de" <tzimmermann@suse.de>,
	"marijn.suijten@somainline.org" <marijn.suijten@somainline.org>,
	"laurent.pinchart+renesas@ideasonboard.com"
	<laurent.pinchart+renesas@ideasonboard.com>,
	"dave.stevenson@raspberrypi.com" <dave.stevenson@raspberrypi.com>,
	"tomi.valkeinen+renesas@ideasonboard.com"
	<tomi.valkeinen+renesas@ideasonboard.com>,
	"kieran.bingham+renesas@ideasonboard.com"
	<kieran.bingham+renesas@ideasonboard.com>,
	"louis.chauvet@bootlin.com" <louis.chauvet@bootlin.com>,
	"kernel-dev@igalia.com" <kernel-dev@igalia.com>,
	"John.Harrison@Igalia.com" <John.Harrison@Igalia.com>
Subject: RE: [PATCH v5 0/7] Refactor drm_writeback_connector structure
Date: Fri, 22 May 2026 05:10:30 +0000	[thread overview]
Message-ID: <DM3PPF208195D8DE3B4B00C724CB7E65F92E30F2@DM3PPF208195D8D.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20260522050313.1800378-1-suraj.kandpal@intel.com>

> Subject: [PATCH v5 0/7] Refactor drm_writeback_connector structure
> 
> Some drivers cannot work with the current design where the connector is
> embedded within the drm_writeback_connector such as intel and some drivers
> that can get it working end up adding a lot of checks all around the code to
> check if it's a writeback conenctor or not.
> This is due to the inheritance limitation in C.
> This series intends to solve it by moving the drm_writeback_connector within
> the drm_connector and remove the drm_connector base which was in
> drm_writeback_connector. This is done in union with hdmi connector within
> drm_connector to save memory and since drm_connector cannot be both
> hdmi and writeback it serves is well.
> A RFC version was floated and discussion had taken place at [1] which kicked of
> this more cleaner series.
> We do all other required modifications that come with these changes along
> with addition of new function which returns the drm_connector when
> drm_writeback_connector is present.
> This series also contains some writeback API cleanups as a consequence of
> writeback connector moving into drm_connector All drivers will be expected to
> allocate the drm_connector.
> This discussion was tiggered from [2] and sits on top of Dmitry's series see [3].
> 
> [1] https://patchwork.freedesktop.org/series/152758/
> [2] https://patchwork.freedesktop.org/series/152106/
> [3] https://patchwork.freedesktop.org/series/152420/
> 
> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Alex , Harry can we have a Ack on this series from AMD

Regards,
Suraj Kandpal

> 
> Suraj Kandpal (7):
>   drm: writeback: Refactor drm_writeback_connector structure
>   drm: writeback: Modify writeback init helpers
>   drm: writeback: Modify drm_writeback_queue_job helper
>   drm: writeback: Modify drm_writeback_signal_completion helper
>   drm: writeback: Modify drm_writeback_get_out_fence helper
>   drm: writeback: Modify prepare_writeback_job helper
>   drm: writeback: Modify cleanup_writeback_job helper
> 
>  .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 +--
> .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |  2 +-
> .../drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c  | 12 +--
> .../gpu/drm/arm/display/komeda/komeda_crtc.c  |  2 +-
>  .../gpu/drm/arm/display/komeda/komeda_kms.h   |  6 +-
>  .../arm/display/komeda/komeda_wb_connector.c  | 11 +--
>  drivers/gpu/drm/arm/malidp_crtc.c             |  2 +-
>  drivers/gpu/drm/arm/malidp_drv.h              |  2 +-
>  drivers/gpu/drm/arm/malidp_mw.c               |  7 +-
>  drivers/gpu/drm/drm_atomic_uapi.c             |  4 +-
>  drivers/gpu/drm/drm_writeback.c               | 46 ++++++-----
>  .../drm/msm/disp/dpu1/dpu_encoder_phys_wb.c   |  9 ++-
>  drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 10 +--
> drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.h |  4 +-
>  .../gpu/drm/renesas/rcar-du/rcar_du_crtc.h    |  6 +-
>  .../drm/renesas/rcar-du/rcar_du_writeback.c   | 15 ++--
>  drivers/gpu/drm/vc4/vc4_txp.c                 |  8 +-
>  drivers/gpu/drm/vkms/vkms_drv.h               |  2 +-
>  drivers/gpu/drm/vkms/vkms_writeback.c         | 15 ++--
>  include/drm/drm_connector.h                   | 69 ++++++++++++++++-
>  include/drm/drm_modeset_helper_vtables.h      |  4 +-
>  include/drm/drm_writeback.h                   | 76 ++-----------------
>  22 files changed, 160 insertions(+), 162 deletions(-)
> 
> --
> 2.34.1


  parent reply	other threads:[~2026-05-22  5:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-22  5:03 [PATCH v5 0/7] Refactor drm_writeback_connector structure Suraj Kandpal
2026-05-22  5:03 ` [PATCH v5 1/7] drm: writeback: " Suraj Kandpal
2026-05-25  9:19   ` Claude review: " Claude Code Review Bot
2026-05-22  5:03 ` [PATCH v5 2/7] drm: writeback: Modify writeback init helpers Suraj Kandpal
2026-05-25  9:19   ` Claude review: " Claude Code Review Bot
2026-05-22  5:03 ` [PATCH v5 3/7] drm: writeback: Modify drm_writeback_queue_job helper Suraj Kandpal
2026-05-25  9:19   ` Claude review: " Claude Code Review Bot
2026-05-22  5:03 ` [PATCH v5 4/7] drm: writeback: Modify drm_writeback_signal_completion helper Suraj Kandpal
2026-05-25  9:19   ` Claude review: " Claude Code Review Bot
2026-05-22  5:03 ` [PATCH v5 5/7] drm: writeback: Modify drm_writeback_get_out_fence helper Suraj Kandpal
2026-05-25  9:19   ` Claude review: " Claude Code Review Bot
2026-05-22  5:03 ` [PATCH v5 6/7] drm: writeback: Modify prepare_writeback_job helper Suraj Kandpal
2026-05-25  9:19   ` Claude review: " Claude Code Review Bot
2026-05-22  5:03 ` [PATCH v5 7/7] drm: writeback: Modify cleanup_writeback_job helper Suraj Kandpal
2026-05-25  9:19   ` Claude review: " Claude Code Review Bot
2026-05-22  5:10 ` Kandpal, Suraj [this message]
2026-05-25  9:19 ` Claude review: Refactor drm_writeback_connector structure Claude Code Review Bot

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=DM3PPF208195D8DE3B4B00C724CB7E65F92E30F2@DM3PPF208195D8D.namprd11.prod.outlook.com \
    --to=suraj.kandpal@intel.com \
    --cc=John.Harrison@Igalia.com \
    --cc=abhinav.kumar@linux.dev \
    --cc=alex.hung@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=arun.r.murthy@intel.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=kernel-dev@igalia.com \
    --cc=kernel-list@raspberrypi.com \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=louis.chauvet@bootlin.com \
    --cc=marijn.suijten@somainline.org \
    --cc=tomi.valkeinen+renesas@ideasonboard.com \
    --cc=tzimmermann@suse.de \
    --cc=uma.shankar@intel.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