diff options
author | Alex Deucher <[email protected]> | 2016-04-01 10:12:49 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2016-04-04 17:00:01 -0400 |
commit | 749b48faaf64d1081d7216068ff3da92c230bad0 (patch) | |
tree | 8960af2eef35fd434e004f753a5c8586bc35b61f | |
parent | 5e916a3ada5f0c3e8a97ee3bb674e81a9bf78a71 (diff) |
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 <[email protected]>
Acked-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Christian König <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Cc: Julian Margetson <[email protected]>
Cc: Hans Verkuil <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | include/drm/ttm/ttm_bo_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h index afae2316bd43..055a08ddac02 100644 --- a/include/drm/ttm/ttm_bo_api.h +++ b/include/drm/ttm/ttm_bo_api.h @@ -92,7 +92,7 @@ struct ttm_placement { */ struct ttm_bus_placement { void *addr; - unsigned long base; + phys_addr_t base; unsigned long size; unsigned long offset; bool is_iomem; |