compositor-drm: fix drm_waitvblank_pipe() decl style

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Pekka Paalanen
2015-07-02 15:06:08 +03:00
parent ada4f07bbb
commit c8a1ff0ac1
+2 -1
View File
@@ -610,7 +610,8 @@ drm_output_set_gamma(struct weston_output *output_base,
* multi-gpu situation and we need to calculate the vblank sync * multi-gpu situation and we need to calculate the vblank sync
* using DRM_BLANK_HIGH_CRTC_MASK. * using DRM_BLANK_HIGH_CRTC_MASK.
*/ */
static unsigned int drm_waitvblank_pipe(struct drm_output *output) static unsigned int
drm_waitvblank_pipe(struct drm_output *output)
{ {
if (output->pipe > 1) if (output->pipe > 1)
return (output->pipe << DRM_VBLANK_HIGH_CRTC_SHIFT) & return (output->pipe << DRM_VBLANK_HIGH_CRTC_SHIFT) &