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_fbdev_dma.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>
112 struct drm_device *drm; in dcss_kms_attach() local
121 drm = &kms->base; in dcss_kms_attach()
124 drm->dev_private = dcss; in dcss_kms_attach()
128 ret = drm_vblank_init(drm, 1); in dcss_kms_attach()
136 ret = dcss_crtc_init(crtc, drm); in dcss_kms_attach()
140 drm_mode_config_reset(drm); in dcss_kms_attach()
142 drm_kms_helper_poll_init(drm); in dcss_kms_attach()
144 ret = drm_dev_register(drm, 0); in dcss_kms_attach()
148 drm_fbdev_dma_setup(drm, 32); in dcss_kms_attach()
153 drm_kms_helper_poll_fini(drm); in dcss_kms_attach()
154 dcss_crtc_deinit(crtc, drm); in dcss_kms_attach()
157 drm_mode_config_cleanup(drm); in dcss_kms_attach()
158 drm->dev_private = NULL; in dcss_kms_attach()
165 struct drm_device *drm = &kms->base; in dcss_kms_detach() local
167 drm_dev_unregister(drm); in dcss_kms_detach()
168 drm_kms_helper_poll_fini(drm); in dcss_kms_detach()
169 drm_atomic_helper_shutdown(drm); in dcss_kms_detach()
171 drm_mode_config_cleanup(drm); in dcss_kms_detach()
172 dcss_crtc_deinit(&kms->crtc, drm); in dcss_kms_detach()
173 drm->dev_private = NULL; in dcss_kms_detach()
178 struct drm_device *drm = &kms->base; in dcss_kms_shutdown() local
180 drm_atomic_helper_shutdown(drm); in dcss_kms_shutdown()