Jonas Ådahl
abac217617
crtc-mode-kms: Wrap MetaKmsMode instead of drmModeModeInfo
...
We'll need to use the MetaKmsMode later on for state keeping.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488 >
2021-01-22 16:47:08 +00:00
Jonas Ådahl
0fa0eeef57
kms/mode: Add getter for name
...
Gets the name directly from the DRM mode.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488 >
2021-01-22 16:47:08 +00:00
Jonas Ådahl
2c4a3c5959
kms/mode: Add mode flags
...
Will be used to add flags modes specific to MetaKmsMode.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488 >
2021-01-22 16:47:08 +00:00
Jonas Ådahl
eb66449ab7
kms/mode: Add API to create blob IDs for modes on demand
...
Will be used by the atomic KMS backend.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488 >
2021-01-22 16:47:08 +00:00
Jonas Ådahl
f0d3201dab
kms: Add MetaKmsMode abstraction
...
This contains a copy of a drmModeModeInfo, describing a mode. It also
has an unused pointer to the impl device it is associated with. It'll
later be used to get a blob ID for the mode.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488 >
2021-01-22 16:47:08 +00:00