Open klogg opened 4 years ago
Using IT66121 capabilities we can enable color conversion and gamma corrections. Something like this needed for start, then LUTs configuration etc.
/* TODO: Setup color management and probably LUTs */ drm_crtc_enable_color_mgmt(&drm_if->pipe.crtc, 0, false, 0); /* xxx->sRGB translation */ drm_plane_create_color_properties(&drm_if->pipe.plane, BIT(DRM_COLOR_YCBCR_BT601), BIT(DRM_COLOR_YCBCR_LIMITED_RANGE), DRM_COLOR_YCBCR_BT601, DRM_COLOR_YCBCR_LIMITED_RANGE);
There is also palette configuration available [probably] for gamma corrections. Some kind of SRAM onboard?
Palette configuration is not for gamma corrections. Checked by @steve-m
Using IT66121 capabilities we can enable color conversion and gamma corrections. Something like this needed for start, then LUTs configuration etc.