[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250811092707.3986802-1-suraj.kandpal@intel.com>
Date: Mon, 11 Aug 2025 14:56:59 +0530
From: Suraj Kandpal <suraj.kandpal@...el.com>
To: kernel-list@...pberrypi.com,
amd-gfx@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
linux-renesas-soc@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
freedreno@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org,
intel-xe@...ts.freedesktop.org,
intel-gfx@...ts.freedesktop.org
Cc: ankit.k.nautiyal@...el.com,
arun.r.murthy@...el.com,
uma.shankar@...el.com,
jani.nikula@...el.com,
dmitry.baryshkov@....qualcomm.com,
harry.wentland@....com,
siqueira@...lia.com,
alexander.deucher@....com,
christian.koenig@....com,
airlied@...il.com,
simona@...ll.ch,
liviu.dudau@....com,
maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
robin.clark@....qualcomm.com,
abhinav.kumar@...ux.dev,
tzimmermann@...e.de,
jessica.zhang@....qualcomm.com,
sean@...rly.run,
marijn.suijten@...ainline.org,
laurent.pinchart+renesas@...asonboard.com,
mcanal@...lia.com,
dave.stevenson@...pberrypi.com,
tomi.valkeinen+renesas@...asonboard.com,
kieran.bingham+renesas@...asonboard.com,
louis.chauvet@...tlin.com,
Suraj Kandpal <suraj.kandpal@...el.com>
Subject: [RFC PATCH 0/8] 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 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. A Proposal suggested by Dmitry.
We want to get an Ack from all drivers whom are affected by these
changes.
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.
All drivers will be expected to allocate the drm_connector.
This discussion was tiggered from [1] and sits on top of Dmitry's series
see [2].
[1] https://patchwork.freedesktop.org/series/152106/
[2] https://patchwork.freedesktop.org/series/152420/
Signed-off-by: Suraj Kandpal <suraj.kandpal@...el.com>
Suraj Kandpal (8):
drm: writeback: Refactor drm_writeback_connector structure
drm/amd/display: Adapt amd writeback to new drm_writeback_connector
drm/arm/komeda: Adapt komeda writeback to new drm_writeback_connector
drm/arm/mali: Adapt mali writeback to new drm_writeback_connector
drm/vc4: Adapt vc4 writeback to new drm_writeback_connector
drm/vkms: Adapt vkms writeback to new drm_writeback_connector
drm/rcar_du: Adapt vkms writeback to new drm_writeback_connector
drm/msm/dpu: Adapt dpu writeback to new drm_writeback_connector
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 +-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +-
.../drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c | 8 +--
.../gpu/drm/arm/display/komeda/komeda_crtc.c | 6 +-
.../gpu/drm/arm/display/komeda/komeda_kms.h | 6 +-
.../arm/display/komeda/komeda_wb_connector.c | 8 +--
drivers/gpu/drm/arm/malidp_drv.h | 2 +-
drivers/gpu/drm/arm/malidp_mw.c | 6 +-
drivers/gpu/drm/drm_writeback.c | 33 ++++++---
.../drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 3 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 16 +++--
drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.h | 4 +-
.../gpu/drm/renesas/rcar-du/rcar_du_crtc.h | 4 +-
.../drm/renesas/rcar-du/rcar_du_writeback.c | 22 +++---
drivers/gpu/drm/vc4/vc4_txp.c | 14 ++--
drivers/gpu/drm/vkms/vkms_composer.c | 2 +-
drivers/gpu/drm/vkms/vkms_drv.h | 2 +-
drivers/gpu/drm/vkms/vkms_writeback.c | 15 ++--
include/drm/drm_connector.h | 60 ++++++++++++++++
include/drm/drm_writeback.h | 68 ++-----------------
20 files changed, 155 insertions(+), 130 deletions(-)
--
2.34.1
Powered by blists - more mailing lists