Home
last modified time | relevance | path

Searched refs:drm_lut (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/rcar-du/
Drcar_cmm.c52 const struct drm_color_lut *drm_lut) in rcar_cmm_lut_write() argument
57 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()
Drcar_du_crtc.c497 struct drm_property_blob *drm_lut = state->gamma_lut; in rcar_du_cmm_check() local
501 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() local
523 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()