Lines Matching refs:disp

136 	struct nouveau_display *disp = nouveau_display(drm->dev);
151 modifier |= disp->format_modifiers[0] & (0xffull << 12);
195 struct nouveau_display *disp = nouveau_display(drm->dev);
202 BUG_ON(!disp->format_modifiers);
205 (disp->format_modifiers[mod] != DRM_FORMAT_MOD_INVALID) &&
206 (disp->format_modifiers[mod] != modifier);
209 if (disp->format_modifiers[mod] == DRM_FORMAT_MOD_INVALID) {
585 struct nouveau_display *disp = nouveau_display(dev);
602 ret = disp->init(dev, resume, runtime);
617 struct nouveau_display *disp = nouveau_display(dev);
642 disp->fini(dev, runtime, suspend);
648 struct nouveau_display *disp = nouveau_display(dev);
651 if (disp->disp.object.oclass < NV50_DISP)
654 if (disp->disp.object.oclass < GF110_DISP)
659 PROP_ENUM(disp->dithering_mode, gen, "dithering mode", dither_mode);
660 PROP_ENUM(disp->dithering_depth, gen, "dithering depth", dither_depth);
661 PROP_ENUM(disp->underscan_property, gen, "underscan", underscan);
663 disp->underscan_hborder_property =
666 disp->underscan_vborder_property =
673 disp->vibrant_hue_property =
677 disp->color_vibrance_property =
685 struct nouveau_display *disp;
688 disp = drm->display = kzalloc(sizeof(*disp), GFP_KERNEL);
689 if (!disp)
729 &disp->disp);
732 if (disp->disp.object.oclass < NV50_DISP) {
753 if (disp->disp.object.oclass >= NV50_DISP)
767 disp->dtor(dev);
777 struct nouveau_display *disp = nouveau_display(dev);
787 if (disp->dtor)
788 disp->dtor(dev);
790 nvif_disp_dtor(&disp->disp);
793 kfree(disp);
799 struct nouveau_display *disp = nouveau_display(dev);
806 disp->suspend = drm_atomic_helper_suspend(dev);
807 if (IS_ERR(disp->suspend)) {
808 int ret = PTR_ERR(disp->suspend);
809 disp->suspend = NULL;
822 struct nouveau_display *disp = nouveau_display(dev);
827 if (disp->suspend) {
828 drm_atomic_helper_resume(dev, disp->suspend);
829 disp->suspend = NULL;