All of lore.kernel.org
 help / color / mirror / Atom feed
From: Javier Martinez Canillas <javierm@redhat.com>
To: "Thomas Zimmermann" <tzimmermann@suse.de>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"David Airlie" <airlied@linux.ie>,
	"Daniel Vetter" <daniel@ffwll.ch>
Cc: kernel@pengutronix.de, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2] drm: Only select I2C_ALGOBIT for drivers that actually need it
Date: Fri, 16 Dec 2022 14:01:37 +0100	[thread overview]
Message-ID: <fd3cf15c-9a07-ef43-daeb-10aaf767e809@redhat.com> (raw)
In-Reply-To: <12b18ff8-532e-66bd-1c34-2880c1762a22@suse.de>

On 11/28/22 19:16, Thomas Zimmermann wrote:
> Hi
> 
> Am 12.09.22 um 11:15 schrieb Uwe Kleine-König:
>> While working on a drm driver that doesn't need the i2c algobit stuff I
>> noticed that DRM selects this code even tough only 8 drivers actually use
>> it. While also only some drivers use i2c, keep the select for I2C for the
>> next cleanup patch. Still prepare this already by also selecting I2C for
>> the individual drivers.
>>
>> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
>> ---
>> Changes since v1
>> (20210514100142.1182997-1-u.kleine-koenig@pengutronix.de) from
>> 2021-05-14:
>>
>>   - rebased to next-20220909
>>     was something around v5.13-rc2 before, required to fix context
>>     changes in the nouveau Kconfig file. git am -3 handled it just fine.
>>
>> I reverified that no new drivers were added that need a corresponding
>> select.
>>
>> Best regards
>> Uwe
>>
>>   drivers/gpu/drm/Kconfig                 | 5 ++++-
>>   drivers/gpu/drm/ast/Kconfig             | 2 ++
>>   drivers/gpu/drm/gma500/Kconfig          | 2 ++
>>   drivers/gpu/drm/hisilicon/hibmc/Kconfig | 2 ++
>>   drivers/gpu/drm/i915/Kconfig            | 2 ++
>>   drivers/gpu/drm/mgag200/Kconfig         | 2 ++
>>   drivers/gpu/drm/nouveau/Kconfig         | 2 ++
>>   7 files changed, 16 insertions(+), 1 deletion(-)
> 
> amdgpu and radeon also include <linux/i2c-algo-bit.h>. Are they special 
> in some way?
> 

Uwe, do you have an answer for this question? I wan to merge this patch
but don't know if need to wait for a v3 including those drivers too.

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat


  reply	other threads:[~2022-12-16 13:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-12  9:15 [PATCH v2] drm: Only select I2C_ALGOBIT for drivers that actually need it Uwe Kleine-König
2022-11-28 16:39 ` Uwe Kleine-König
2022-11-28 16:54 ` Javier Martinez Canillas
2022-11-28 17:48   ` Uwe Kleine-König
2022-11-28 18:16 ` Thomas Zimmermann
2022-12-16 13:01   ` Javier Martinez Canillas [this message]
2022-12-16 18:11   ` Uwe Kleine-König
2022-12-16 18:25     ` Alex Deucher
2022-12-17 23:19       ` Uwe Kleine-König

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=fd3cf15c-9a07-ef43-daeb-10aaf767e809@redhat.com \
    --to=javierm@redhat.com \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kernel@pengutronix.de \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=tzimmermann@suse.de \
    --cc=u.kleine-koenig@pengutronix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.