On Monday, April 26th, 2021 at 9:36 AM, Pekka Paalanen ppaalanen@gmail.com wrote:
This should probably explain what the bits in the mask correspond to. As in, which CRTC does bit 0 refer to, and so on.
What about:
"possible_crtcs: Bitmask of CRTC's compatible with the plane. CRTC's are created and they receive an index, which corresponds to their position in the bitmask. CRTC with index 0 will be in bit 0, and so on."
This would still need to explain where can I find this index.
This closed merge request had some docs about possible CRTCs:
https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/102