Lines Matching full:drm
6 #include <drm/drm_atomic.h>
7 #include <drm/drm_atomic_helper.h>
8 #include <drm/drm_bridge_connector.h>
9 #include <drm/drm_drv.h>
10 #include <drm/drm_fb_helper.h>
11 #include <drm/drm_gem_dma_helper.h>
12 #include <drm/drm_gem_framebuffer_helper.h>
13 #include <drm/drm_of.h>
14 #include <drm/drm_probe_helper.h>
15 #include <drm/drm_vblank.h>
113 struct drm_device *drm; in dcss_kms_attach() local
122 drm = &kms->base; in dcss_kms_attach()
125 drm->dev_private = dcss; in dcss_kms_attach()
129 ret = drm_vblank_init(drm, 1); in dcss_kms_attach()
137 ret = dcss_crtc_init(crtc, drm); in dcss_kms_attach()
141 drm_mode_config_reset(drm); in dcss_kms_attach()
143 drm_kms_helper_poll_init(drm); in dcss_kms_attach()
145 ret = drm_dev_register(drm, 0); in dcss_kms_attach()
149 drm_fbdev_generic_setup(drm, 32); in dcss_kms_attach()
155 drm_kms_helper_poll_fini(drm); in dcss_kms_attach()
156 dcss_crtc_deinit(crtc, drm); in dcss_kms_attach()
159 drm_mode_config_cleanup(drm); in dcss_kms_attach()
160 drm->dev_private = NULL; in dcss_kms_attach()
167 struct drm_device *drm = &kms->base; in dcss_kms_detach() local
169 drm_dev_unregister(drm); in dcss_kms_detach()
171 drm_kms_helper_poll_fini(drm); in dcss_kms_detach()
172 drm_atomic_helper_shutdown(drm); in dcss_kms_detach()
174 drm_mode_config_cleanup(drm); in dcss_kms_detach()
175 dcss_crtc_deinit(&kms->crtc, drm); in dcss_kms_detach()
176 drm->dev_private = NULL; in dcss_kms_detach()