Re: [igt-dev] [PATCH v3 1/3] lib/rendercopy: Add AUX page table support

Imre Deak
2019-11-05T22:35:01Z

On Tue, Nov 05, 2019 at 10:24:46PM +0000, Chris Wilson wrote:
> Quoting Imre Deak (2019-11-05 21:42:20)
> > @@ -2570,6 +2571,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> >
> > #define MI_LOAD_SCAN_LINES_INCL (0x12<<23)
> > #define MI_LOAD_REGISTER_IMM ((0x22 << 23) | 1)
> > +#define MI_LOAD_REGISTER_MEM ((0x29 << 23) | (4 - 2))
>
> I would suggest not to include the len here, it varies by gen.

How about MI_LOAD_REGISTER_MEM_GEN8?

> -Chris