[Intel-gfx] [PATCH] drm/i915/selftest: Fix dma_buf_vmap error handling

Chris Wilson chris at chris-wilson.co.uk
Wed May 17 12:54:57 UTC 2017


On Wed, May 17, 2017 at 03:41:49PM +0300, Mika Kuoppala wrote:
> The dma_buf_vmap in itself warns on error and then downgrades
> the return value from error ptr to NULL. Don't try to decode error
> value from the return in our test.
> 

Actually dma_buf_vmap shouldn't be WARNing here, so go fix that instead.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list