Commit 749b48fa authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarJulian Margetson <>
Acked-by: default avatarThomas Hellstrom <>
Reviewed-by: default avatarChristian König <>
Cc: Thomas Hellstrom <>
Cc: Julian Margetson <>
Cc: Hans Verkuil <>
Signed-off-by: default avatarAlex Deucher <>
parent 5e916a3a
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment