Searched refs:crtc (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_irq.c | 322 drm_vblank_count(struct drm_device *dev, int crtc) in drm_vblank_count() argument 324 return (atomic_read(&dev->_vblank_count[crtc])); in drm_vblank_count() 327 static void drm_update_vblank_count(struct drm_device *dev, int crtc) in drm_update_vblank_count() argument 337 cur_vblank = dev->driver->get_vblank_counter(dev, crtc); in drm_update_vblank_count() 338 diff = cur_vblank - dev->last_vblank[crtc]; in drm_update_vblank_count() 339 if (cur_vblank < dev->last_vblank[crtc]) { in drm_update_vblank_count() 342 crtc, dev->last_vblank[crtc], cur_vblank, diff); in drm_update_vblank_count() 345 atomic_add(diff, &dev->_vblank_count[crtc]); in drm_update_vblank_count() 351 drm_vblank_get(struct drm_device *dev, int crtc) in drm_vblank_get() argument 363 atomic_add(1, &dev->vblank_refcount[crtc]); in drm_vblank_get() [all …]
|
H A D | drmP.h | 670 u32 (*get_vblank_counter)(struct drm_device *dev, int crtc); 671 int (*enable_vblank)(struct drm_device *dev, int crtc); 672 void (*disable_vblank)(struct drm_device *dev, int crtc); 913 void drm_handle_vblank(struct drm_device *dev, int crtc); 914 u32 drm_vblank_count(struct drm_device *dev, int crtc); 915 int drm_vblank_get(struct drm_device *dev, int crtc); 916 void drm_vblank_put(struct drm_device *dev, int crtc);
|
H A D | drm.h | 678 uint32_t crtc; member
|
/titanic_41/usr/src/uts/intel/io/drm/ |
H A D | radeon_irq.c | 155 unsigned int *sequence, int crtc) in radeon_driver_vblank_do_wait() argument 173 if (crtc == DRM_RADEON_VBLANK_CRTC1) { in radeon_driver_vblank_do_wait() 175 } else if (crtc == DRM_RADEON_VBLANK_CRTC2) { in radeon_driver_vblank_do_wait()
|
H A D | i915_drv.h | 479 extern int i915_enable_vblank(struct drm_device *dev, int crtc); 480 extern void i915_disable_vblank(struct drm_device *dev, int crtc); 481 extern u32 i915_get_vblank_counter(struct drm_device *dev, int crtc); 482 extern u32 gm45_get_vblank_counter(struct drm_device *dev, int crtc);
|