Searched refs:drm_lut (Results 1 – 2 of 2) sorted by relevance
52 const struct drm_color_lut *drm_lut) in rcar_cmm_lut_write() argument57 u32 entry = drm_color_lut_extract(drm_lut[i].red, 8) << 16 in rcar_cmm_lut_write()58 | drm_color_lut_extract(drm_lut[i].green, 8) << 8 in rcar_cmm_lut_write()59 | drm_color_lut_extract(drm_lut[i].blue, 8); in rcar_cmm_lut_write()
497 struct drm_property_blob *drm_lut = state->gamma_lut; in rcar_du_cmm_check() local501 if (!drm_lut) in rcar_du_cmm_check()505 if (drm_color_lut_size(drm_lut) != CM2_LUT_SIZE) { in rcar_du_cmm_check()507 drm_lut->length); in rcar_du_cmm_check()516 struct drm_property_blob *drm_lut = crtc->state->gamma_lut; in rcar_du_cmm_setup() local523 if (drm_lut) in rcar_du_cmm_setup()524 cmm_config.lut.table = (struct drm_color_lut *)drm_lut->data; in rcar_du_cmm_setup()