[Intel-gfx] [PATCH] drm/i915: Don't wait for vblank for sprite plane flips

Vijay Purushothaman vijay.a.purushothaman at intel.com
Mon Jul 1 07:28:06 CEST 2013


On 6/28/2013 9:35 PM, Chris Wilson wrote:
> On Fri, Jun 28, 2013 at 05:24:50PM +0300, Ville Syrjälä wrote:
>> On Fri, Jun 28, 2013 at 07:45:31PM +0530, Vijay Purushothaman wrote:
>>> Since the sprite planes are using synchronized MMIO based flip, no need
>>> to wait for vblank. Removing this wait allows us to get a nice
>>> performance boost to both 3D & media workloads based on sprite (~60 fps
>>> from ~20 fps)
>>
>> Nak. We can't unpin the buffer until the hardware has finished reading
>> from it.
>>
>> The proper fix is to do the unpin asynchronously after the flip has
>> completed. That's one part of the bigger atomic pageflip story.
>
> The interested reader is invited to review the patches to do async
> unpinning here and in set-base sent many, many moons ago.
> -Chris
>
Thanks Chris. I will try to dig for those patches. In case if you have 
the pointers handy, would you mind pointing me to the patch series?

Thanks,
Vijay



More information about the Intel-gfx mailing list