drm/ttm: use phys_addr_t for ttm_bus_placement
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Apr 2016 14:12:49 +0000 (10:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Apr 2016 21:00:01 +0000 (17:00 -0400)
commit749b48faaf64d1081d7216068ff3da92c230bad0
tree8960af2eef35fd434e004f753a5c8586bc35b61f
parent5e916a3ada5f0c3e8a97ee3bb674e81a9bf78a71
drm/ttm: use phys_addr_t for ttm_bus_placement

Fixes ttm on platforms like PPC460 where the CPU
is in 32-bit mode, but the physical addresses are
>32 bits.

Extracted from a patch by Hans Verkuil.

Tested-by: Julian Margetson <runaway@candw.ms>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Julian Margetson <runaway@candw.ms>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/drm/ttm/ttm_bo_api.h