Lines Matching refs:disp
105 struct nouveau_display *disp = nouveau_display(crtc->dev); in nouveau_display_scanoutpos_head() local
109 ret = nvif_mthd(&disp->disp, 0, &args, sizeof(args)); in nouveau_display_scanoutpos_head()
182 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_vblank_init() local
188 ret = nvif_notify_init(&disp->disp, NULL, in nouveau_display_vblank_init()
216 struct nouveau_display *disp = nouveau_display(drm_fb->dev); in nouveau_user_framebuffer_destroy() local
218 if (disp->fb_dtor) in nouveau_user_framebuffer_destroy()
219 disp->fb_dtor(drm_fb); in nouveau_user_framebuffer_destroy()
249 struct nouveau_display *disp = nouveau_display(dev); in nouveau_framebuffer_init() local
260 if (disp->fb_ctor) { in nouveau_framebuffer_init()
261 ret = disp->fb_ctor(fb); in nouveau_framebuffer_init()
263 disp->fb_dtor(fb); in nouveau_framebuffer_init()
360 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_init() local
364 ret = disp->init(dev); in nouveau_display_init()
383 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_fini() local
398 disp->fini(dev); in nouveau_display_fini()
404 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_create_properties() local
407 if (disp->disp.oclass < NV50_DISP) in nouveau_display_create_properties()
410 if (disp->disp.oclass < GF110_DISP) in nouveau_display_create_properties()
415 PROP_ENUM(disp->dithering_mode, gen, "dithering mode", dither_mode); in nouveau_display_create_properties()
416 PROP_ENUM(disp->dithering_depth, gen, "dithering depth", dither_depth); in nouveau_display_create_properties()
417 PROP_ENUM(disp->underscan_property, gen, "underscan", underscan); in nouveau_display_create_properties()
419 disp->underscan_hborder_property = in nouveau_display_create_properties()
422 disp->underscan_vborder_property = in nouveau_display_create_properties()
429 disp->vibrant_hue_property = in nouveau_display_create_properties()
433 disp->color_vibrance_property = in nouveau_display_create_properties()
441 struct nouveau_display *disp; in nouveau_display_create() local
444 disp = drm->display = kzalloc(sizeof(*disp), GFP_KERNEL); in nouveau_display_create()
445 if (!disp) in nouveau_display_create()
498 NULL, 0, &disp->disp); in nouveau_display_create()
503 if (disp->disp.oclass < NV50_DISP) in nouveau_display_create()
525 disp->dtor(dev); in nouveau_display_create()
535 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_destroy() local
543 if (disp->dtor) in nouveau_display_destroy()
544 disp->dtor(dev); in nouveau_display_destroy()
546 nvif_object_fini(&disp->disp); in nouveau_display_destroy()
549 kfree(disp); in nouveau_display_destroy()