[PATCH v2 00/10] drm: Add new pixel formats for Xilinx Zynqmp

Tomi Valkeinen tomi.valkeinen at ideasonboard.com
Wed Jan 15 12:11:38 UTC 2025


Hi,

On 15/01/2025 13:13, Dmitry Baryshkov wrote:
> On Wed, Jan 15, 2025 at 11:03:29AM +0200, Tomi Valkeinen wrote:
>> Add new DRM pixel formats and add support for those in the Xilinx zynqmp
>> display driver.
>>
>> All of these formats are already supported in upstream gstreamer, except
>> in the gstreamer kmssink, which obviously cannot support the formats
>> without kernel having the formats.
>>
>> Xilinx has support for these formats in their BSP kernel, and Xilinx has
>> a branch here, adding the support to gstreamer kmssink:
>>
>> https://github.com/Xilinx/gst-plugins-bad.git xlnx-rebase-v1.18.5
>>
>> New formats added:
>>
>> DRM_FORMAT_Y8
>> - 8-bit Y-only
>> - fourcc: "GREY"
>> - gstreamer: GRAY8
>>
>> DRM_FORMAT_Y10_LE32
>> - 10-bit Y-only
>> - fourcc: "YPA4"
>> - gstreamer: GRAY10_LE32
>>
>> DRM_FORMAT_XV15
>> - Like NV12, but with 10-bit components
>> - fourcc: "XV15"
>> - gstreamer: NV12_10LE32
>>
>> DRM_FORMAT_XV20
>> - Like NV16, but with 10-bit components
>> - fourcc: "XV20"
>> - gstreamer: NV16_10LE32
>>
>> DRM_FORMAT_X403
>> - 10-bit 4:4:4
>> - fourcc: "X403"
>> - gstreamer: Y444_10LE32
> 
> Could you possibly add support for those formats to the modetest util?

Yes, I can do that.

I was mainly using https://github.com/tomba/pykms for testing, and 
sometimes gstreamer. Adding support to modetest is (hopefully) not too 
complex (the XV15 and XV20 are a bit annoying formats).

  Tomi



More information about the dri-devel mailing list