commit | 6cefa31e810404dafdfcdb94874146cea11626c2 | [log] [tgz] |
---|---|---|
author | Iskren Chernev <iskren.chernev@gmail.com> | Sat Jan 02 22:24:37 2021 +0200 |
committer | Rob Clark <robdclark@chromium.org> | Sun Jan 31 10:40:26 2021 -0800 |
tree | 6bccb679873fe8c5bb9d4eeca769740be2f33d44 | |
parent | fe7952c629daec6fb71f55376cb2ed543fde3186 [diff] |
drm/msm: Fix MSM_INFO_GET_IOVA with carveout The msm_gem_get_iova should be guarded with gpu != NULL and not aspace != NULL, because aspace is NULL when using vram carveout. Fixes: 933415e24bd0d ("drm/msm: Add support for private address space instances") Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org> Signed-off-by: Rob Clark <robdclark@chromium.org>