Re: VKMS: New plane formats

2021-09-02 Thread Igor Matheus Andrade Torrente
On 9/1/21 5:24 PM, Simon Ser wrote: Ideally the final composition format would have enough precision for all of the planes. I think it'd make sense to use ARGB16161616 if the primary plane uses ARGB and an overlay plane uses ARGB16161616. To simplify the code, maybe it's fine to always use A

Re: VKMS: New plane formats

2021-09-01 Thread Simon Ser
Ideally the final composition format would have enough precision for all of the planes. I think it'd make sense to use ARGB16161616 if the primary plane uses ARGB and an overlay plane uses ARGB16161616. To simplify the code, maybe it's fine to always use ARGB16161616 for the output, and add ge

VKMS: New plane formats

2021-09-01 Thread Igor Matheus Andrade Torrente
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_ARGB