Lines Matching refs:olut

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