Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_color.c122 crtc_state->hw.gamma_lut && in crtc_state_is_legacy_gamma()
123 lut_is_legacy(crtc_state->hw.gamma_lut); in crtc_state_is_legacy_gamma()
561 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in i9xx_load_luts() local
565 i9xx_load_lut_8(crtc, gamma_lut); in i9xx_load_luts()
592 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in i965_load_luts() local
600 i9xx_load_lut_8(crtc, gamma_lut); in i965_load_luts()
602 i965_load_lut_10p6(crtc, gamma_lut); in i965_load_luts()
639 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in ilk_load_luts() local
642 ilk_load_lut_8(crtc, gamma_lut); in ilk_load_luts()
644 ilk_load_lut_10(crtc, gamma_lut); in ilk_load_luts()
[all …]
Dintel_atomic.c242 if (crtc_state->hw.gamma_lut) in intel_crtc_duplicate_state()
243 drm_property_blob_get(crtc_state->hw.gamma_lut); in intel_crtc_duplicate_state()
264 drm_property_blob_put(crtc_state->hw.gamma_lut); in intel_crtc_put_color_blobs()
277 drm_property_replace_blob(&crtc_state->hw.gamma_lut, in intel_crtc_copy_color_blobs()
278 crtc_state->uapi.gamma_lut); in intel_crtc_copy_color_blobs()
Dintel_display_types.h806 struct drm_property_blob *degamma_lut, *gamma_lut, *ctm; member
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_crtc.c156 if (!state->color_mgmt_changed || !state->gamma_lut) in malidp_crtc_atomic_check_gamma()
159 if (crtc->state->gamma_lut && in malidp_crtc_atomic_check_gamma()
160 (crtc->state->gamma_lut->base.id == state->gamma_lut->base.id)) in malidp_crtc_atomic_check_gamma()
163 if (state->gamma_lut->length % sizeof(struct drm_color_lut)) in malidp_crtc_atomic_check_gamma()
166 lut_size = state->gamma_lut->length / sizeof(struct drm_color_lut); in malidp_crtc_atomic_check_gamma()
170 lut = (struct drm_color_lut *)state->gamma_lut->data; in malidp_crtc_atomic_check_gamma()
191 malidp_generate_gamma_table(state->gamma_lut, mc->gamma_coeffs); in malidp_crtc_atomic_check_gamma()
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_fb_helper.c959 struct drm_property_blob *gamma_lut; in setcmap_new_gamma_lut() local
967 gamma_lut = drm_property_create_blob(dev, sizeof(*lut) * size, NULL); in setcmap_new_gamma_lut()
968 if (IS_ERR(gamma_lut)) in setcmap_new_gamma_lut()
969 return gamma_lut; in setcmap_new_gamma_lut()
971 lut = gamma_lut->data; in setcmap_new_gamma_lut()
995 return gamma_lut; in setcmap_new_gamma_lut()
1002 struct drm_property_blob *gamma_lut = NULL; in setcmap_atomic() local
1025 if (!gamma_lut) in setcmap_atomic()
1026 gamma_lut = setcmap_new_gamma_lut(crtc, cmap); in setcmap_atomic()
1027 if (IS_ERR(gamma_lut)) { in setcmap_atomic()
[all …]
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()
Ddrm_atomic_uapi.c458 &state->gamma_lut, in drm_atomic_crtc_set_property()
505 *val = (state->gamma_lut) ? state->gamma_lut->base.id : 0; in drm_atomic_crtc_get_property()
Ddrm_atomic_helper.c3565 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, blob); in drm_atomic_helper_legacy_gamma_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_crtc.c576 if (state->color_mgmt_changed && state->gamma_lut) { in omap_crtc_atomic_check()
577 unsigned int length = state->gamma_lut->length / in omap_crtc_atomic_check()
617 if (crtc->state->gamma_lut) { in omap_crtc_atomic_flush()
619 crtc->state->gamma_lut->data; in omap_crtc_atomic_flush()
620 length = crtc->state->gamma_lut->length / in omap_crtc_atomic_flush()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
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()
479 if (crtc->state->gamma_lut) { in vc4_hvs_atomic_flush()
/kernel/linux/linux-5.10/include/drm/
Ddrm_crtc.h289 struct drm_property_blob *gamma_lut; member
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp_comp.c311 if (state->gamma_lut) { in mtk_gamma_set()
316 lut = (struct drm_color_lut *)state->gamma_lut->data; in mtk_gamma_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_crtc.c136 struct drm_property_blob *blob = crtc->state->gamma_lut; in armada_drm_update_gamma()
420 if (state->gamma_lut && drm_color_lut_size(state->gamma_lut) != 256) in armada_drm_crtc_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Dhead.c58 asyh->state.gamma_lut, in nv50_head_flush_set_wndw()
229 struct drm_property_blob *olut = asyh->state.gamma_lut; in nv50_head_atomic_check_lut()
Dwndw.c384 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1197 struct drm_color_lut *lut = crtc->state->gamma_lut->data; in vop_crtc_write_gamma_lut()
1239 if (!state->gamma_lut) in vop_crtc_gamma_set()
1295 if (crtc->state->gamma_lut) in vop_crtc_atomic_enable()
1426 crtc_state->gamma_lut) { in vop_crtc_atomic_check()
1429 len = drm_color_lut_size(crtc_state->gamma_lut); in vop_crtc_atomic_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c424 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in atmel_hlcdc_plane_update_clut()
427 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in atmel_hlcdc_plane_update_clut()
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c492 struct drm_property_blob *drm_lut = state->gamma_lut; in rcar_du_cmm_check()
511 struct drm_property_blob *drm_lut = crtc->state->gamma_lut; in rcar_du_cmm_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/
Dltdc.c410 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in ltdc_crtc_update_clut()
413 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in ltdc_crtc_update_clut()
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline_state.c806 drm_lut_to_fgamma_coeffs(kcrtc_st->base.gamma_lut, in komeda_improc_validate()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c1063 if (crtc_st->gamma_lut) { in d71_improc_update()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch14355 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, blob);
14368 if (state->gamma_lut)
14369 drm_property_blob_get(state->gamma_lut);
14380 drm_property_blob_put(state->gamma_lut);
14411 *val = (state->gamma_lut) ? state->gamma_lut->base.id : 0;
25793 + struct drm_color_lut *gamma_lut;
26911 + struct drm_color_lut *lut = vop->gamma_lut;
28226 + { "gamma_lut", vop_gamma_show, 0, NULL },
29303 - struct drm_color_lut *lut = crtc->state->gamma_lut->data;
29374 - * To disable gamma (gamma_lut is null) or to write
[all …]

12