• Home
  • Raw
  • Download

Lines Matching refs:disp

94 	struct nouveau_display *disp = nouveau_display(crtc->dev);  in nouveau_display_scanoutpos_head()  local
100 ret = nvif_mthd(&disp->disp.object, 0, &args, sizeof(args)); in nouveau_display_scanoutpos_head()
142 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_decode_mod() local
157 modifier |= disp->format_modifiers[0] & (0xffull << 12); in nouveau_decode_mod()
201 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_validate_decode_mod() local
208 BUG_ON(!disp->format_modifiers); in nouveau_validate_decode_mod()
211 (disp->format_modifiers[mod] != DRM_FORMAT_MOD_INVALID) && in nouveau_validate_decode_mod()
212 (disp->format_modifiers[mod] != modifier); in nouveau_validate_decode_mod()
215 if (disp->format_modifiers[mod] == DRM_FORMAT_MOD_INVALID) { in nouveau_validate_decode_mod()
570 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_init() local
586 ret = disp->init(dev, resume, runtime); in nouveau_display_init()
601 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_fini() local
625 disp->fini(dev, runtime, suspend); in nouveau_display_fini()
631 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_create_properties() local
634 if (disp->disp.object.oclass < NV50_DISP) in nouveau_display_create_properties()
637 if (disp->disp.object.oclass < GF110_DISP) in nouveau_display_create_properties()
642 PROP_ENUM(disp->dithering_mode, gen, "dithering mode", dither_mode); in nouveau_display_create_properties()
643 PROP_ENUM(disp->dithering_depth, gen, "dithering depth", dither_depth); in nouveau_display_create_properties()
644 PROP_ENUM(disp->underscan_property, gen, "underscan", underscan); in nouveau_display_create_properties()
646 disp->underscan_hborder_property = in nouveau_display_create_properties()
649 disp->underscan_vborder_property = in nouveau_display_create_properties()
656 disp->vibrant_hue_property = in nouveau_display_create_properties()
660 disp->color_vibrance_property = in nouveau_display_create_properties()
669 struct nouveau_display *disp; in nouveau_display_create() local
672 disp = drm->display = kzalloc(sizeof(*disp), GFP_KERNEL); in nouveau_display_create()
673 if (!disp) in nouveau_display_create()
714 &disp->disp); in nouveau_display_create()
717 if (disp->disp.object.oclass < NV50_DISP) in nouveau_display_create()
736 if (disp->disp.object.oclass >= NV50_DISP) in nouveau_display_create()
750 disp->dtor(dev); in nouveau_display_create()
760 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_destroy() local
770 if (disp->dtor) in nouveau_display_destroy()
771 disp->dtor(dev); in nouveau_display_destroy()
773 nvif_disp_dtor(&disp->disp); in nouveau_display_destroy()
777 kfree(disp); in nouveau_display_destroy()
783 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_suspend() local
787 disp->suspend = drm_atomic_helper_suspend(dev); in nouveau_display_suspend()
788 if (IS_ERR(disp->suspend)) { in nouveau_display_suspend()
789 int ret = PTR_ERR(disp->suspend); in nouveau_display_suspend()
790 disp->suspend = NULL; in nouveau_display_suspend()
803 struct nouveau_display *disp = nouveau_display(dev); in nouveau_display_resume() local
808 if (disp->suspend) { in nouveau_display_resume()
809 drm_atomic_helper_resume(dev, disp->suspend); in nouveau_display_resume()
810 disp->suspend = NULL; in nouveau_display_resume()