From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Boris BREZILLON <boris.brezillon@free-electrons.com>
Cc: David Airlie <airlied@linux.ie>,
dri-devel@lists.freedesktop.org,
Samuel Ortiz <sameo@linux.intel.com>,
Lee Jones <lee.jones@linaro.org>,
linux-pwm@vger.kernel.org,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Andrew Victor <linux@maxim.org.za>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Bo Shen <voice.shen@atmel.com>,
Ludovic Desroches <ludovic.desroches@atmel.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support
Date: Tue, 23 Sep 2014 11:55:42 +0200 [thread overview]
Message-ID: <5421439E.80501@atmel.com> (raw)
In-Reply-To: <20140923084228.GN30514@ulmo>
Hi Thierry,
On 23/09/2014 10:42, Thierry Reding :
> On Tue, Sep 23, 2014 at 09:24:36AM +0200, Boris BREZILLON wrote:
>> Hi Thierry,
>>
>> On Tue, 23 Sep 2014 08:32:33 +0200
>> Thierry Reding <thierry.reding@gmail.com> wrote:
>>
>>> On Mon, Sep 22, 2014 at 09:18:11PM +0200, Boris BREZILLON wrote:
>>>> On Mon, 8 Sep 2014 10:43:36 +0200 Boris BREZILLON <boris.brezillon@free-electrons.com> wrote:
>>> [...]
>>>>> diff --git a/drivers/gpu/drm/atmel-hlcdc/Kconfig b/drivers/gpu/drm/atmel-hlcdc/Kconfig
>>>>> new file mode 100644
>>>>> index 0000000..6d0d785
>>>>> --- /dev/null
>>>>> +++ b/drivers/gpu/drm/atmel-hlcdc/Kconfig
>>>>> @@ -0,0 +1,13 @@
>>>>> +config DRM_ATMEL_HLCDC
>>>>> + tristate "DRM Support for ATMEL HLCDC Display Controller"
>>>>> + depends on DRM && OF && MFD_ATMEL_HLCDC && COMMON_CLK
>>>>
>>>> I forgot to remove MFD_ATMEL_HLCDC dependency which is now selected...
>>>>
>>>>
>>>>> + select DRM_GEM_CMA_HELPER
>>>>> + select DRM_KMS_HELPER
>>>>> + select DRM_KMS_FB_HELPER
>>>>> + select DRM_KMS_CMA_HELPER
>>>>> + select DRM_PANEL
>>>>> + select MFD_ATMEL_HLCDC
>>>>
>>>> here.
>>>
>>> Maybe this was discussed earlier, but can you remind me why this was
>>> done? The changelog says it was to "simplify", but there's been some
>>> recent discussion that select should never be used for symbols that
>>> are user-visible because that can lead to issues.
>>>
>>> What were the problems having this as "depends on"?
>>
>> I had several people complaining about the complexity introduced by
>> this dependency scheme: if one wants to select the HLCDC KMS driver, he
>> has to select the HLCDC MFD driver first, which is kind of tricky.
>
> That's not at all tricky in my opinion. The MFD provides an LCDC as one
> of the devices, so requiring it to be selected before you can enable any
> of the subdrivers is very natural. It's also how the majority of MFD
> devices work.
Well, that's me that suggested to Boris to change this: I had very hard
time to enable the LCD driver when first moving to this new HLCD driver.
Usually, when I want to enable a LCD driver, I go to the "Graphics
support" menu.
>> The MFD_ATMEL_HLCDC symbol is now hidden (see patch 1) which should
>> solve part of the issue.
>
> I think that's wrong but I don't care enough to object.
Ok, me, I kind of like it: the MFD is something convenient to aggregate
two drivers using the same register set (LCD and Backlight) but has no
real "feature" interest in my opinion: it ease things.
>> Now that I have your attention :-), could you review this series [1] ?
>> The HLCDC KMS depends on those changes (which you and Laurent
>> suggested).
>
> My attention span tends to be very short these days. No promises. =)
>
> Thierry
>
Thanks, bye,
--
Nicolas Ferre
next prev parent reply other threads:[~2014-09-23 9:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 8:43 [PATCH v5 00/11] drm: add support for Atmel HLCDC Display Controller Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 01/11] mfd: add atmel-hlcdc driver Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 02/11] mfd: add documentation for atmel-hlcdc DT bindings Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 03/11] pwm: add support for atmel-hlcdc-pwm device Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 04/11] pwm: add DT bindings documentation for atmel-hlcdc-pwm driver Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support Boris BREZILLON
2014-09-19 13:10 ` David Herrmann
2014-09-22 9:15 ` Boris BREZILLON
2014-09-22 19:18 ` Boris BREZILLON
2014-09-23 6:32 ` Thierry Reding
2014-09-23 7:24 ` Boris BREZILLON
2014-09-23 8:42 ` Thierry Reding
2014-09-23 9:55 ` Nicolas Ferre [this message]
2014-09-26 21:10 ` Rob Clark
2014-09-27 20:12 ` Boris BREZILLON
2014-09-28 3:52 ` Rob Clark
2014-09-08 8:43 ` [PATCH v5 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 07/11] ARM: AT91/dt: split sama5d3 lcd pin definitions to match RGB mode configs Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 08/11] ARM: AT91/dt: add alternative pin muxing for sama5d3 lcd pins Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 09/11] ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 10/11] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi Boris BREZILLON
2014-09-08 8:43 ` [PATCH v5 11/11] ARM: at91/dt: enable the LCD panel on sama5d3xek boards Boris BREZILLON
2014-09-09 8:09 ` [PATCH v5 00/11] drm: add support for Atmel HLCDC Display Controller Harivel, Anthony
2014-09-26 0:02 ` Rob Clark
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=5421439E.80501@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=airlied@linux.ie \
--cc=alexandre.belloni@free-electrons.com \
--cc=boris.brezillon@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=laurent.pinchart@ideasonboard.com \
--cc=lee.jones@linaro.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux@maxim.org.za \
--cc=ludovic.desroches@atmel.com \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=plagnioj@jcrosoft.com \
--cc=robh+dt@kernel.org \
--cc=sameo@linux.intel.com \
--cc=thierry.reding@gmail.com \
--cc=voice.shen@atmel.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;
as well as URLs for NNTP newsgroup(s).