All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: Re[2]: [PATCH V2] video: implement a simple framebuffer driver
Date: Tue, 30 Apr 2013 15:07:57 +0000	[thread overview]
Message-ID: <201304301707.57197.arnd@arndb.de> (raw)
In-Reply-To: <1367332685.945287573@f287.mail.ru>

On Tuesday 30 April 2013, Alexander Shiyan wrote:
> > On 04/04/2013 05:39 AM, Stephen Warren wrote:
> > > A simple frame-buffer describes a raw memory region that may be rendered
> > > to, with the assumption that the display hardware has already been set
> > > up to scan out from that buffer.
> > > 
> > > This is useful in cases where a bootloader exists and has set up the
> > > display hardware, but a Linux driver doesn't yet exist for the display
> > > hardware.
> > > 
> > > Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> ...
> > > +   framebuffer {
> > > +           compatible = "simple-framebuffer";
> > > +           reg = <0x1d385000 (1600 * 1200 * 2)>;
> > > +           width = <1600>;
> > > +           height = <1200>;
> > > +           stride = <(1600 * 2)>;
> > > +           format = "r5g6b5";
> > > +   };
> > 
> > I'm not an expert on DT, but I think the point of DT is to describe the
> > hardware. This doesn't describe the hardware at all.
> 
> On my incompetent opinion, "bpp" parameter can replace size of
> framebuffer and "stride". Is not it?

Not necessarily: you could have a stride that is larger than a line.

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2] video: implement a simple framebuffer driver
Date: Tue, 30 Apr 2013 17:07:57 +0200	[thread overview]
Message-ID: <201304301707.57197.arnd@arndb.de> (raw)
In-Reply-To: <1367332685.945287573@f287.mail.ru>

On Tuesday 30 April 2013, Alexander Shiyan wrote:
> > On 04/04/2013 05:39 AM, Stephen Warren wrote:
> > > A simple frame-buffer describes a raw memory region that may be rendered
> > > to, with the assumption that the display hardware has already been set
> > > up to scan out from that buffer.
> > > 
> > > This is useful in cases where a bootloader exists and has set up the
> > > display hardware, but a Linux driver doesn't yet exist for the display
> > > hardware.
> > > 
> > > Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> ...
> > > +   framebuffer {
> > > +           compatible = "simple-framebuffer";
> > > +           reg = <0x1d385000 (1600 * 1200 * 2)>;
> > > +           width = <1600>;
> > > +           height = <1200>;
> > > +           stride = <(1600 * 2)>;
> > > +           format = "r5g6b5";
> > > +   };
> > 
> > I'm not an expert on DT, but I think the point of DT is to describe the
> > hardware. This doesn't describe the hardware at all.
> 
> On my incompetent opinion, "bpp" parameter can replace size of
> framebuffer and "stride". Is not it?

Not necessarily: you could have a stride that is larger than a line.

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: linux-fbdev@vger.kernel.org,
	Stephen Warren <swarren@wwwdotorg.org>,
	devicetree-discuss@lists.ozlabs.org,
	Rob Clark <robclark@gmail.com>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	linux-rpi-kernel@lists.infradead.org,
	Olof Johansson <olof@lixom.net>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: Re[2]: [PATCH V2] video: implement a simple framebuffer driver
Date: Tue, 30 Apr 2013 17:07:57 +0200	[thread overview]
Message-ID: <201304301707.57197.arnd@arndb.de> (raw)
In-Reply-To: <1367332685.945287573@f287.mail.ru>

On Tuesday 30 April 2013, Alexander Shiyan wrote:
> > On 04/04/2013 05:39 AM, Stephen Warren wrote:
> > > A simple frame-buffer describes a raw memory region that may be rendered
> > > to, with the assumption that the display hardware has already been set
> > > up to scan out from that buffer.
> > > 
> > > This is useful in cases where a bootloader exists and has set up the
> > > display hardware, but a Linux driver doesn't yet exist for the display
> > > hardware.
> > > 
> > > Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> ...
> > > +   framebuffer {
> > > +           compatible = "simple-framebuffer";
> > > +           reg = <0x1d385000 (1600 * 1200 * 2)>;
> > > +           width = <1600>;
> > > +           height = <1200>;
> > > +           stride = <(1600 * 2)>;
> > > +           format = "r5g6b5";
> > > +   };
> > 
> > I'm not an expert on DT, but I think the point of DT is to describe the
> > hardware. This doesn't describe the hardware at all.
> 
> On my incompetent opinion, "bpp" parameter can replace size of
> framebuffer and "stride". Is not it?

Not necessarily: you could have a stride that is larger than a line.

	Arnd

  reply	other threads:[~2013-04-30 15:07 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04  2:39 [PATCH V2] video: implement a simple framebuffer driver Stephen Warren
2013-04-04  2:39 ` Stephen Warren
2013-04-04  2:39 ` Stephen Warren
2013-04-09  0:16 ` Andrew Morton
2013-04-09  0:16   ` Andrew Morton
2013-04-09  0:16   ` Andrew Morton
2013-04-09  3:16   ` Stephen Warren
2013-04-09  3:16     ` Stephen Warren
2013-04-09  3:16     ` Stephen Warren
2013-04-09  8:08   ` Geert Uytterhoeven
2013-04-09  8:08     ` Geert Uytterhoeven
2013-04-09  8:08     ` Geert Uytterhoeven
2013-04-11  9:56   ` Laurent Pinchart
2013-04-11  9:56     ` Laurent Pinchart
2013-04-11  9:56     ` Laurent Pinchart
2013-04-11 16:06     ` Stephen Warren
2013-04-11 16:06       ` Stephen Warren
2013-04-11 16:06       ` Stephen Warren
2013-04-11 20:06       ` Laurent Pinchart
2013-04-11 20:06         ` Laurent Pinchart
2013-04-11 20:06         ` Laurent Pinchart
2013-04-11 20:38         ` Stephen Warren
2013-04-11 20:38           ` Stephen Warren
2013-04-11 20:38           ` Stephen Warren
2013-04-29 20:56           ` Laurent Pinchart
2013-04-29 20:56             ` Laurent Pinchart
2013-04-29 20:56             ` Laurent Pinchart
2013-04-29 21:15     ` Tomasz Figa
2013-04-29 21:15       ` Tomasz Figa
2013-04-29 21:15       ` Tomasz Figa
2013-04-29 21:20       ` Laurent Pinchart
2013-04-29 21:20         ` Laurent Pinchart
2013-04-29 21:20         ` Laurent Pinchart
2013-04-29 21:31         ` Tomasz Figa
2013-04-29 21:31           ` Tomasz Figa
2013-04-29 21:31           ` Tomasz Figa
2013-04-29 21:40           ` Laurent Pinchart
2013-04-29 21:40             ` Laurent Pinchart
2013-04-29 21:40             ` Laurent Pinchart
2013-04-29 22:04             ` Arnd Bergmann
2013-04-29 22:04               ` Arnd Bergmann
2013-04-29 22:04               ` Arnd Bergmann
2013-04-29 22:23               ` Laurent Pinchart
2013-04-29 22:23                 ` Laurent Pinchart
2013-04-29 22:23                 ` Laurent Pinchart
2013-04-29 22:40                 ` Olof Johansson
2013-04-29 22:40                   ` Olof Johansson
2013-04-29 22:40                   ` Olof Johansson
2013-04-30  9:50                   ` Laurent Pinchart
2013-04-30  9:50                     ` Laurent Pinchart
2013-04-30  9:50                     ` Laurent Pinchart
2013-05-02 18:25               ` Stephen Warren
2013-05-02 18:25                 ` Stephen Warren
2013-05-02 18:25                 ` Stephen Warren
2013-05-02 18:35                 ` Geert Uytterhoeven
2013-05-02 18:35                   ` Geert Uytterhoeven
2013-05-02 18:35                   ` Geert Uytterhoeven
2013-05-03 10:06                 ` Laurent Pinchart
2013-05-03 10:06                   ` Laurent Pinchart
2013-05-03 10:06                   ` Laurent Pinchart
2013-05-07 21:33                   ` Andrew Morton
2013-05-07 21:33                     ` Andrew Morton
2013-05-07 21:33                     ` Andrew Morton
2013-05-08  2:36                     ` Stephen Warren
2013-05-08  2:36                       ` Stephen Warren
2013-05-08  2:36                       ` Stephen Warren
2013-05-08 19:28                       ` Olof Johansson
2013-05-08 19:28                         ` Olof Johansson
2013-05-08 19:28                         ` Olof Johansson
2013-05-08 20:58                       ` Rob Landley
2013-05-08 20:58                         ` Rob Landley
2013-05-08 20:58                         ` Rob Landley
2013-04-30  7:28       ` Tomi Valkeinen
2013-04-30  7:28         ` Tomi Valkeinen
2013-04-30  7:28         ` Tomi Valkeinen
2013-04-11 10:42 ` Geert Uytterhoeven
2013-04-11 10:42   ` Geert Uytterhoeven
2013-04-11 10:42   ` Geert Uytterhoeven
2013-04-11 16:10   ` Stephen Warren
2013-04-11 16:10     ` Stephen Warren
2013-04-11 16:10     ` Stephen Warren
2013-04-30  7:27 ` Tomi Valkeinen
2013-04-30  7:27   ` Tomi Valkeinen
2013-04-30  7:27   ` Tomi Valkeinen
2013-04-30 10:28   ` Arnd Bergmann
2013-04-30 10:28     ` Arnd Bergmann
2013-04-30 10:28     ` Arnd Bergmann
2013-04-30 11:42     ` Laurent Pinchart
2013-04-30 11:42       ` Laurent Pinchart
2013-04-30 11:42       ` Laurent Pinchart
2013-04-30 11:48       ` Tomi Valkeinen
2013-04-30 11:48         ` Tomi Valkeinen
2013-04-30 11:48         ` Tomi Valkeinen
2013-04-30 11:49         ` Laurent Pinchart
2013-04-30 11:49           ` Laurent Pinchart
2013-04-30 11:49           ` Laurent Pinchart
2013-04-30 11:46     ` Tomi Valkeinen
2013-04-30 11:46       ` Tomi Valkeinen
2013-04-30 11:46       ` Tomi Valkeinen
2013-05-03  5:40       ` Dave Airlie
2013-05-03  5:40         ` Dave Airlie
2013-05-03  5:40         ` Dave Airlie
2013-04-30  7:39 ` Tomi Valkeinen
2013-04-30  7:39   ` Tomi Valkeinen
2013-04-30  7:39   ` Tomi Valkeinen
2013-04-30 10:34   ` Arnd Bergmann
2013-04-30 10:34     ` Arnd Bergmann
2013-04-30 10:34     ` Arnd Bergmann
2013-04-30 14:38   ` Re[2]: [PATCH V2] video: implement a simple f =?UTF-8?B?cmFtZWJ1ZmZlciBkc Alexander Shiyan
2013-04-30 14:38     ` Re[2]: [PATCH V2] video: implement a simple framebuffer driver Alexander Shiyan
2013-04-30 14:38     ` Alexander Shiyan
2013-04-30 15:07     ` Arnd Bergmann [this message]
2013-04-30 15:07       ` Arnd Bergmann
2013-04-30 15:07       ` Arnd Bergmann
2013-05-18 10:29 ` Alexandre Courbot
2013-05-18 10:29   ` Alexandre Courbot
2013-05-18 10:29   ` Alexandre Courbot
2013-05-20 15:25   ` Stephen Warren
2013-05-20 15:25     ` Stephen Warren
2013-05-20 15:25     ` Stephen Warren

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=201304301707.57197.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.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.