[Intel-gfx] [PATCH] i915: add page flipping ioctl

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 20 11:06:33 CET 2009


On Fri, 2009-02-20 at 13:46 +0800, Zou, Nanhai wrote:
> >+struct drm_i915_gem_page_flip {
> >+	/** Handle of new front buffer */
> 
>      Should this be handle of new front buffer or handle of the execbuf?

I can't see how this can be an execbuf here. Do you mind elaborating?

Anyway this reminded me that we want a buffer offset along with the
handle.

> >+	uint32_t handle;
> >+
> >+	/**
> >+	 * page flip flags (wait on flip only for now)
> >+	 */
> >+	uint32_t flags;
> >+
> >+	/**
> >+	 * pipe to flip
> >+	 */
> >+	uint32_t pipe;
> >+
> >+	/**
> >+	 * screen dimensions for flip
> >+	 */
> >+	uint32_t x;
> >+	uint32_t y;
> >+};
> >+
> > #endif				/* _I915_DRM_H_ */





More information about the Intel-gfx mailing list