projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e916a3
)
drm/ttm: use phys_addr_t for ttm_bus_placement
author
Alex Deucher
<
[email protected]
>
Fri, 1 Apr 2016 14:12:49 +0000
(10:12 -0400)
committer
Alex Deucher
<
[email protected]
>
Mon, 4 Apr 2016 21:00:01 +0000
(17:00 -0400)
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]
>
include/drm/ttm/ttm_bo_api.h
patch
|
blob
|
history
diff --git
a/include/drm/ttm/ttm_bo_api.h
b/include/drm/ttm/ttm_bo_api.h
index afae2316bd434e0067f5007f4467c3b0e3f54bb9..055a08ddac02a4a5b1149470f7bd74a03b173096 100644
(file)
--- 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;