From: Eric Anholt Subject: Re: [RFC] drm/i915 : Reduce the shmem page allocation time by using blitter engines for clearing pages. Date: Tue, 06 May 2014 10:56:21 -0700 Message-ID: <8761li94fu.fsf@eliezer.anholt.net> References: <1399374658-19525-1-git-send-email-sourab.gupta@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1985789731==" Return-path: In-Reply-To: <1399374658-19525-1-git-send-email-sourab.gupta@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org Cc: Akash Goel , Sourab Gupta List-Id: intel-gfx@lists.freedesktop.org --===============1985789731== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain sourab.gupta@intel.com writes: > From: Sourab Gupta > > 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) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJTaSJGAAoJELXWKTbR/J7oodYP/0ZjE/gzx90B/rp4nOG5BR7u 1i2QF3wzUM9qv1jpOUDVzNij4ezRi3eqtOCCvYL6ppnKPn/fD3hVPCWgnM3s5/yZ yZjMxXgW74cPF04q5M8IYQoASjXaf54WPwkxbyoZ0IROcAaLOwCdUXhst30UuNnV sMlR5/KDLZHMq+MwJ/XYZBo5RIx55mDHMuE6KssH6d8prYf77axzfTKzMQ7iRApf nBeJ8Ebgv9BoI1gJKwxAtE4SYeTU4te+gQN/M9WEthg5ctBYiBKkT7ucQiixV2iq ZROr9iRKI9cVpseKu6Fht4cDlV1W8MPRLgYFZMJl8GKXUKi46F/OuKmexEcwMD1h hM8kJ5N5PXU8r6HKQ3b3SXR1A/RI8TtDa2Wh+tve0zhurV0Df3C5Z4iMI3nLRvcv pGPv8lQnAjk2GchHfESPKyoZkgEouFZWePDwL72+QOSpIIqNHzdLYqK5yWIRlw4E +IwUX3IsnY8gmnI5HCOtqu9wT2nPEy5hPQk0krTBgq8TW+Z9DpxsZqzG2i66UUxo OQQaCzdJb0+0luOhbPLaesbCrnqld3unZfJNlK9D9jU9YaOy7mm/aI0F5vT8qCOe XwFOk011n170JV68aIYymKcclqCqRFMPmI2sxrXkz5LvRYbWx6GrTIfhd3yxLCbe yj+OA0tdks7gKDdzZswl =K77N -----END PGP SIGNATURE----- --=-=-=-- --===============1985789731== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1985789731==--