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);
232 struct drm_property_blob *olut = asyh->state.gamma_lut,
247 if (olut) {
251 if (asyh->wndw.olut) {
255 if (asyh->wndw.olut != asyh->wndw.mask)
257 olut = NULL;
261 if (!olut) {
263 asyh->olut.handle = 0;
268 size = drm_color_lut_size(olut);
271 if (!head->func->olut(head, asyh, size)) {
276 asyh->olut.handle = disp->core->chan.vram.handle;
277 asyh->olut.buffer = !asyh->olut.buffer;
384 asyh->olut.visible = asyh->olut.handle != 0;
398 asyh->olut.visible = false;
404 asyh->olut.visible = false;
428 if (asyh->olut.visible) {
429 if (memcmp(&armh->olut, &asyh->olut, sizeof(asyh->olut)))
430 asyh->set.olut = true;
432 if (armh->olut.visible) {
433 asyh->clr.olut = true;
436 asyh->clr.olut = armh->olut.visible;
439 asyh->set.olut = asyh->olut.visible;
479 asyh->olut = armh->olut;
521 nv50_lut_fini(&head->olut);
620 ret = nv50_lut_init(disp, &drm->client.mmu, &head->olut);