gamma_lut 316 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c regamma_lut = __extract_blob_lut(crtc->base.gamma_lut, ®amma_size); gamma_lut 156 drivers/gpu/drm/arm/malidp_crtc.c if (!state->color_mgmt_changed || !state->gamma_lut) gamma_lut 159 drivers/gpu/drm/arm/malidp_crtc.c if (crtc->state->gamma_lut && gamma_lut 160 drivers/gpu/drm/arm/malidp_crtc.c (crtc->state->gamma_lut->base.id == state->gamma_lut->base.id)) gamma_lut 163 drivers/gpu/drm/arm/malidp_crtc.c if (state->gamma_lut->length % sizeof(struct drm_color_lut)) gamma_lut 166 drivers/gpu/drm/arm/malidp_crtc.c lut_size = state->gamma_lut->length / sizeof(struct drm_color_lut); gamma_lut 170 drivers/gpu/drm/arm/malidp_crtc.c lut = (struct drm_color_lut *)state->gamma_lut->data; gamma_lut 191 drivers/gpu/drm/arm/malidp_crtc.c malidp_generate_gamma_table(state->gamma_lut, mc->gamma_coeffs); gamma_lut 69 drivers/gpu/drm/arm/malidp_drv.c if (!crtc->state->gamma_lut) { gamma_lut 77 drivers/gpu/drm/arm/malidp_drv.c if (!old_state->gamma_lut || (crtc->state->gamma_lut->base.id != gamma_lut 78 drivers/gpu/drm/arm/malidp_drv.c old_state->gamma_lut->base.id)) gamma_lut 136 drivers/gpu/drm/armada/armada_crtc.c struct drm_property_blob *blob = crtc->state->gamma_lut; gamma_lut 420 drivers/gpu/drm/armada/armada_crtc.c if (state->gamma_lut && drm_color_lut_size(state->gamma_lut) != 256) gamma_lut 424 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) gamma_lut 427 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; gamma_lut 3487 drivers/gpu/drm/drm_atomic_helper.c replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, blob); gamma_lut 121 drivers/gpu/drm/drm_atomic_state_helper.c if (state->gamma_lut) gamma_lut 122 drivers/gpu/drm/drm_atomic_state_helper.c drm_property_blob_get(state->gamma_lut); gamma_lut 194 drivers/gpu/drm/drm_atomic_state_helper.c drm_property_blob_put(state->gamma_lut); gamma_lut 456 drivers/gpu/drm/drm_atomic_uapi.c &state->gamma_lut, gamma_lut 503 drivers/gpu/drm/drm_atomic_uapi.c *val = (state->gamma_lut) ? state->gamma_lut->base.id : 0; gamma_lut 992 drivers/gpu/drm/drm_fb_helper.c struct drm_property_blob *gamma_lut; gamma_lut 1000 drivers/gpu/drm/drm_fb_helper.c gamma_lut = drm_property_create_blob(dev, sizeof(*lut) * size, NULL); gamma_lut 1001 drivers/gpu/drm/drm_fb_helper.c if (IS_ERR(gamma_lut)) gamma_lut 1002 drivers/gpu/drm/drm_fb_helper.c return gamma_lut; gamma_lut 1004 drivers/gpu/drm/drm_fb_helper.c lut = gamma_lut->data; gamma_lut 1028 drivers/gpu/drm/drm_fb_helper.c return gamma_lut; gamma_lut 1035 drivers/gpu/drm/drm_fb_helper.c struct drm_property_blob *gamma_lut = NULL; gamma_lut 1058 drivers/gpu/drm/drm_fb_helper.c if (!gamma_lut) gamma_lut 1059 drivers/gpu/drm/drm_fb_helper.c gamma_lut = setcmap_new_gamma_lut(crtc, cmap); gamma_lut 1060 drivers/gpu/drm/drm_fb_helper.c if (IS_ERR(gamma_lut)) { gamma_lut 1061 drivers/gpu/drm/drm_fb_helper.c ret = PTR_ERR(gamma_lut); gamma_lut 1062 drivers/gpu/drm/drm_fb_helper.c gamma_lut = NULL; gamma_lut 1075 drivers/gpu/drm/drm_fb_helper.c replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, gamma_lut 1076 drivers/gpu/drm/drm_fb_helper.c gamma_lut); gamma_lut 1100 drivers/gpu/drm/drm_fb_helper.c drm_property_blob_put(gamma_lut); gamma_lut 106 drivers/gpu/drm/i915/display/intel_color.c crtc_state->base.gamma_lut && gamma_lut 107 drivers/gpu/drm/i915/display/intel_color.c lut_is_legacy(crtc_state->base.gamma_lut); gamma_lut 422 drivers/gpu/drm/i915/display/intel_color.c i9xx_load_luts_internal(crtc_state, crtc_state->base.gamma_lut); gamma_lut 512 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 517 drivers/gpu/drm/i915/display/intel_color.c i965_load_lut_10p6(crtc, gamma_lut); gamma_lut 535 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 540 drivers/gpu/drm/i915/display/intel_color.c ilk_load_lut_10(crtc, gamma_lut); gamma_lut 636 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 645 drivers/gpu/drm/i915/display/intel_color.c ivb_load_lut_10(crtc, gamma_lut, PAL_PREC_SPLIT_MODE | gamma_lut 648 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *blob = gamma_lut ?: degamma_lut; gamma_lut 659 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 668 drivers/gpu/drm/i915/display/intel_color.c bdw_load_lut_10(crtc, gamma_lut, PAL_PREC_SPLIT_MODE | gamma_lut 671 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *blob = gamma_lut ?: degamma_lut; gamma_lut 747 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 766 drivers/gpu/drm/i915/display/intel_color.c bdw_load_lut_10(crtc, gamma_lut, PAL_PREC_INDEX_VALUE(0)); gamma_lut 804 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *blob = crtc_state->base.gamma_lut; gamma_lut 833 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *blob = crtc_state->base.gamma_lut; gamma_lut 883 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 900 drivers/gpu/drm/i915/display/intel_color.c bdw_load_lut_10(crtc, gamma_lut, PAL_PREC_INDEX_VALUE(0)); gamma_lut 962 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 975 drivers/gpu/drm/i915/display/intel_color.c if (gamma_lut) gamma_lut 976 drivers/gpu/drm/i915/display/intel_color.c chv_load_cgm_gamma(crtc, gamma_lut); gamma_lut 1001 drivers/gpu/drm/i915/display/intel_color.c return !old_crtc_state->base.gamma_lut && gamma_lut 1021 drivers/gpu/drm/i915/display/intel_color.c return !old_crtc_state->base.gamma_lut; gamma_lut 1039 drivers/gpu/drm/i915/display/intel_color.c !old_crtc_state->base.gamma_lut; gamma_lut 1127 drivers/gpu/drm/i915/display/intel_color.c const struct drm_property_blob *gamma_lut = crtc_state->base.gamma_lut; gamma_lut 1148 drivers/gpu/drm/i915/display/intel_color.c check_lut_size(gamma_lut, gamma_length)) gamma_lut 1152 drivers/gpu/drm/i915/display/intel_color.c drm_color_lut_check(gamma_lut, gamma_tests)) gamma_lut 1176 drivers/gpu/drm/i915/display/intel_color.c crtc_state->base.gamma_lut && gamma_lut 1201 drivers/gpu/drm/i915/display/intel_color.c if (crtc_state->base.gamma_lut) gamma_lut 1262 drivers/gpu/drm/i915/display/intel_color.c crtc_state->base.gamma_lut && gamma_lut 1290 drivers/gpu/drm/i915/display/intel_color.c else if (crtc_state->base.gamma_lut && gamma_lut 1323 drivers/gpu/drm/i915/display/intel_color.c (crtc_state->base.gamma_lut || gamma_lut 1362 drivers/gpu/drm/i915/display/intel_color.c crtc_state->base.gamma_lut && gamma_lut 1391 drivers/gpu/drm/i915/display/intel_color.c if (crtc_state->base.gamma_lut && gamma_lut 1395 drivers/gpu/drm/i915/display/intel_color.c if (!crtc_state->base.gamma_lut || gamma_lut 152 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c if (state->gamma_lut) { gamma_lut 157 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c lut = (struct drm_color_lut *)state->gamma_lut->data; gamma_lut 54 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->state.gamma_lut, gamma_lut 215 drivers/gpu/drm/nouveau/dispnv50/head.c struct drm_property_blob *olut = asyh->state.gamma_lut; gamma_lut 160 drivers/gpu/drm/nouveau/dispnv50/headc57d.c if (asyh->state.gamma_lut && gamma_lut 161 drivers/gpu/drm/nouveau/dispnv50/headc57d.c asyh->state.gamma_lut->length / sizeof(struct drm_color_lut) == 256) gamma_lut 341 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (!(ilut = asyh->state.gamma_lut)) { gamma_lut 575 drivers/gpu/drm/omapdrm/omap_crtc.c if (state->color_mgmt_changed && state->gamma_lut) { gamma_lut 576 drivers/gpu/drm/omapdrm/omap_crtc.c unsigned int length = state->gamma_lut->length / gamma_lut 616 drivers/gpu/drm/omapdrm/omap_crtc.c if (crtc->state->gamma_lut) { gamma_lut 618 drivers/gpu/drm/omapdrm/omap_crtc.c crtc->state->gamma_lut->data; gamma_lut 619 drivers/gpu/drm/omapdrm/omap_crtc.c length = crtc->state->gamma_lut->length / gamma_lut 411 drivers/gpu/drm/stm/ltdc.c if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) gamma_lut 414 drivers/gpu/drm/stm/ltdc.c lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; gamma_lut 238 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_color_lut *lut = crtc->state->gamma_lut->data; gamma_lut 239 drivers/gpu/drm/vc4/vc4_crtc.c u32 length = drm_color_lut_size(crtc->state->gamma_lut); gamma_lut 746 drivers/gpu/drm/vc4/vc4_crtc.c if (crtc->state->gamma_lut) { gamma_lut 277 include/drm/drm_crtc.h struct drm_property_blob *gamma_lut;