[Intel-gfx] [PATCH 2/2] drm/i915: remove unused has_dma_mapping flag

Daniel Vetter daniel at ffwll.ch
Mon Jul 13 07:46:10 PDT 2015


On Wed, Jul 08, 2015 at 06:43:23PM +0100, Chris Wilson wrote:
> On Wed, Jul 08, 2015 at 07:18:59PM +0300, Imre Deak wrote:
> > After the previous patch this flag will check always clear, as it's
> > never set for shmem backed and userptr objects, so we can remove it.
> > 
> > Signed-off-by: Imre Deak <imre.deak at intel.com>
> 
> Mentioned a trivial obj->get_page bugfix for
> __i915_gem_userptr_set_pages(), and then went on an archaelogical dig to
> understand why I didn't think of this earlier. Apparently, it just never
> occurred to me that I could remove this flag introduced for
> i915_gem_prime when we did the get_pages/put_pages support for it.
> 
> Both patches (incl. the minor fix above for 1),
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Applied to -fixes (too lazy for a backmerge), thanks.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list