]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: use phys_addr_t for ttm_bus_placement
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Apr 2016 14:12:49 +0000 (10:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Apr 2016 21:00:01 +0000 (17:00 -0400)
commit7604e212c30a7a46a4f1fcbfe75e051fb949b89b
tree8960af2eef35fd434e004f753a5c8586bc35b61f
parentdbaa4f7d80644da2a873734b6491d468e3bce7a1
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 <runaway@candw.ms>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Julian Margetson <runaway@candw.ms>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/drm/ttm/ttm_bo_api.h