On Mon, 21 Feb 2022 10:59:14 +0100, Maxime Ripard wrote: > From: Dave Stevenson <dave.stevenson@xxxxxxxxxxxxxxx> > > The drm_plane_create_color_properties() function asks for an initial > value for the color encoding and range, and will set the associated > plane state variable with that value if a state is present. > > However, that function is usually called at a time where there's no > state yet. Since the drm_plane_state reset helper doesn't take care of > reading that value when it's called, it means that in most cases the > initial value will be 0 (so DRM_COLOR_YCBCR_BT601 and > DRM_COLOR_YCBCR_LIMITED_RANGE, respectively), or the drivers will have > to work around it. > > [...] Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime