[Intel-gfx] [PATCH 2/2] drm/i915: remove unused has_dma_mapping flag
Chris Wilson
chris at chris-wilson.co.uk
Wed Jul 8 10:43:23 PDT 2015
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>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list