From: Heiko Stuebner <heiko@sntech.de>
To: Sandy Huang <hjc@rock-chips.com>,
Andy Yan <andy.yan@rock-chips.com>,
Diogo Silva <diogompaissilva@gmail.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
David Airlie <airlied@gmail.com>,
Maxime Ripard <mripard@kernel.org>,
Simona Vetter <simona@ffwll.ch>,
linux-arm-kernel@lists.infradead.org,
Thomas Zimmermann <tzimmermann@suse.de>,
dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
"javierm@redhat.com" <javierm@redhat.com>
Subject: Re: [PATCH v4] drm/rockchip: Remove dependency on DRM simple helpers
Date: Fri, 03 Jul 2026 20:30:41 +0200 [thread overview]
Message-ID: <2837071.mvXUDI8C0e@phil> (raw)
In-Reply-To: <CAJpoHp489qKfkfLOX-XPLpOWo86gibZB=NM_dXPbv0yDGmxysg@mail.gmail.com>
Hi Diogo,
Am Donnerstag, 2. Juli 2026, 22:18:58 Mitteleuropäische Sommerzeit schrieb Diogo Silva:
> Simple KMS helper are deprecated since they only add an intermediate
> layer between drivers and the atomic modesetting.
> This patch removes the drm_simple_encoder_init() helper usage in the
> rockchip drivers by open coding it and using the encoder atomic helpers
> directly. This is a step to eventually get rid of this simple KMS helper,
> once all drivers that use it have been converted.
>
> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
> Signed-off-by: Diogo Silva <diogompaissilva@gmail.com>
> ---
> v4:
> - improved commit message based on Javier Canillas feedback
>
> v3:
> - rebase on drm-tip tree
>
> drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 9 ++++++---
> drivers/gpu/drm/rockchip/cdn-dp-core.c | 9 ++++++---
> drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 9 +++++++--
> drivers/gpu/drm/rockchip/dw-mipi-dsi2-rockchip.c | 8 ++++++--
> drivers/gpu/drm/rockchip/dw_dp-rockchip.c | 1 -
> drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 1 -
> drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 1 -
> drivers/gpu/drm/rockchip/rk3066_hdmi.c | 8 ++++++--
> drivers/gpu/drm/rockchip/rockchip_lvds.c | 9 +++++++--
> drivers/gpu/drm/rockchip/rockchip_rgb.c | 8 ++++++--
> 10 files changed, 44 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
> b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
> index 776954c7d052..46c245e35d21 100644
> --- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
> +++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
> @@ -30,7 +30,6 @@
> #include <drm/drm_of.h>
> #include <drm/drm_print.h>
> #include <drm/drm_probe_helper.h>
> -#include <drm/drm_simple_kms_helper.h>
>
> #include "rockchip_drm_drv.h"
>
> @@ -303,6 +302,10 @@ rockchip_dp_drm_encoder_atomic_check(struct
> drm_encoder *encoder,
> return 0;
the tool you're using to send patches seems broken.
In the patch all the places that should be tabs are replaced as spaces.
This of course does not apply.
Ideally use git send-email or b4 for sending patches.
Also, please don't send new versions as replies to previous ones.
Tooling can get confused by this, so please start a new thread for
the next version.
Thanks
Heiko
next prev parent reply other threads:[~2026-07-03 18:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-08 12:40 [PATCH v3] drm/rockchip: Remove dependency on DRM simple helpers Diogo Silva
2026-07-01 10:59 ` [PATCH RESEND " Diogo Silva
2026-07-02 20:18 ` [PATCH v4] " Diogo Silva
2026-07-03 18:30 ` Heiko Stuebner [this message]
2026-07-02 9:23 ` [PATCH v3] " Javier Martinez Canillas
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=2837071.mvXUDI8C0e@phil \
--to=heiko@sntech.de \
--cc=airlied@gmail.com \
--cc=andy.yan@rock-chips.com \
--cc=diogompaissilva@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hjc@rock-chips.com \
--cc=javierm@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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