History

drm/irq: Add drm_crtc_handle_vblank()

This function is the KMS native variant of drm_handle_vblank(). It takes a struct drm_crtc * instead of a struct drm_device * and an index of the CRTC. Eventually the goal is to access vblank data through the CRTC only so that the per-CRTC data can be moved to struct drm_crtc.

Thierry Reding committed 11 years ago

Commit 115ebcd1 parent a4d7b302 files · +21 −0Browse files

Showing the changes to include/drm (1 of 2 files). Show all

Unified · Split

include/drm/drmP.h+1−0
@@ -908,6 +908,7 @@ extern void drm_send_vblank_event(struct drm_device *dev, int crtc, · 907 unmodified lines
908908 extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc,
909909 struct drm_pending_vblank_event *e);
910910 extern bool drm_handle_vblank(struct drm_device *dev, int crtc);
911+extern bool drm_crtc_handle_vblank(struct drm_crtc *crtc);
911912 extern int drm_vblank_get(struct drm_device *dev, int crtc);
912913 extern void drm_vblank_put(struct drm_device *dev, int crtc);
913914 extern int drm_crtc_vblank_get(struct drm_crtc *crtc);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t