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()
227 struct drm_property_blob *olut = asyh->state.gamma_lut, in nv50_head_atomic_check_lut() local
242 if (olut) { in nv50_head_atomic_check_lut()
246 if (asyh->wndw.olut) { in nv50_head_atomic_check_lut()
250 if (asyh->wndw.olut != asyh->wndw.mask) in nv50_head_atomic_check_lut()
252 olut = NULL; in nv50_head_atomic_check_lut()
256 if (!olut) { in nv50_head_atomic_check_lut()
258 asyh->olut.handle = 0; in nv50_head_atomic_check_lut()
263 size = drm_color_lut_size(olut); in nv50_head_atomic_check_lut()
266 if (!head->func->olut(head, asyh, size)) { in nv50_head_atomic_check_lut()
271 asyh->olut.handle = disp->core->chan.vram.handle; in nv50_head_atomic_check_lut()
272 asyh->olut.buffer = !asyh->olut.buffer; in nv50_head_atomic_check_lut()
379 asyh->olut.visible = asyh->olut.handle != 0; in nv50_head_atomic_check()
393 asyh->olut.visible = false; in nv50_head_atomic_check()
399 asyh->olut.visible = false; in nv50_head_atomic_check()
423 if (asyh->olut.visible) { in nv50_head_atomic_check()
424 if (memcmp(&armh->olut, &asyh->olut, sizeof(asyh->olut))) in nv50_head_atomic_check()
425 asyh->set.olut = true; in nv50_head_atomic_check()
427 if (armh->olut.visible) { in nv50_head_atomic_check()
428 asyh->clr.olut = true; in nv50_head_atomic_check()
431 asyh->clr.olut = armh->olut.visible; in nv50_head_atomic_check()
434 asyh->set.olut = asyh->olut.visible; in nv50_head_atomic_check()
474 asyh->olut = armh->olut; in nv50_head_atomic_duplicate_state()
516 nv50_lut_fini(&head->olut); in nv50_head_destroy()
615 ret = nv50_lut_init(disp, &drm->client.mmu, &head->olut); in nv50_head_create()