From: Mika Kuoppala Date: Thu, 25 Jun 2015 15:35:12 +0000 (+0300) Subject: drm/i915/gtt: Use macros to access dma mapped pages X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=567047be2a7ede082d29f45524c287b87bd75e53;p=pandora-kernel.git drm/i915/gtt: Use macros to access dma mapped pages Make paging structure type agnostic *_px macros to access page dma struct, the backing page and the dma address. This makes the code less cluttered on internals of i915_page_dma. v2: Superfluous const -> nonconst removed v3: Rebased Signed-off-by: Mika Kuoppala Reviewed-by: Michel Thierry (v2) Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed