/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_color.c | 154 crtc_state->hw.gamma_lut && in crtc_state_is_legacy_gamma() 155 lut_is_legacy(crtc_state->hw.gamma_lut); in crtc_state_is_legacy_gamma() 584 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in i9xx_load_luts() local 588 i9xx_load_lut_8(crtc, gamma_lut); in i9xx_load_luts() 615 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in i965_load_luts() local 623 i9xx_load_lut_8(crtc, gamma_lut); in i965_load_luts() 625 i965_load_lut_10p6(crtc, gamma_lut); in i965_load_luts() 662 const struct drm_property_blob *gamma_lut = crtc_state->hw.gamma_lut; in ilk_load_luts() local 666 ilk_load_lut_8(crtc, gamma_lut); in ilk_load_luts() 669 ilk_load_lut_10(crtc, gamma_lut); in ilk_load_luts() [all …]
|
D | intel_atomic.c | 252 if (crtc_state->hw.gamma_lut) in intel_crtc_duplicate_state() 253 drm_property_blob_get(crtc_state->hw.gamma_lut); in intel_crtc_duplicate_state() 275 drm_property_blob_put(crtc_state->hw.gamma_lut); in intel_crtc_put_color_blobs()
|
D | intel_crtc_state_dump.c | 304 pipe_config->hw.gamma_lut ? in intel_crtc_state_dump() 305 drm_color_lut_size(pipe_config->hw.gamma_lut) : 0); in intel_crtc_state_dump()
|
D | intel_modeset_setup.c | 160 drm_property_replace_blob(&crtc_state->uapi.gamma_lut, in intel_crtc_copy_hw_to_uapi_state() 161 crtc_state->hw.gamma_lut); in intel_crtc_copy_hw_to_uapi_state()
|
D | intel_display_types.h | 1004 struct drm_property_blob *degamma_lut, *gamma_lut, *ctm; member
|
/linux-6.1.9/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 159 if (!state->color_mgmt_changed || !state->gamma_lut) in malidp_crtc_atomic_check_gamma() 162 if (crtc->state->gamma_lut && in malidp_crtc_atomic_check_gamma() 163 (crtc->state->gamma_lut->base.id == state->gamma_lut->base.id)) in malidp_crtc_atomic_check_gamma() 166 if (state->gamma_lut->length % sizeof(struct drm_color_lut)) in malidp_crtc_atomic_check_gamma() 169 lut_size = state->gamma_lut->length / sizeof(struct drm_color_lut); in malidp_crtc_atomic_check_gamma() 173 lut = (struct drm_color_lut *)state->gamma_lut->data; in malidp_crtc_atomic_check_gamma() 194 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()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1044 struct drm_property_blob *gamma_lut; in setcmap_new_gamma_lut() local 1052 gamma_lut = drm_property_create_blob(dev, sizeof(*lut) * size, NULL); in setcmap_new_gamma_lut() 1053 if (IS_ERR(gamma_lut)) in setcmap_new_gamma_lut() 1054 return gamma_lut; in setcmap_new_gamma_lut() 1056 lut = gamma_lut->data; in setcmap_new_gamma_lut() 1080 return gamma_lut; in setcmap_new_gamma_lut() 1087 struct drm_property_blob *gamma_lut = NULL; in setcmap_atomic() local 1110 if (!gamma_lut) in setcmap_atomic() 1111 gamma_lut = setcmap_new_gamma_lut(crtc, cmap); in setcmap_atomic() 1112 if (IS_ERR(gamma_lut)) { in setcmap_atomic() [all …]
|
D | drm_atomic_state_helper.c | 144 if (state->gamma_lut) in __drm_atomic_helper_crtc_duplicate_state() 145 drm_property_blob_get(state->gamma_lut); in __drm_atomic_helper_crtc_duplicate_state() 217 drm_property_blob_put(state->gamma_lut); in __drm_atomic_helper_crtc_destroy_state()
|
D | drm_atomic_uapi.c | 435 &state->gamma_lut, in drm_atomic_crtc_set_property() 485 *val = (state->gamma_lut) ? state->gamma_lut->base.id : 0; in drm_atomic_crtc_get_property()
|
D | drm_color_mgmt.c | 333 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, in drm_crtc_legacy_gamma_set()
|
/linux-6.1.9/drivers/gpu/drm/mediatek/ |
D | mtk_disp_gamma.c | 65 if (state->gamma_lut) { in mtk_gamma_set_common() 70 lut = (struct drm_color_lut *)state->gamma_lut->data; in mtk_gamma_set_common()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_color.c | 360 lut = __extract_blob_lut(crtc_state->gamma_lut, &size); in amdgpu_dm_verify_lut_sizes() 412 regamma_lut = __extract_blob_lut(crtc->base.gamma_lut, ®amma_size); in amdgpu_dm_update_crtc_color_mgmt()
|
/linux-6.1.9/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 579 struct drm_property_blob *new_gamma_lut = new_crtc_state->gamma_lut; in mgag200_crtc_helper_atomic_check() 617 if (crtc_state->gamma_lut) in mgag200_crtc_helper_atomic_flush() 618 mgag200_crtc_set_gamma(mdev, format, crtc_state->gamma_lut->data); in mgag200_crtc_helper_atomic_flush()
|
/linux-6.1.9/drivers/gpu/drm/vc4/ |
D | vc4_hvs.c | 245 struct drm_color_lut *lut = crtc_state->gamma_lut->data; in vc4_hvs_update_gamma_lut() 246 u32 length = drm_color_lut_size(crtc_state->gamma_lut); in vc4_hvs_update_gamma_lut() 628 if (crtc->state->gamma_lut) { in vc4_hvs_atomic_flush()
|
/linux-6.1.9/include/drm/ |
D | drm_crtc.h | 280 struct drm_property_blob *gamma_lut; member
|
/linux-6.1.9/drivers/gpu/drm/armada/ |
D | armada_crtc.c | 135 struct drm_property_blob *blob = crtc->state->gamma_lut; in armada_drm_update_gamma() 421 if (crtc_state->gamma_lut && drm_color_lut_size(crtc_state->gamma_lut) != 256) in armada_drm_crtc_atomic_check()
|
/linux-6.1.9/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 1231 struct drm_color_lut *lut = crtc->state->gamma_lut->data; in vop_crtc_write_gamma_lut() 1255 if (!state->gamma_lut || !VOP_HAS_REG(vop, common, update_gamma_lut)) { in vop_crtc_gamma_set() 1276 if (!state->gamma_lut) in vop_crtc_gamma_set() 1454 if (crtc->state->gamma_lut) in vop_crtc_atomic_enable() 1496 crtc_state->gamma_lut) { in vop_crtc_atomic_check() 1499 len = drm_color_lut_size(crtc_state->gamma_lut); in vop_crtc_atomic_check()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/ |
D | head.c | 59 asyh->state.gamma_lut, in nv50_head_flush_set_wndw() 233 struct drm_property_blob *olut = asyh->state.gamma_lut, in nv50_head_atomic_check_lut()
|
D | wndw.c | 387 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
|
/linux-6.1.9/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 426 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in atmel_hlcdc_plane_update_clut() 429 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in atmel_hlcdc_plane_update_clut()
|
/linux-6.1.9/drivers/gpu/drm/ingenic/ |
D | ingenic-drm-drv.c | 344 if (crtc_state->gamma_lut && in ingenic_drm_crtc_atomic_check() 345 drm_color_lut_size(crtc_state->gamma_lut) != ARRAY_SIZE(priv->dma_hwdescs->palette)) { in ingenic_drm_crtc_atomic_check() 726 ingenic_drm_update_palette(priv, crtc_state->gamma_lut->data); in ingenic_drm_plane_atomic_update()
|
/linux-6.1.9/drivers/gpu/drm/rcar-du/ |
D | rcar_du_crtc.c | 497 struct drm_property_blob *drm_lut = state->gamma_lut; in rcar_du_cmm_check() 516 struct drm_property_blob *drm_lut = crtc->state->gamma_lut; in rcar_du_cmm_setup()
|
/linux-6.1.9/drivers/gpu/drm/tidss/ |
D | tidss_dispc.c | 2535 if (state->gamma_lut) { in dispc_vp_set_color_mgmt() 2536 lut = (struct drm_color_lut *)state->gamma_lut->data; in dispc_vp_set_color_mgmt() 2537 length = state->gamma_lut->length / sizeof(*lut); in dispc_vp_set_color_mgmt()
|
/linux-6.1.9/drivers/gpu/drm/stm/ |
D | ltdc.c | 762 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in ltdc_crtc_update_clut() 765 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in ltdc_crtc_update_clut()
|