Lines Matching refs:olut

47 	if (clr.olut) head->func->olut_clr(head);  in nv50_head_flush_clr()
56 if (asyh->set.olut ) { in nv50_head_flush_set_wndw()
57 asyh->olut.offset = nv50_lut_load(&head->olut, in nv50_head_flush_set_wndw()
58 asyh->olut.buffer, in nv50_head_flush_set_wndw()
60 asyh->olut.load); in nv50_head_flush_set_wndw()
233 struct drm_property_blob *olut = asyh->state.gamma_lut, in nv50_head_atomic_check_lut() local
248 if (olut) { in nv50_head_atomic_check_lut()
252 if (asyh->wndw.olut) { in nv50_head_atomic_check_lut()
256 if (asyh->wndw.olut != asyh->wndw.mask) in nv50_head_atomic_check_lut()
258 olut = NULL; in nv50_head_atomic_check_lut()
262 if (!olut) { in nv50_head_atomic_check_lut()
264 asyh->olut.handle = 0; in nv50_head_atomic_check_lut()
269 size = drm_color_lut_size(olut); in nv50_head_atomic_check_lut()
272 if (!head->func->olut(head, asyh, size)) { in nv50_head_atomic_check_lut()
277 asyh->olut.handle = disp->core->chan.vram.handle; in nv50_head_atomic_check_lut()
278 asyh->olut.buffer = !asyh->olut.buffer; in nv50_head_atomic_check_lut()
385 asyh->olut.visible = asyh->olut.handle != 0; in nv50_head_atomic_check()
399 asyh->olut.visible = false; in nv50_head_atomic_check()
405 asyh->olut.visible = false; in nv50_head_atomic_check()
429 if (asyh->olut.visible) { in nv50_head_atomic_check()
430 if (memcmp(&armh->olut, &asyh->olut, sizeof(asyh->olut))) in nv50_head_atomic_check()
431 asyh->set.olut = true; in nv50_head_atomic_check()
433 if (armh->olut.visible) { in nv50_head_atomic_check()
434 asyh->clr.olut = true; in nv50_head_atomic_check()
437 asyh->clr.olut = armh->olut.visible; in nv50_head_atomic_check()
440 asyh->set.olut = asyh->olut.visible; in nv50_head_atomic_check()
480 asyh->olut = armh->olut; in nv50_head_atomic_duplicate_state()
521 nv50_lut_fini(&head->olut); in nv50_head_destroy()
620 ret = nv50_lut_init(disp, &drm->client.mmu, &head->olut); in nv50_head_create()