/linux/drivers/gpu/drm/i915/display/ |
A D | intel_color.c | 125 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 D | intel_atomic.c | 250 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 D | intel_display_types.h | 938 struct drm_property_blob *degamma_lut, *gamma_lut, *ctm; member
|
A D | intel_display.c | 6845 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 D | malidp_crtc.c | 158 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 D | malidp_drv.c | 69 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 D | drm_fb_helper.c | 982 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 D | drm_atomic_state_helper.c | 142 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 D | drm_atomic_uapi.c | 469 &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 D | drm_color_mgmt.c | 329 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, in drm_crtc_legacy_gamma_set()
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_disp_gamma.c | 63 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 D | amdgpu_dm_color.c | 305 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, ®amma_size); in amdgpu_dm_update_crtc_color_mgmt()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_hvs.c | 187 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 D | drm_crtc.h | 289 struct drm_property_blob *gamma_lut; member
|
/linux/drivers/gpu/drm/armada/ |
A D | armada_crtc.c | 136 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 D | rockchip_drm_vop.c | 1207 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 D | ingenic-drm-drv.c | 253 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 D | head.c | 59 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 D | wndw.c | 385 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
A D | atmel_hlcdc_plane.c | 425 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 D | rcar_du_crtc.c | 486 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 D | ltdc.c | 411 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 D | tidss_dispc.c | 2532 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 D | komeda_pipeline_state.c | 806 drm_lut_to_fgamma_coeffs(kcrtc_st->base.gamma_lut, in komeda_improc_validate()
|
/linux/drivers/gpu/drm/arm/display/komeda/d71/ |
A D | d71_component.c | 1063 if (crtc_st->gamma_lut) { in d71_improc_update()
|