Lines Matching refs:head
68 const s32 *oclass, u8 head, void *data, u32 size, in nv50_chan_create() argument
120 const s32 *oclass, u8 head, void *data, u32 size, in nv50_pioc_create() argument
123 return nv50_chan_create(device, disp, oclass, head, data, size, in nv50_pioc_create()
137 int head, struct nv50_curs *curs) in nv50_curs_create() argument
140 .head = head, in nv50_curs_create()
151 return nv50_pioc_create(device, disp, oclass, head, &args, sizeof(args), in nv50_curs_create()
165 int head, struct nv50_oimm *oimm) in nv50_oimm_create() argument
168 .head = head, in nv50_oimm_create()
179 return nv50_pioc_create(device, disp, oclass, head, &args, sizeof(args), in nv50_oimm_create()
219 const s32 *oclass, u8 head, void *data, u32 size, u64 syncbuf, in nv50_dmac_create() argument
245 ret = nv50_chan_create(device, disp, oclass, head, data, size, in nv50_dmac_create()
321 int head, u64 syncbuf, struct nv50_sync *base) in nv50_base_create() argument
324 .pushbuf = 0xb0007c00 | head, in nv50_base_create()
325 .head = head, in nv50_base_create()
338 return nv50_dmac_create(device, disp, oclass, head, &args, sizeof(args), in nv50_base_create()
352 int head, u64 syncbuf, struct nv50_ovly *ovly) in nv50_ovly_create() argument
355 .pushbuf = 0xb0007e00 | head, in nv50_ovly_create()
356 .head = head, in nv50_ovly_create()
368 return nv50_dmac_create(device, disp, oclass, head, &args, sizeof(args), in nv50_ovly_create()
390 struct list_head head; member
566 struct nv50_head *head = nv50_head(crtc); in nv50_display_flip_next() local
685 nouveau_bo_ref(nv_fb->nvbo, &head->image); in nv50_display_flip_next()
1117 struct nv50_head *head = nv50_head(crtc); in nv50_crtc_swap_fbs() local
1122 if (head->image) in nv50_crtc_swap_fbs()
1123 nouveau_bo_unpin(head->image); in nv50_crtc_swap_fbs()
1124 nouveau_bo_ref(nvfb->nvbo, &head->image); in nv50_crtc_swap_fbs()
1289 struct nv50_head *head = nv50_head(crtc); in nv50_crtc_disable() local
1291 if (head->image) in nv50_crtc_disable()
1292 nouveau_bo_unpin(head->image); in nv50_crtc_disable()
1293 nouveau_bo_ref(NULL, &head->image); in nv50_crtc_disable()
1373 struct nv50_head *head = nv50_head(crtc); in nv50_crtc_destroy() local
1376 list_for_each_entry(fbdma, &disp->fbdma, head) { in nv50_crtc_destroy()
1380 nv50_dmac_destroy(&head->ovly.base, disp->disp); in nv50_crtc_destroy()
1381 nv50_pioc_destroy(&head->oimm.base); in nv50_crtc_destroy()
1382 nv50_dmac_destroy(&head->sync.base, disp->disp); in nv50_crtc_destroy()
1383 nv50_pioc_destroy(&head->curs.base); in nv50_crtc_destroy()
1388 if (head->image) in nv50_crtc_destroy()
1389 nouveau_bo_unpin(head->image); in nv50_crtc_destroy()
1390 nouveau_bo_ref(NULL, &head->image); in nv50_crtc_destroy()
1433 struct nv50_head *head; in nv50_crtc_create() local
1437 head = kzalloc(sizeof(*head), GFP_KERNEL); in nv50_crtc_create()
1438 if (!head) in nv50_crtc_create()
1441 head->base.index = index; in nv50_crtc_create()
1442 head->base.set_dither = nv50_crtc_set_dither; in nv50_crtc_create()
1443 head->base.set_scale = nv50_crtc_set_scale; in nv50_crtc_create()
1444 head->base.set_color_vibrance = nv50_crtc_set_color_vibrance; in nv50_crtc_create()
1445 head->base.color_vibrance = 50; in nv50_crtc_create()
1446 head->base.vibrant_hue = 0; in nv50_crtc_create()
1447 head->base.cursor.set_pos = nv50_crtc_cursor_restore; in nv50_crtc_create()
1449 head->base.lut.r[i] = i << 8; in nv50_crtc_create()
1450 head->base.lut.g[i] = i << 8; in nv50_crtc_create()
1451 head->base.lut.b[i] = i << 8; in nv50_crtc_create()
1454 crtc = &head->base.base; in nv50_crtc_create()
1460 0, 0x0000, NULL, NULL, &head->base.lut.nvbo); in nv50_crtc_create()
1462 ret = nouveau_bo_pin(head->base.lut.nvbo, TTM_PL_FLAG_VRAM, true); in nv50_crtc_create()
1464 ret = nouveau_bo_map(head->base.lut.nvbo); in nv50_crtc_create()
1466 nouveau_bo_unpin(head->base.lut.nvbo); in nv50_crtc_create()
1469 nouveau_bo_ref(NULL, &head->base.lut.nvbo); in nv50_crtc_create()
1476 ret = nv50_curs_create(device, disp->disp, index, &head->curs); in nv50_crtc_create()
1482 &head->sync); in nv50_crtc_create()
1486 head->sync.addr = EVO_FLIP_SEM0(index); in nv50_crtc_create()
1487 head->sync.data = 0x00000000; in nv50_crtc_create()
1490 ret = nv50_oimm_create(device, disp->disp, index, &head->oimm); in nv50_crtc_create()
1495 &head->ovly); in nv50_crtc_create()
1870 list_for_each_entry(partner, &dev->mode_config.encoder_list, head) { in nv50_sor_dpms()
2326 list_del(&fbdma->head); in nv50_fbdma_fini()
2349 list_for_each_entry(fbdma, &disp->fbdma, head) { in nv50_fbdma_init()
2357 list_add(&fbdma->head, &disp->fbdma); in nv50_fbdma_init()
2382 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv50_fbdma_init()
2383 struct nv50_head *head = nv50_head(crtc); in nv50_fbdma_init() local
2384 int ret = nvif_object_init(&head->sync.base.base.user, name, in nv50_fbdma_init()
2386 &fbdma->base[head->base.index]); in nv50_fbdma_init()
2471 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv50_display_init()
2490 list_for_each_entry_safe(fbdma, fbtmp, &disp->fbdma, head) { in nv50_display_destroy()
2597 list_for_each_entry_safe(connector, tmp, &dev->mode_config.connector_list, head) { in nv50_display_create()