Re: [RFC] drm/i915 : Reduce the shmem page allocation time by using blitter engines for clearing pages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sourab.gupta@xxxxxxxxx writes:

> From: Sourab Gupta <sourab.gupta@xxxxxxxxx>
>
> This patch is in continuation of and is dependent on earlier patch
> series to 'reduce the time for which device mutex is kept locked'.
> (http://lists.freedesktop.org/archives/intel-gfx/2014-May/044596.html)

One of userspace's assumptions is that when you allocate a new BO, you
can map it and start writing data into it without needing to wait on the
GPU.  I expect this patch to mostly hurt performance on apps (and I note
that the patch doesn't come with any actual performance data) that get
more stalls as a result.

More importantly, though, it breaks existing userspace that relies on
buffers being idle on allocation, for the unsychronized maps used in
intel_bufferobj_subdata() and
intel_bufferobj_map_range(GL_INVALIDATE_BUFFER_BIT |
GL_UNSYNCHRONIZED_BIT)

Attachment: pgpUfc1MdJK7F.pgp
Description: PGP signature

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux