From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: hardcoding of plane ID's to hardware planes
Date: Thu, 02 Apr 2015 02:09:59 +0000 [thread overview]
Message-ID: <1702225.SiyoLnNE83@avalon> (raw)
Hello Devendra,
On Wednesday 01 April 2015 10:48:57 Devendra Talegaonkar wrote:
> Hi Laurent,
>
> On R-car platform, is there any way to map plane ID to hardware plane number
> at the time of initialization. It seems DRM/KMS driver maps user plane ID to
> first available hardware plane.
>
> If suppose, plane ID's are from 10 to 15 (for 6 planes) and there are total
> 6 hardware planes then is it possible to achieve following scenario:
>
> Plane ID 10 <-> hardware plane 1
> Plane ID 11 <-> hardware plane 2
> Plane ID 12 <-> hardware plane 3
> Plane ID 13 <-> hardware plane 4
> Plane ID 14 <-> hardware plane 5
> Plane ID 15 <-> hardware plane 6
>
> We are not using any layer manager or X11 as a server.
First of all, please note that the KMS plane ID is dynamic and isn't
guaranteed to be stable with kernel upgrades, or possibly even across reboots.
The reason for dynamic allocation of hardware planes is that planar YUV
formats (NV12, NV21 and NV16) require two hardware planes, while all other
formats use a single hardware plane. It's thus not possible to map KMS planes
to hardware planes at initialization time as the driver can't know what
formats to expect for the planes.
--
Regards,
Laurent Pinchart
reply other threads:[~2015-04-02 2:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1702225.SiyoLnNE83@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-sh@vger.kernel.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 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).