This field shouldn't have been renamed in the first place. Go back to using
the old name so that the tree is backward and forward compatible again.
#define DRM_VBLANK_FLIP 0x8000000
typedef struct drm_i915_flip {
#define DRM_VBLANK_FLIP 0x8000000
typedef struct drm_i915_flip {
} drm_i915_flip_t;
#undef DRM_IOCTL_I915_FLIP
} drm_i915_flip_t;
#undef DRM_IOCTL_I915_FLIP
((intel_fb->pf_current_page + intel_fb->pf_num_pages - 1) %
intel_fb->pf_num_pages) << 2;
((intel_fb->pf_current_page + intel_fb->pf_num_pages - 1) %
intel_fb->pf_num_pages) << 2;
} else {
intel->sarea->pf_current_page =
intel->sarea->pf_current_page & (0x3 << 2);
} else {
intel->sarea->pf_current_page =
intel->sarea->pf_current_page & (0x3 << 2);
(intel_fb->pf_current_page + intel_fb->pf_num_pages - 1) %
intel_fb->pf_num_pages;
(intel_fb->pf_current_page + intel_fb->pf_num_pages - 1) %
intel_fb->pf_num_pages;
}
drmCommandWrite(intel->driFd, DRM_I915_FLIP, &flip, sizeof(flip));
}
drmCommandWrite(intel->driFd, DRM_I915_FLIP, &flip, sizeof(flip));
if (dPriv->numClipRects && intel_fb->pf_active) {
drm_i915_flip_t flip;
if (dPriv->numClipRects && intel_fb->pf_active) {
drm_i915_flip_t flip;
- flip.planes = intel_fb->pf_planes;
+ flip.pipes = intel_fb->pf_planes;
ret = drmCommandWrite(intel->driFd, DRM_I915_FLIP, &flip, sizeof(flip));
}
ret = drmCommandWrite(intel->driFd, DRM_I915_FLIP, &flip, sizeof(flip));
}