diff options
author | Rob Clark <robdclark@gmail.com> | 2016-11-11 12:06:46 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-11-28 15:14:08 -0500 |
commit | 78babc1633c4b0664ea516500c2ace9bf1f17bc7 (patch) | |
tree | fa8cc9b136c4f749e9120a83cc5a86d1633a322c /drivers/gpu/drm/msm/msm_gpu.c | |
parent | c83ea576010d513898c27121e5f8ac355a8eef05 (diff) | |
download | lwn-78babc1633c4b0664ea516500c2ace9bf1f17bc7.tar.gz lwn-78babc1633c4b0664ea516500c2ace9bf1f17bc7.zip |
drm/msm: convert iova to 64b
For a5xx the gpu is 64b so we need to change iova to 64b everywhere. On
the display side, iova is still 32b so it can ignore the upper bits.
(Although all the armv8 devices have an iommu that can map 64b pa to 32b
iova.)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index 895abfa51ec7..1277088426a7 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -528,7 +528,7 @@ void msm_gpu_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit, for (i = 0; i < submit->nr_bos; i++) { struct msm_gem_object *msm_obj = submit->bos[i].obj; - uint32_t iova; + uint64_t iova; /* can't happen yet.. but when we add 2d support we'll have * to deal w/ cross-ring synchronization: |