Lines Matching refs:gamma_lut
982 struct drm_property_blob *gamma_lut; in setcmap_new_gamma_lut() local
990 gamma_lut = drm_property_create_blob(dev, sizeof(*lut) * size, NULL); in setcmap_new_gamma_lut()
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()
1025 struct drm_property_blob *gamma_lut = NULL; in setcmap_atomic() local
1048 if (!gamma_lut) in setcmap_atomic()
1049 gamma_lut = setcmap_new_gamma_lut(crtc, cmap); 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()
1070 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, in setcmap_atomic()
1071 gamma_lut); in setcmap_atomic()
1095 drm_property_blob_put(gamma_lut); in setcmap_atomic()