dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add pixel formats used in Synatpics SoC
@ 2022-08-08 16:27 Hsia-Jun Li
  2022-08-08 16:27 ` [PATCH 1/2] drm/fourcc: Add Synaptics VideoSmart tiled modifiers Hsia-Jun Li
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Hsia-Jun Li @ 2022-08-08 16:27 UTC (permalink / raw)
  To: dri-devel
  Cc: linux-arm-kernel, tfiga, tzimmermann, sebastian.hesselbarth,
	airlied, linux-kernel, linux-media, sakari.ailus,
	Hsia-Jun(Randy) Li, laurent.pinchart, ribalda, hverkuil-cisco,
	mchehab, jszhang, ezequiel

From: "Hsia-Jun(Randy) Li" <randy.li@synaptics.com>

Those pixel formats are used in Synaptics's VideoSmart series SoCs,
likes VS640, VS680.  I just disclose the pixel formats used in the video
codecs and display pipeline this time. Actually any device with a MTR
module could support those tiled and compressed pixel formats. The more
detail about MTR module could be found in the first patch of this serial
of mail.

We may not be able to post any drivers here in a short time, the most of
work in this platform is done in the Trusted Execution Environment and
we didn't use the optee framework.

Please notice that, the memory planes used for video codecs would be 5
when the compression is invoked while it would be 4 for display, the
extra planes in the video codecs is for the decoding internally usage,
it can't append the luma or chroma buffer as many other drivers do,
because this buffer could be only accessed by the video codecs itself,
it requests a different memory security attributes. Any other reason is
described in the v4l pixel formats's patch. I don't know whether a
different numbers of memory planes between drm and v4l2 is acceptable.

I only posted the compression fourcc for the v4l2, because it is really
hard to put the uncompression version of pixel formats under the fourcc.
I would be better that we could have something likes format modifers in
drm here.

https://synaptics.com/products/multimedia-solutions

Hsia-Jun(Randy) Li (2):
  drm/fourcc: Add Synaptics VideoSmart tiled modifiers
  [WIP]: media: Add Synaptics compressed tiled format

 drivers/media/v4l2-core/v4l2-common.c |  1 +
 drivers/media/v4l2-core/v4l2-ioctl.c  |  2 ++
 include/uapi/drm/drm_fourcc.h         | 49 +++++++++++++++++++++++++++
 include/uapi/linux/videodev2.h        |  2 ++
 4 files changed, 54 insertions(+)

-- 
2.17.1


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

end of thread, other threads:[~2022-08-24 19:16 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08 16:27 [PATCH 0/2] Add pixel formats used in Synatpics SoC Hsia-Jun Li
2022-08-08 16:27 ` [PATCH 1/2] drm/fourcc: Add Synaptics VideoSmart tiled modifiers Hsia-Jun Li
2022-08-18  6:07   ` Tomasz Figa
2022-08-18  6:49     ` Hsia-Jun Li
2022-08-18 23:16   ` Laurent Pinchart
2022-08-18 23:37     ` Hsia-Jun Li
2022-08-08 16:27 ` [PATCH 2/2] [WIP]: media: Add Synaptics compressed tiled format Hsia-Jun Li
2022-08-18  6:06   ` Tomasz Figa
2022-08-18  6:33     ` Hsia-Jun Li
2022-08-18 23:13       ` Laurent Pinchart
2022-08-18 23:51         ` Hsia-Jun Li
2022-08-19 15:28         ` Nicolas Dufresne
2022-08-19 15:44           ` Hsia-Jun Li
2022-08-19 19:17             ` Nicolas Dufresne
2022-08-20  0:10               ` Hsia-Jun Li
2022-08-22 14:15                 ` Nicolas Dufresne
2022-08-23  7:40                   ` Hsia-Jun Li
2022-08-23 13:44                     ` Nicolas Dufresne
2022-08-23  6:05             ` Tomasz Figa
2022-08-23  7:03               ` Hsia-Jun Li
2022-08-23 14:02                 ` Nicolas Dufresne
2022-08-19 15:26       ` Nicolas Dufresne
2022-08-18 23:08 ` [PATCH 0/2] Add pixel formats used in Synatpics SoC Laurent Pinchart
2022-08-18 23:28   ` Hsia-Jun Li

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).