From: John Watts <contact@jookia.org>
To: dri-devel@lists.freedesktop.org
Subject: How to specify panel bit order in driver?
Date: Fri, 28 Jun 2024 13:54:36 +1000 [thread overview]
Message-ID: <Zn4z_OJJ07xg_xmh@titan> (raw)
Hello there,
A while ago I added support for the FS035VG158 panel to the kernel, with its
use case being on a Allwinner T113 board.
While troubleshooting some other issue (I will be posting about that this
weekend) I found that I need to tell the panel controller to use a bit depth of
18-bit in order for the panel to work correctly.
I plan to add another panel to the kernel that also requires setting the bit
depth, but has more configurations than just 24, 18, 16, it also supports
packing 18 of the bits together.
How all of this is configured depends on how the board and panel are wired
together, it can't be determined at runtime based on pixel formats or anything
like that. It seems to me that this needs to be specified in the device tree.
My question is: How would I represent this? A property like 'bit-depth'?
'color-mapping'? Or is there already some subsystem or convention designed for
this?
John.
next reply other threads:[~2024-06-28 3:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-28 3:54 John Watts [this message]
2024-06-28 7:45 ` How to specify panel bit order in driver? Jani Nikula
2024-06-28 16:39 ` John Watts
2024-07-02 11:30 ` Dmitry Baryshkov
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=Zn4z_OJJ07xg_xmh@titan \
--to=contact@jookia.org \
--cc=dri-devel@lists.freedesktop.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.