From: Tomi Valkeinen <tomi.valkeinen-l0cyMroinI0@public.gmane.org>
To: Inki Dae <inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: RE: [PATCH] RFC: omapdrm DRM/KMS driver for TI OMAP platforms
Date: Wed, 07 Sep 2011 09:24:11 +0300 [thread overview]
Message-ID: <1315376651.1909.12.camel@deskari> (raw)
In-Reply-To: <004e01cc6d23$78c151c0$6a43f540$%dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
On Wed, 2011-09-07 at 15:00 +0900, Inki Dae wrote:
> Hello, Rob.
>
> > -----Original Message-----
> > From: robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [mailto:robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org] On Behalf Of Rob
> > Clark
> > Sent: Tuesday, September 06, 2011 1:05 AM
> > To: Inki Dae
> > Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org; linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org;
> > Valkeinen, Tomi
> > Subject: Re: [PATCH] RFC: omapdrm DRM/KMS driver for TI OMAP platforms
> >
> > On Mon, Sep 5, 2011 at 4:58 AM, Inki Dae <inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> wrote:
<snip>
> > > How about moving codes above into interrupt handler for vblank?
> > > maybe there
> >
> > I should mention a couple of things:
> >
> > 1) drm vblank stuff isn't really used currently.. it is actually DSS2
> > layer that is registering for the display related interrupt(s). I'm
> > not really sure how to handle this best. I suppose the DRM driver
> > could *also* register for these interrupts, but that seems a bit odd..
> >
>
> DRM Framework supports only one interrupt handler. this issue should be
> resolved. and currently I made our driver to use its own request_irq, not
> DRM Framework side. we only sets drm_device->irq_enabled to 1 and interrupt
> handler is registered at display controller or hdmi driver respectively. but
> I'm not sure that this way is best so I will look over more. Anyway current
> drm framework should be fixed to be considered with multiple irq.
I am actually going to hide the display subsystem interrupts, as they
are really a DSS2 driver internal thing, and create some kind of
notifications for the events that the users of DSS2 need to see. I don't
know how that affects the OMAP DRM driver, but it should be a much
cleaner interface.
> > Also, I guess it is also worth mentioning.. when it comes to vblank,
> > there are two fundamentally different sorts of displays we deal with.
> > Something like DVI/HDMI/etc which need constant refreshing. In these
> > cases we constantly scan-out the buffer until the next page
> > flip+vsync. And smart panels, where they get scanned out once and
> > then DSS is no longer reading the scanout buffer until we manually
> > trigger an update.
> >
>
> Is the Smart panel CPU interface based lcd panel that has its own
> framebuffer internally.?
I don't like the "smart panel" term very much, but yes, it has an
internal framebuffer. The panels are connected via DSI command mode or
DBI bus. They can be updated with CPU, but normally they are not and use
the same display controller hardware as other displays to update the
screen.
The biggest difference with these smart panels compared to conventional
ones is that pixel data is only sent to the panel when needed (i.e. when
somebody has changed the pixel data), and the panel retains the last
sent frame independently on the screen, and the SoC can even go to
sleep.
Tomi
next prev parent reply other threads:[~2011-09-07 6:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-02 20:07 [PATCH] RFC: omapdrm DRM/KMS driver for TI OMAP platforms Rob Clark
2011-09-03 6:57 ` Dave Airlie
[not found] ` <CAPM=9twbq8ZV5rGpy5NrcrbytFX2F_W7ZnLqYLezcM3fRxx=ag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-03 13:24 ` Rob Clark
2011-09-03 18:53 ` Daniel Vetter
2011-09-04 16:29 ` Rob Clark
2011-09-04 19:49 ` Daniel Vetter
[not found] ` <20110904194942.GC2799-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2011-09-04 20:59 ` Rob Clark
2011-09-05 9:58 ` Inki Dae
[not found] ` <002201cc6bb2$61779780$2466c680$%dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2011-09-05 16:05 ` Rob Clark
[not found] ` <CAF6AEGt3F7rsrvqP3vmy_xj3Cu1JuFci1qig9B=NMGz3owpMAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-07 6:00 ` Inki Dae
[not found] ` <004e01cc6d23$78c151c0$6a43f540$%dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2011-09-07 6:24 ` Tomi Valkeinen [this message]
2011-09-07 18:43 ` Rob Clark
[not found] ` <CAF6AEGstFPA-NYGpLGMAB+VCskv9CPrJf=H3SoxWYZ3Ea2GELg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-14 5:44 ` Inki Dae
[not found] ` <000d01cc72a1$6e3797e0$4aa6c7a0$%dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2011-09-14 19:42 ` Rob Clark
[not found] ` <CAF6AEGsmOUgNT3hci4sze0gLA-jB-NHg_mu3xxEq5XOnrnwF+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-15 4:37 ` Inki Dae
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=1315376651.1909.12.camel@deskari \
--to=tomi.valkeinen-l0cymroini0@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
/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.