All of lore.kernel.org
 help / color / mirror / Atom feed
* How to specify panel bit order in driver?
@ 2024-06-28  3:54 John Watts
  2024-06-28  7:45 ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: John Watts @ 2024-06-28  3:54 UTC (permalink / raw)
  To: dri-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-02 11:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28  3:54 How to specify panel bit order in driver? John Watts
2024-06-28  7:45 ` Jani Nikula
2024-06-28 16:39   ` John Watts
2024-07-02 11:30     ` Dmitry Baryshkov

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.