Re: [Nouveau] Second copy engine on GF116

2014-11-26 Thread Andy Ritger
On Wed, Nov 26, 2014 at 02:18:25AM +0100, Marcin Kościelnicki wrote: [...] http://envytools.readthedocs.org/en/latest/hw/gpu.html#fermi-kepler-maxwell-family I don't see the 0x650 register values on that page. Maybe I'm not looking at the right place? The table at the bottom, CE0-CE2

Re: [Nouveau] Second copy engine on GF116

2014-11-25 Thread Ilia Mirkin
On Mon, Nov 24, 2014 at 8:33 PM, Andy Ritger arit...@nvidia.com wrote: On Fri, Nov 21, 2014 at 01:39:55AM -0500, Ilia Mirkin wrote: On Fri, Nov 21, 2014 at 1:16 AM, Andy Ritger arit...@nvidia.com wrote: Hi Ilia, Actually 0x90b8 is different than copy engine. I'm not very familiar with

Re: [Nouveau] Second copy engine on GF116

2014-11-25 Thread Marcin Kościelnicki
For what it's worth, I managed to get the engine to work in the simplest mode (ie. decompressing LZO1X bytestream). Triggering the operation is dead simple, and the whole thing is done in hw: 1. Destination and source have to be 0x100-byte aligned 2. Destination bufffer length is in bytes, but

Re: [Nouveau] Second copy engine on GF116

2014-11-25 Thread Andy Ritger
On Tue, Nov 25, 2014 at 10:57:44AM -0500, Ilia Mirkin wrote: On Mon, Nov 24, 2014 at 8:33 PM, Andy Ritger arit...@nvidia.com wrote: On Fri, Nov 21, 2014 at 01:39:55AM -0500, Ilia Mirkin wrote: On Fri, Nov 21, 2014 at 1:16 AM, Andy Ritger arit...@nvidia.com wrote: Hi Ilia, Actually

Re: [Nouveau] Second copy engine on GF116

2014-11-25 Thread Ilia Mirkin
On Tue, Nov 25, 2014 at 4:05 PM, Andy Ritger arit...@nvidia.com wrote: On Tue, Nov 25, 2014 at 10:57:44AM -0500, Ilia Mirkin wrote: On Mon, Nov 24, 2014 at 8:33 PM, Andy Ritger arit...@nvidia.com wrote: On Fri, Nov 21, 2014 at 01:39:55AM -0500, Ilia Mirkin wrote: On Fri, Nov 21, 2014 at 1:16

Re: [Nouveau] Second copy engine on GF116

2014-11-25 Thread Marcin Kościelnicki
On 25/11/14 22:05, Andy Ritger wrote: On Tue, Nov 25, 2014 at 10:57:44AM -0500, Ilia Mirkin wrote: On Mon, Nov 24, 2014 at 8:33 PM, Andy Ritger arit...@nvidia.com wrote: On Fri, Nov 21, 2014 at 01:39:55AM -0500, Ilia Mirkin wrote: On Fri, Nov 21, 2014 at 1:16 AM, Andy Ritger

Re: [Nouveau] Second copy engine on GF116

2014-11-24 Thread Andy Ritger
On Fri, Nov 21, 2014 at 01:39:55AM -0500, Ilia Mirkin wrote: On Fri, Nov 21, 2014 at 1:16 AM, Andy Ritger arit...@nvidia.com wrote: Hi Ilia, Actually 0x90b8 is different than copy engine. I'm not very familiar with it, but 0x90b8 is an engine for performing LZO decompression as part of

[Nouveau] Second copy engine on GF116

2014-11-20 Thread Ilia Mirkin
Hello, There's a long-standing bug on nouveau (this is a sample bug, but the issue has been around for a while: https://bugs.freedesktop.org/show_bug.cgi?id=85465) whereby we attempt to use the second PCOPY engine on GF116, and it is sometimes does nothing, despite mmio register 22500 saying that

Re: [Nouveau] Second copy engine on GF116

2014-11-20 Thread Andy Ritger
Hi Ilia, Actually 0x90b8 is different than copy engine. I'm not very familiar with it, but 0x90b8 is an engine for performing LZO decompression as part of performing the copy. It has a variety of limitations (e.g., cannot handle blocklinear format), and was only in a few Fermi chips, as I

Re: [Nouveau] Second copy engine on GF116

2014-11-20 Thread Ilia Mirkin
On Fri, Nov 21, 2014 at 1:16 AM, Andy Ritger arit...@nvidia.com wrote: Hi Ilia, Actually 0x90b8 is different than copy engine. I'm not very familiar with it, but 0x90b8 is an engine for performing LZO decompression as part of performing the copy. It has a variety of limitations (e.g.,