Add support for color encoding and range properties

Merged Matvii Zorin requested to merge matviizorin/drm-hwcomposer:color_properties into main

Starting from linux-v4.17 drm module have support for different non-RGB color encodings are controlled through-plane specific COLOR_ENCODING and COLOR_RANGE properties.

This PR creates a matching between the hwc layer dataspace which is supported by drm driver and drm plane properties.

Corresponding to the Glodroid issue#78.

Edited by Matvii Zorin

Merge request reports