drm-kms.rst (d8f797c60661a90ee26ca9330cf85ede9aa2ec17) | drm-kms.rst (3ed4351a83ca05d3cd886ade6900be1067aa7903) |
---|---|
1========================= 2Kernel Mode Setting (KMS) 3========================= 4 5Drivers must initialize the mode setting core by calling 6:c:func:`drm_mode_config_init()` on the DRM device. The function 7initializes the :c:type:`struct drm_device <drm_device>` 8mode_config field and never fails. Once done, mode configuration must --- 598 unchanged lines hidden (view full) --- 607 608Resources allocated by :c:func:`drm_vblank_init()` must be freed 609with a call to :c:func:`drm_vblank_cleanup()` in the driver unload 610operation handler. 611 612Vertical Blanking and Interrupt Handling Functions Reference 613------------------------------------------------------------ 614 | 1========================= 2Kernel Mode Setting (KMS) 3========================= 4 5Drivers must initialize the mode setting core by calling 6:c:func:`drm_mode_config_init()` on the DRM device. The function 7initializes the :c:type:`struct drm_device <drm_device>` 8mode_config field and never fails. Once done, mode configuration must --- 598 unchanged lines hidden (view full) --- 607 608Resources allocated by :c:func:`drm_vblank_init()` must be freed 609with a call to :c:func:`drm_vblank_cleanup()` in the driver unload 610operation handler. 611 612Vertical Blanking and Interrupt Handling Functions Reference 613------------------------------------------------------------ 614 |
615.. kernel-doc:: include/drm/drm_irq.h | 615.. kernel-doc:: include/drm/drm_vblank.h |
616 :internal: 617 | 616 :internal: 617 |
618.. kernel-doc:: drivers/gpu/drm/drm_irq.c | 618.. kernel-doc:: drivers/gpu/drm/drm_vblank.c |
619 :export: | 619 :export: |