From: Alex Deucher Date: Wed, 4 Mar 2015 05:18:38 +0000 (-0500) Subject: drm/ttm: device address space != CPU address space X-Git-Tag: omap-for-v4.1/wl12xx-dt~53^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c4cd68ed7abd9f245722bee39464d04ddb4cfd;p=pandora-kernel.git drm/ttm: device address space != CPU address space We need to store device offsets in 64 bit as the device address space may be larger than the CPU's. Fixes GPU init failures on radeons with 4GB or more of vram on 32 bit kernels. We put vram at the start of the GPU's address space so the gart aperture starts at 4 GB causing all GPU addresses in the gart aperture to get truncated. bug: https://bugs.freedesktop.org/show_bug.cgi?id=89072 [airlied: fix warning on nouveau build] Signed-off-by: Alex Deucher Cc: thellstrom@vmware.com Acked-by: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed