[Intel-gfx] [PATCH] drm/i915: set dummy page for stolen objects
Daniel Vetter
daniel at ffwll.ch
Sat Mar 23 13:34:34 CET 2013
On Fri, Mar 22, 2013 at 11:10:44PM +0200, Imre Deak wrote:
> This is needed since currently sg_for_each_page assumes that we have
> a valid page in each sg item. It is only a real problem for
> CONFIG_SPARSEMEM where the page is dereferenced, in other cases the
> iterator works ok with an invalid page pointer.
>
> We can remove this workaround when we have fixed sg_page_iter to work on
> scatterlists without backing pages.
>
> Signed-off-by: Imre Deak <imre.deak at intel.com>
Queued for -next and pushed down with a rebase to avoid bisecting issues,
thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list