[Mesa-dev] i965/gen6+: Yet another blorp path - tex_(sub)image2d
Kenneth Graunke
kenneth at whitecape.org
Wed Jan 25 08:06:22 UTC 2017
On Tuesday, December 20, 2016 4:45:28 PM PST Topi Pohjolainen wrote:
> This series introduces new use of brw_blorp_blit_miptrees()/
> brw_blorp_copy_miptrees(). Initial intention was to enable compression
> on SKL already at the time of upload. That, however, didn't help
> benchmarks but quite contrary regressed performance in some of
> them (Synmark OglDrvRer for one).
> Therefore blorp based upload only replaces the current gpu based
> upload path - _mesa_meta_pbo_TexSubImage(). This is limited to cases
> where the source is already gpu accessible (buffer object) or where the
> target is busy (currently being written bu gpu).
>
> Implementation comes with user space pixel source option which can
> be used to handle all cases y-tiled memcpy as well. It is also capable
> of handling some of the cases y-tiled leaves to the slow
> _mesa_store_texsubimage(). This isn't, however, enabled due to
> performance regressions. Uploading with gpu means the incoming pixel
> data needs to be gpu accessible which requires first a copy to a
> buffer object. This copy hurts if it isn't followed by sufficient
> amount of sampling.
>
> Finally there is more RFC type of patch simply dropping the meta
> patch for gen < 6. I don't know which real world cases get hurt
> without the meta path but at least there aren't any jenkins
> regressions.
>
> Topi Pohjolainen (9):
> i965: Refactor surface resolves prior to draw call
> i965: Consider surface resolves just before draw
> intel/blorp/dbg: Name blit shaders for easy recognition in dumps
> i965: Estimate batch space per shader stage
> meta: Refactor texture format translation
> i965: Add support for tex upload using gpu
> i965/gen6+: Use blorp for tex_image_2d
> i965/gen6+: Use for tex_subimage_2d
> i965: Drop _mesa_meta_pbo_TexSubImage() even for gen < 6
Patches 1-3 and 5 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170125/fd649d0f/attachment.sig>
More information about the mesa-dev
mailing list