Lines Matching refs:blobId
98 const IDisplayColorGS101::IDqe &dqe, uint32_t &blobId) in createCgcBlobFromIDqe() argument
123 int ret = mDrmDevice->CreatePropertyBlob(&cgc, sizeof(cgc_lut), &blobId); in createCgcBlobFromIDqe()
132 const IDisplayColorGS101::IDqe &dqe, uint32_t &blobId) in createDegammaLutBlobFromIDqe() argument
158 ret = mDrmDevice->CreatePropertyBlob(color_lut, sizeof(color_lut), &blobId); in createDegammaLutBlobFromIDqe()
167 const IDisplayColorGS101::IDqe &dqe, uint32_t &blobId) in createRegammaLutBlobFromIDqe() argument
195 ret = mDrmDevice->CreatePropertyBlob(color_lut, sizeof(color_lut), &blobId); in createRegammaLutBlobFromIDqe()
204 const IDisplayColorGS101::IDqe &dqe, uint32_t &blobId) in createGammaMatBlobFromIDqe() argument
214 ret = mDrmDevice->CreatePropertyBlob(&gamma_matrix, sizeof(gamma_matrix), &blobId); in createGammaMatBlobFromIDqe()
224 const IDisplayColorGS101::IDqe &dqe, uint32_t &blobId) in createLinearMatBlobFromIDqe() argument
234 ret = mDrmDevice->CreatePropertyBlob(&linear_matrix, sizeof(linear_matrix), &blobId); in createLinearMatBlobFromIDqe()
244 const IDisplayColorGS101::IDqe &dqe, uint32_t &blobId) in createDispDitherBlobFromIDqe() argument
249 blobId = 0; in createDispDitherBlobFromIDqe()
254 sizeof(dqeControl.config->disp_dither_reg), &blobId); in createDispDitherBlobFromIDqe()
264 const IDisplayColorGS101::IDqe &dqe, uint32_t &blobId) in createCgcDitherBlobFromIDqe() argument
269 blobId = 0; in createCgcDitherBlobFromIDqe()
274 sizeof(dqeControl.config->cgc_dither_reg), &blobId); in createCgcDitherBlobFromIDqe()
283 const IDisplayColorGS101::IDpp &dpp, uint32_t &blobId) in createEotfBlobFromIDpp() argument
304 int ret = mDrmDevice->CreatePropertyBlob(&eotf_lut, sizeof(eotf_lut), &blobId); in createEotfBlobFromIDpp()
313 const IDisplayColorGS101::IDpp &dpp, uint32_t &blobId) in createGmBlobFromIDpp() argument
329 ret = mDrmDevice->CreatePropertyBlob(&gm_matrix, sizeof(gm_matrix), &blobId); in createGmBlobFromIDpp()
338 const IDisplayColorGS101::IDpp &dpp, uint32_t &blobId) in createDtmBlobFromIDpp() argument
368 int ret = mDrmDevice->CreatePropertyBlob(&tm_data, sizeof(tm_data), &blobId); in createDtmBlobFromIDpp()
377 const IDisplayColorGS101::IDpp &dpp, uint32_t &blobId) in createOetfBlobFromIDpp() argument
398 int ret = mDrmDevice->CreatePropertyBlob(&oetf_lut, sizeof(oetf_lut), &blobId); in createOetfBlobFromIDpp()
421 uint32_t blobId = 0; in setDisplayColorBlob() local
426 ret = createCgcBlobFromIDqe(dqe, blobId); in setDisplayColorBlob()
429 ret = createDegammaLutBlobFromIDqe(dqe, blobId); in setDisplayColorBlob()
432 ret = createRegammaLutBlobFromIDqe(dqe, blobId); in setDisplayColorBlob()
435 ret = createGammaMatBlobFromIDqe(dqe, blobId); in setDisplayColorBlob()
438 ret = createLinearMatBlobFromIDqe(dqe, blobId); in setDisplayColorBlob()
441 ret = createDispDitherBlobFromIDqe(dqe, blobId); in setDisplayColorBlob()
444 ret = createCgcDitherBlobFromIDqe(dqe, blobId); in setDisplayColorBlob()
456 if ((blobId == 0) && (mOldDqeBlobs.getBlob(type) == 0)) in setDisplayColorBlob()
459 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), prop, blobId)) < 0) { in setDisplayColorBlob()
464 mOldDqeBlobs.addBlob(type, blobId); in setDisplayColorBlob()
583 uint32_t blobId = 0; in setPlaneColorBlob() local
588 ret = createEotfBlobFromIDpp(dpp, blobId); in setPlaneColorBlob()
591 ret = createGmBlobFromIDpp(dpp, blobId); in setPlaneColorBlob()
594 ret = createDtmBlobFromIDpp(dpp, blobId); in setPlaneColorBlob()
597 ret = createOetfBlobFromIDpp(dpp, blobId); in setPlaneColorBlob()
609 if ((blobId == 0) && (oldDppBlobs.getBlob(type) == 0) && !forceUpdate) in setPlaneColorBlob()
612 if ((ret = drmReq.atomicAddProperty(plane->id(), prop, blobId)) < 0) { in setPlaneColorBlob()
618 oldDppBlobs.addBlob(type, blobId); in setPlaneColorBlob()