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