[Intel-gfx] [PATCH] tests/gem_bad_address: Adapt test to ppgtt to pass with command parser

Chris Wilson chris at chris-wilson.co.uk
Fri May 15 04:16:38 PDT 2015


On Fri, May 15, 2015 at 04:05:01PM +0600, Pavel Popov wrote:
> The gem_bad_address test started to fail on Gen7 with enabled command parser.
> Error message is printed because MI_GLOBAL_GTT equals to MI_MEM_VIRTUAL:
>     "CMD: Rejected command 0x10600002 for bitmask 0x00400000...".
> MI_MEM_VIRTUAL means global gtt. This bit shouldn't be set for ppgtt.
> 
> Changed test like it was done previously for storedw tests in the commit:
>     afbdc7af8d9324ae065c47d6122bb020c579fd0a.

Heh, gem_bad_address is supposed to fail ;-)

As with gem_bad_blit, this is testing antiquated notions of what is
allowed: BAD_GTT_DEST is not what it claims to be.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list