Linux Tegra architecture development
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	javierm@redhat.com, noralf@tronnes.org
Cc: "Daniel Vetter" <daniel.vetter@ffwll.ch>,
	dri-devel@lists.freedesktop.org,
	"Mikko Perttunen" <mperttunen@nvidia.com>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	amd-gfx@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org,
	"Russell King" <linux@armlinux.org.uk>,
	"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>,
	"Kyungmin Park" <kyungmin.park@samsung.com>,
	"Paul Schyska" <pschyska@gmail.com>,
	"Torsten Krah" <krah.tm@gmail.com>,
	linux-arm-msm@vger.kernel.org,
	"Abhinav Kumar" <quic_abhinavk@quicinc.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	linux-tegra@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	freedreno@lists.freedesktop.org, "Pan,
	Xinhui" <Xinhui.Pan@amd.com>,
	"Seung-Woo Kim" <sw0312.kim@samsung.com>,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Moritz Duge" <MoritzDuge@kolahilft.de>,
	"Christian König" <christian.koenig@amd.com>
Subject: Re: [PATCH] drm/client: Send hotplug event after registering a client
Date: Tue, 11 Jul 2023 08:07:25 +0200	[thread overview]
Message-ID: <117aea3d-c316-509d-7be7-ade155b4ae85@suse.de> (raw)
In-Reply-To: <325dad0e-38ff-9f60-efc9-0fd711d63267@linaro.org>


[-- Attachment #1.1: Type: text/plain, Size: 1811 bytes --]

Hi

Am 10.07.23 um 23:11 schrieb Dmitry Baryshkov:
[...]
>> ---
>>   drivers/gpu/drm/armada/armada_fbdev.c     |  4 ----
>>   drivers/gpu/drm/drm_client.c              | 21 +++++++++++++++++++++
>>   drivers/gpu/drm/drm_fbdev_dma.c           |  4 ----
>>   drivers/gpu/drm/drm_fbdev_generic.c       |  4 ----
>>   drivers/gpu/drm/exynos/exynos_drm_fbdev.c |  4 ----
>>   drivers/gpu/drm/gma500/fbdev.c            |  4 ----
>>   drivers/gpu/drm/msm/msm_fbdev.c           |  4 ----
> 
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # msm

Thanks.

> 
>>   drivers/gpu/drm/omapdrm/omap_fbdev.c      |  4 ----
>>   drivers/gpu/drm/radeon/radeon_fbdev.c     |  4 ----
>>   drivers/gpu/drm/tegra/fbdev.c             |  4 ----
>>   10 files changed, 21 insertions(+), 36 deletions(-)
> 
> BTW: As you have been clearing this area. I see that significant amount 
> of DRM drivers use exactly the same code for msm_fbdev_client_funcs and 
> for the significant part of foo_fbdev_setup(). Do you have any plans for 
> moving that into a library / generic code? If not, I can take a look at 
> crafting the patch.
> 

You're not the first to ask. :) I've so far not attempted to address 
this duplication. I've been bitten by premature helperization before, so 
I wanted to wait a bit longer. A lot of the fbdev and client code is 
changing quite a bit. After things stabilized, I want to to try to do 
some more code sharing.

Best regards
Thomas

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2023-07-11  6:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10  9:10 [PATCH] drm/client: Send hotplug event after registering a client Thomas Zimmermann
2023-07-10  9:52 ` Javier Martinez Canillas
2023-07-10  9:58   ` Thomas Zimmermann
2023-07-10 16:56     ` Limonciello, Mario
2023-07-10 21:11 ` Dmitry Baryshkov
2023-07-11  6:07   ` Thomas Zimmermann [this message]
2023-07-11 10:09     ` Dmitry Baryshkov
2023-07-11 17:20 ` Abhinav Kumar

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=117aea3d-c316-509d-7be7-ade155b4ae85@suse.de \
    --to=tzimmermann@suse.de \
    --cc=MoritzDuge@kolahilft.de \
    --cc=Xinhui.Pan@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=krah.tm@gmail.com \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mperttunen@nvidia.com \
    --cc=mripard@kernel.org \
    --cc=noralf@tronnes.org \
    --cc=pschyska@gmail.com \
    --cc=quic_abhinavk@quicinc.com \
    --cc=stable@vger.kernel.org \
    --cc=sw0312.kim@samsung.com \
    --cc=thierry.reding@gmail.com \
    --cc=tomi.valkeinen@ideasonboard.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