From: Mika Kuoppala Date: Thu, 25 Jun 2015 15:35:11 +0000 (+0300) Subject: drm/i915/gtt: Introduce kmap|kunmap for dma page X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1c54acd67dc6518629224b68cac17cd5cff1dc3;p=pandora-kernel.git drm/i915/gtt: Introduce kmap|kunmap for dma page As there is flushing involved when we have done the cpu write, make functions for mapping for cpu space. Make macros to map any type of paging structure. v2: Make it clear tha flushing kunmap is only for ppgtt (Ville) v3: Flushing fixed (Ville, Michel). Removed superfluous semicolon Cc: Ville Syrjälä Signed-off-by: Mika Kuoppala Reviewed-by: Michel Thierry Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed