Lines Matching refs:gamma_lut
1207 struct drm_property_blob *gamma_lut; in setcmap_new_gamma_lut() local
1215 gamma_lut = drm_property_create_blob(dev, sizeof(*lut) * size, NULL); in setcmap_new_gamma_lut()
1216 if (IS_ERR(gamma_lut)) in setcmap_new_gamma_lut()
1217 return gamma_lut; in setcmap_new_gamma_lut()
1219 lut = gamma_lut->data; in setcmap_new_gamma_lut()
1243 return gamma_lut; in setcmap_new_gamma_lut()
1250 struct drm_property_blob *gamma_lut = NULL; in setcmap_atomic() local
1273 if (!gamma_lut) in setcmap_atomic()
1274 gamma_lut = setcmap_new_gamma_lut(crtc, cmap); in setcmap_atomic()
1275 if (IS_ERR(gamma_lut)) { in setcmap_atomic()
1276 ret = PTR_ERR(gamma_lut); in setcmap_atomic()
1277 gamma_lut = NULL; in setcmap_atomic()
1295 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, in setcmap_atomic()
1296 gamma_lut); in setcmap_atomic()
1320 drm_property_blob_put(gamma_lut); in setcmap_atomic()