/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_color.c | 122 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 …]
|
D | intel_atomic.c | 242 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()
|
D | intel_display_types.h | 806 struct drm_property_blob *degamma_lut, *gamma_lut, *ctm; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 156 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()
|
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_fb_helper.c | 959 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 …]
|
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()
|
D | drm_atomic_uapi.c | 458 &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()
|
D | drm_atomic_helper.c | 3565 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/ |
D | omap_crtc.c | 576 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/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
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() 479 if (crtc->state->gamma_lut) { in vc4_hvs_atomic_flush()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_crtc.h | 289 struct drm_property_blob *gamma_lut; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_ddp_comp.c | 311 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/ |
D | armada_crtc.c | 136 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/ |
D | head.c | 58 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()
|
D | wndw.c | 384 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 1197 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/ |
D | atmel_hlcdc_plane.c | 424 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/ |
D | rcar_du_crtc.c | 492 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/ |
D | ltdc.c | 410 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/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline_state.c | 806 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/ |
D | d71_component.c | 1063 if (crtc_st->gamma_lut) { in d71_improc_update()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 14355 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 …]
|