From: Mika Kuoppala Date: Thu, 25 Jun 2015 15:35:10 +0000 (+0300) Subject: drm/i915/gtt: Introduce fill_page_dma() X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73eeea537b1bb9c53c9e406a16354f6bc9b2be62;p=pandora-kernel.git drm/i915/gtt: Introduce fill_page_dma() When we setup page directories and tables, we point the entries to a to the next level scratch structure. Make this generic by introducing a fill_page_dma which maps and flushes. We also need 32 bit variant for legacy gens. v2: Fix flushes and handle valleyview (Ville) v3: Now really fix flushes (Michel, Ville) Reviewed-by: Michel Thierry Signed-off-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed