Acked-by: Thomas Hellstrom <thellstrom@xxxxxxxxxx> On 04/01/2016 06:31 PM, Julian Margetson wrote: > On 4/1/2016 11:02 AM, Alex Deucher wrote: >> 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. >> >> Cc: Thomas Hellstrom <thellstrom@xxxxxxxxxx> >> Cc: Julian Margetson <runaway@xxxxxxxx> >> Cc: Hans Verkuil <hans.verkuil@xxxxxxxxx> >> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> >> --- >> include/drm/ttm/ttm_bo_api.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h >> index afae231..055a08d 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; > Tested and working . > Tested-by: Julian Margetson <runaway@xxxxxxxx> > > Regards > Julian > > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel