Home
last modified time | relevance | path

Searched refs:gamma_lut (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
A Dintel_color.c125 crtc_state->hw.gamma_lut && in crtc_state_is_legacy_gamma()
563 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in i9xx_load_luts() local
594 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in i965_load_luts() local
641 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in ilk_load_luts() local
755 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in ivb_load_luts() local
784 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in bdw_load_luts() local
884 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in glk_load_luts() local
1028 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in icl_load_luts() local
1120 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in chv_load_luts() local
1286 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in check_luts() local
[all …]
A Dintel_atomic.c250 if (crtc_state->hw.gamma_lut) in intel_crtc_duplicate_state()
251 drm_property_blob_get(crtc_state->hw.gamma_lut); in intel_crtc_duplicate_state()
272 drm_property_blob_put(crtc_state->hw.gamma_lut); in intel_crtc_put_color_blobs()
286 drm_property_replace_blob(&crtc_state->hw.gamma_lut, in intel_crtc_copy_color_blobs()
287 from_crtc_state->uapi.gamma_lut); in intel_crtc_copy_color_blobs()
A Dintel_display_types.h938 struct drm_property_blob *degamma_lut, *gamma_lut, *ctm; member
A Dintel_display.c6845 pipe_config->hw.gamma_lut ? in intel_dump_pipe_config()
6846 drm_color_lut_size(pipe_config->hw.gamma_lut) : 0); in intel_dump_pipe_config()
6974 drm_property_replace_blob(&crtc_state->uapi.gamma_lut, in intel_crtc_copy_hw_to_uapi_state()
6975 crtc_state->hw.gamma_lut); in intel_crtc_copy_hw_to_uapi_state()
7716 PIPE_CONF_CHECK_COLOR_LUT(gamma_mode, hw.gamma_lut, bp_gamma); in intel_pipe_config_compare()
/linux/drivers/gpu/drm/arm/
A Dmalidp_crtc.c158 if (!state->color_mgmt_changed || !state->gamma_lut) in malidp_crtc_atomic_check_gamma()
161 if (crtc->state->gamma_lut && in malidp_crtc_atomic_check_gamma()
162 (crtc->state->gamma_lut->base.id == state->gamma_lut->base.id)) in malidp_crtc_atomic_check_gamma()
165 if (state->gamma_lut->length % sizeof(struct drm_color_lut)) in malidp_crtc_atomic_check_gamma()
168 lut_size = state->gamma_lut->length / sizeof(struct drm_color_lut); in malidp_crtc_atomic_check_gamma()
172 lut = (struct drm_color_lut *)state->gamma_lut->data; in malidp_crtc_atomic_check_gamma()
193 malidp_generate_gamma_table(state->gamma_lut, mc->gamma_coeffs); in malidp_crtc_atomic_check_gamma()
A Dmalidp_drv.c69 if (!crtc->state->gamma_lut) { in malidp_atomic_commit_update_gamma()
77 if (!old_state->gamma_lut || (crtc->state->gamma_lut->base.id != in malidp_atomic_commit_update_gamma()
78 old_state->gamma_lut->base.id)) in malidp_atomic_commit_update_gamma()
/linux/drivers/gpu/drm/
A Ddrm_fb_helper.c982 struct drm_property_blob *gamma_lut; in setcmap_new_gamma_lut() local
991 if (IS_ERR(gamma_lut)) in setcmap_new_gamma_lut()
992 return gamma_lut; in setcmap_new_gamma_lut()
994 lut = gamma_lut->data; in setcmap_new_gamma_lut()
1018 return gamma_lut; in setcmap_new_gamma_lut()
1048 if (!gamma_lut) in setcmap_atomic()
1050 if (IS_ERR(gamma_lut)) { in setcmap_atomic()
1051 ret = PTR_ERR(gamma_lut); in setcmap_atomic()
1052 gamma_lut = NULL; in setcmap_atomic()
1071 gamma_lut); in setcmap_atomic()
[all …]
A Ddrm_atomic_state_helper.c142 if (state->gamma_lut) in __drm_atomic_helper_crtc_duplicate_state()
143 drm_property_blob_get(state->gamma_lut); in __drm_atomic_helper_crtc_duplicate_state()
215 drm_property_blob_put(state->gamma_lut); in __drm_atomic_helper_crtc_destroy_state()
A Ddrm_atomic_uapi.c469 &state->gamma_lut, in drm_atomic_crtc_set_property()
519 *val = (state->gamma_lut) ? state->gamma_lut->base.id : 0; in drm_atomic_crtc_get_property()
A Ddrm_color_mgmt.c329 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, in drm_crtc_legacy_gamma_set()
/linux/drivers/gpu/drm/mediatek/
A Dmtk_disp_gamma.c63 if (state->gamma_lut) { in mtk_gamma_set_common()
68 lut = (struct drm_color_lut *)state->gamma_lut->data; in mtk_gamma_set_common()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_color.c305 lut = __extract_blob_lut(crtc_state->gamma_lut, &size); in amdgpu_dm_verify_lut_sizes()
356 regamma_lut = __extract_blob_lut(crtc->base.gamma_lut, &regamma_size); in amdgpu_dm_update_crtc_color_mgmt()
/linux/drivers/gpu/drm/vc4/
A Dvc4_hvs.c187 struct drm_color_lut *lut = crtc->state->gamma_lut->data; in vc4_hvs_update_gamma_lut()
188 u32 length = drm_color_lut_size(crtc->state->gamma_lut); in vc4_hvs_update_gamma_lut()
483 if (crtc->state->gamma_lut) { in vc4_hvs_atomic_flush()
/linux/include/drm/
A Ddrm_crtc.h289 struct drm_property_blob *gamma_lut; member
/linux/drivers/gpu/drm/armada/
A Darmada_crtc.c136 struct drm_property_blob *blob = crtc->state->gamma_lut; in armada_drm_update_gamma()
422 if (crtc_state->gamma_lut && drm_color_lut_size(crtc_state->gamma_lut) != 256) in armada_drm_crtc_atomic_check()
/linux/drivers/gpu/drm/rockchip/
A Drockchip_drm_vop.c1207 struct drm_color_lut *lut = crtc->state->gamma_lut->data; in vop_crtc_write_gamma_lut()
1249 if (!state->gamma_lut) in vop_crtc_gamma_set()
1311 if (crtc->state->gamma_lut) in vop_crtc_atomic_enable()
1444 crtc_state->gamma_lut) { in vop_crtc_atomic_check()
1447 len = drm_color_lut_size(crtc_state->gamma_lut); in vop_crtc_atomic_check()
/linux/drivers/gpu/drm/ingenic/
A Dingenic-drm-drv.c253 if (crtc_state->gamma_lut && in ingenic_drm_crtc_atomic_check()
254 drm_color_lut_size(crtc_state->gamma_lut) != ARRAY_SIZE(priv->dma_hwdescs->palette)) { in ingenic_drm_crtc_atomic_check()
602 ingenic_drm_update_palette(priv, crtc_state->gamma_lut->data); in ingenic_drm_plane_atomic_update()
/linux/drivers/gpu/drm/nouveau/dispnv50/
A Dhead.c59 asyh->state.gamma_lut, in nv50_head_flush_set_wndw()
230 struct drm_property_blob *olut = asyh->state.gamma_lut; in nv50_head_atomic_check_lut()
A Dwndw.c385 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
/linux/drivers/gpu/drm/atmel-hlcdc/
A Datmel_hlcdc_plane.c425 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in atmel_hlcdc_plane_update_clut()
428 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in atmel_hlcdc_plane_update_clut()
/linux/drivers/gpu/drm/rcar-du/
A Drcar_du_crtc.c486 struct drm_property_blob *drm_lut = state->gamma_lut; in rcar_du_cmm_check()
505 struct drm_property_blob *drm_lut = crtc->state->gamma_lut; in rcar_du_cmm_setup()
/linux/drivers/gpu/drm/stm/
A Dltdc.c411 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in ltdc_crtc_update_clut()
414 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in ltdc_crtc_update_clut()
/linux/drivers/gpu/drm/tidss/
A Dtidss_dispc.c2532 if (state->gamma_lut) { in dispc_vp_set_color_mgmt()
2533 lut = (struct drm_color_lut *)state->gamma_lut->data; in dispc_vp_set_color_mgmt()
2534 length = state->gamma_lut->length / sizeof(*lut); in dispc_vp_set_color_mgmt()
/linux/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_pipeline_state.c806 drm_lut_to_fgamma_coeffs(kcrtc_st->base.gamma_lut, in komeda_improc_validate()
/linux/drivers/gpu/drm/arm/display/komeda/d71/
A Dd71_component.c1063 if (crtc_st->gamma_lut) { in d71_improc_update()

Completed in 114 milliseconds