diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-01-22 22:22:58 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-03-13 03:08:29 -0400 |
commit | e495d0d7e36298f76336fdc58685ac4cacd454ba (patch) | |
tree | 7c04015fc79f0fffa3e4bf4f62d5740d383c2e5b /drivers/gpu/drm/nouveau/nv50_display.h | |
parent | 6bdf68c9a427220692ad7607858e96caa2cd3147 (diff) |
drm/nv50/disp: more accurate function to determine active crtcs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.h b/drivers/gpu/drm/nouveau/nv50_display.h index 95874f7c043c..5d3dd14d2837 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.h +++ b/drivers/gpu/drm/nouveau/nv50_display.h | |||
@@ -74,6 +74,8 @@ void nv50_display_destroy(struct drm_device *dev); | |||
74 | int nv50_crtc_blank(struct nouveau_crtc *, bool blank); | 74 | int nv50_crtc_blank(struct nouveau_crtc *, bool blank); |
75 | int nv50_crtc_set_clock(struct drm_device *, int head, int pclk); | 75 | int nv50_crtc_set_clock(struct drm_device *, int head, int pclk); |
76 | 76 | ||
77 | u32 nv50_display_active_crtcs(struct drm_device *); | ||
78 | |||
77 | int nv50_display_sync(struct drm_device *); | 79 | int nv50_display_sync(struct drm_device *); |
78 | int nv50_display_flip_next(struct drm_crtc *, struct drm_framebuffer *, | 80 | int nv50_display_flip_next(struct drm_crtc *, struct drm_framebuffer *, |
79 | struct nouveau_channel *chan); | 81 | struct nouveau_channel *chan); |