2009/11/14 Thomas Hellström <tho...@shipmail.org>:
> Kristian Høgsberg wrote:
>> This adds a page flipping ioctl to the KMS API.  The ioctl takes an fb ID
>> and a ctrc ID and flips the crtc to the given fb at the next vblank.
>> The ioctl returns immediately but the flip doesn't happen until after
>> any rendering that's currently queued up against the new framebuffer
>> is done.  After submitting a page flip, any execbuffer involving the
>> old front buffer will block until the flip is completed.
>>
>> Optionally, a vblank event can be generated when the swap eventually
>> happens.
>>
>> Signed-off-by: Kristian Høgsberg <k...@bitplanet.net>
>> Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk>
>> ---
>>
>> Okay, here we go again.  Page flip ioctl, this time, with blocking in
>> the kernel and optional events to userspace.  Blocking in the kernel
>> doesn't hold any locks and lets other processes use the GPU while we're
>> waiting for the flip to finish.
>>
>> cheers,
>> Kristian
>>
>>  drivers/gpu/drm/drm_crtc.c           |   69 ++++++++++
>>  drivers/gpu/drm/drm_drv.c            |    1 +
>>  drivers/gpu/drm/i915/i915_drv.h      |   11 ++
>>  drivers/gpu/drm/i915/i915_gem.c      |   63 +++++++++-
>>  drivers/gpu/drm/i915/i915_irq.c      |   10 ++
>>  drivers/gpu/drm/i915/i915_reg.h      |    2 +
>>  drivers/gpu/drm/i915/intel_display.c |  232 
>> +++++++++++++++++++++++++++++-----
>>  drivers/gpu/drm/i915/intel_drv.h     |    3 +
>>  include/drm/drm.h                    |    1 +
>>  include/drm/drm_crtc.h               |    8 ++
>>  include/drm/drm_mode.h               |   11 ++
>>  11 files changed, 378 insertions(+), 33 deletions(-)
>>
>>
> Kristian,
>
> Acked by me as well, but I agree with Jakob's comments on the
> documentation of the semantics.
> Perhaps split into a drm and an i915 part?

Great, thanks.  Yeah, splitting it will make it more clear where the
drm/chipset boundary is.

cheers,
Kristian

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to