linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Anholt <eric@anholt.net>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: "open list\:DRM PANEL DRIVERS" <dri-devel@lists.freedesktop.org>,
	Tom Cooksey <tom.cooksey@arm.com>,
	Russell King <linux@armlinux.org.uk>,
	"linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v5] drm/pl111: Initial drm/kms driver for pl111
Date: Tue, 11 Apr 2017 15:13:49 -0700	[thread overview]
Message-ID: <87lgr6ego2.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <CACRpkdacg9tR3n3V2cZ=S9yv-xb+rxLRv8mE8nXQLoja6zXd0g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2166 bytes --]

Linus Walleij <linus.walleij@linaro.org> writes:

> On Tue, Apr 11, 2017 at 3:18 AM, Eric Anholt <eric@anholt.net> wrote:
>
>> From: Tom Cooksey <tom.cooksey@arm.com>
>
> Well that can be debated at this point. I think it should have
> your Author: tag and just Tom in the Signed-off-by, then mention
> the history in the commit message.
>
>> This is a modesetting driver for the pl111 CLCD display controller
>> found on various ARM platforms such as the Versatile Express. The
>> driver has only been tested on the bcm911360_entphn platform so far,
>> with PRIME-based buffer sharing between vc4 and clcd.
>>
>> It reuses the existing devicetree binding, while not using quite as
>> many of its properties as the fbdev driver does (those are left for
>> future work).
>>
>> v2: Nearly complete rewrite by anholt, cutting 2/3 of the code thanks
>>     to DRM core's excellent new helpers.
>> v3: Don't match pl110 any more, don't attach if we don't have a DRM
>>     panel, use DRM_GEM_CMA_FOPS, update MAINTAINERS, use the simple
>>     display helper, use drm_gem_cma_dumb_create (same as our wrapper).
>> v4: Change the driver's .name to not clash with fbdev in sysfs, drop
>>     platform alias, drop redundant "drm" in DRM driver name, hook up
>>     .prepare_fb to the CMA helper so that DMA fences should work.
>> v5: Move register definitions inside the driver directory, fix build
>>     in COMPILE_TEST and !AMBA mode.
>>
>> Signed-off-by: Tom Cooksey <tom.cooksey@arm.com>
>> Signed-off-by: Eric Anholt <eric@anholt.net>
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>
> This is as good starting point as any. We need to get moving with
> this. Some minor things below that can just as well be fixed later.

Oh, one last thing I think we need to figure out: I'm using TIM2_CLKSEL,
which seems to be necessary on this platform.  My understanding is that
this means that the pixel clock is divided from clcdclk instead of
apb_pclk.  Do you agree?  The fbdev driver is using
clk_get(&fb->dev->dev, NULL) and not TIM2_CLKSEL, which I'm surprised by
because I would have thought that would give us the first clock from the
DT node (also clcdclk).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2017-04-11 22:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11  1:18 [PATCH v5] drm/pl111: Initial drm/kms driver for pl111 Eric Anholt
2017-04-11  9:17 ` Linus Walleij
2017-04-11  9:26   ` Daniel Vetter
2017-04-11 16:10   ` Eric Anholt
2017-04-11 22:13   ` Eric Anholt [this message]
2017-04-12  7:40     ` Linus Walleij
2017-04-12 15:27       ` Neil Armstrong
2017-04-12 16:37         ` Stephen Boyd
2017-04-12 23:13       ` Russell King - ARM Linux
2017-04-11  9:37 ` Russell King - ARM Linux
2017-04-11 16:06   ` Eric Anholt
2017-04-11 18:10     ` Russell King - ARM Linux
2017-04-11 21:00       ` Eric Anholt
2017-04-12 22:51         ` Russell King - ARM Linux
2017-04-20 19:48           ` Eric Anholt

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=87lgr6ego2.fsf@eliezer.anholt.net \
    --to=eric@anholt.net \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=tom.cooksey@arm.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).