drm/ttm: use phys_addr_t for ttm_bus_placement
Subsystems (2)
PATCH 1/1 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
Quoted 1 line
32 bits.
Extracted from a patch by Hans.
--- include/drm/ttm/ttm_bo_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/ttm/ttm_bo_api.h +1 -1
@@ -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;
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 18 lines · Alex Deucher
Fixes ttm on platforms like PPC460 where the CPU is in 32-bit mode, but the physical addresses are
Quoted 1 line
32 bits.
Extracted from a patch by Hans.
Cc Thomas Hellstrom <[email protected]>Cc Julian Margetson <[email protected]>Cc Hans Verkuil <[email protected]>Signed-off-by Alex Deucher <[email protected]>--- include/drm/ttm/ttm_bo_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/drm/ttm/ttm_bo_api.h +0
-0
include/drm/ttm/ttm_bo_api.h struct ttm_placement { · line 98
Quoted 8 lines
include/drm/ttm/ttm_bo_api.h +1
-1@@ -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 .
Regards
Julian
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Thomas Hellstrom
Acked-byQuoted 28 lines · Julian Margetson
Quoted 18 lines · Alex Deucher
Fixes ttm on platforms like PPC460 where the CPU is in 32-bit mode, but the physical addresses are
Quoted 1 line
32 bits.
Extracted from a patch by Hans.
Cc Thomas Hellstrom <[email protected]>Cc Julian Margetson <[email protected]>Cc Hans Verkuil <[email protected]>Signed-off-by Alex Deucher <[email protected]>--- include/drm/ttm/ttm_bo_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/drm/ttm/ttm_bo_api.h +0
-0include/drm/ttm/ttm_bo_api.h struct ttm_placement { · line 98
Quoted 8 lines
include/drm/ttm/ttm_bo_api.h +1
-1@@ -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 .
Quoted 6 lines
Tested-by Julian Margetson <[email protected]>Regards
Julian
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 01.04.2016 um 17:02 schrieb Alex Deucher:
Quoted 9 lines
Fixes ttm on platforms like PPC460 where the CPU is in 32-bit mode, but the physical addresses are
Quoted 1 line
32 bits.
Extracted from a patch by Hans.
Cc Thomas Hellstrom <[email protected]>Cc Julian Margetson <[email protected]>Cc Hans Verkuil <[email protected]>Signed-off-by Alex Deucher <[email protected]>
Quoted 9 lines
--- include/drm/ttm/ttm_bo_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/drm/ttm/ttm_bo_api.h +0
-0
include/drm/ttm/ttm_bo_api.h struct ttm_placement { · line 98
Quoted 8 lines
include/drm/ttm/ttm_bo_api.h +1
-1@@ -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;
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel