Lines Matching refs:olut
46 if (clr.olut) head->func->olut_clr(head);
55 if (asyh->set.olut ) {
56 asyh->olut.offset = nv50_lut_load(&head->olut,
57 asyh->olut.buffer,
59 asyh->olut.load);
229 struct drm_property_blob *olut = asyh->state.gamma_lut;
233 if (olut) {
237 if (asyh->wndw.olut) {
241 if (asyh->wndw.olut != asyh->wndw.mask)
243 olut = NULL;
247 if (!olut) {
249 asyh->olut.handle = 0;
254 size = drm_color_lut_size(olut);
257 if (!head->func->olut(head, asyh, size)) {
258 DRM_DEBUG_KMS("Invalid olut\n");
261 asyh->olut.handle = disp->core->chan.vram.handle;
262 asyh->olut.buffer = !asyh->olut.buffer;
361 asyh->olut.visible = asyh->olut.handle != 0;
376 asyh->olut.visible = false;
382 asyh->olut.visible = false;
406 if (asyh->olut.visible) {
407 if (memcmp(&armh->olut, &asyh->olut, sizeof(asyh->olut)))
408 asyh->set.olut = true;
410 if (armh->olut.visible) {
411 asyh->clr.olut = true;
414 asyh->clr.olut = armh->olut.visible;
417 asyh->set.olut = asyh->olut.visible;
457 asyh->olut = armh->olut;
498 nv50_lut_fini(&head->olut);
599 ret = nv50_lut_init(disp, &drm->client.mmu, &head->olut);