VKMS: New plane formats

From: Igor Matheus Andrade Torrente
Date: Wed Sep 01 2021 - 16:19:10 EST


Hi,

I'm working to add new plane formats to vkms. But I don't know what should be the behavior in the situation that we received multiple planes with different formats from the users-space.

For example, if the user chooses:
- DRM_FORMAT_ARGB16161616 to the primary plane
- DRM_FORMAT_ARGB8888 to the cursor
- DRM_FORMAT_YUV42 to the overlay

What should be the output format that will be used to calculate the crc? DRM_FORMAT_ARGB16161616?

My idea was to convert all the planes to the primary, but I'm not sure if it is the right approach.

Best regards,
---
Igor M. A. Torrente