drm/msm: pass address-space to _get_iova() and friends
No functional change, that will come later. But this will make it easier to deal with dynamically created address spaces (ie. per- process pagetables for gpu). Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
@@ -126,7 +126,7 @@ static int msm_fbdev_create(struct drm_fb_helper *helper,
|
||||
* in panic (ie. lock-safe, etc) we could avoid pinning the
|
||||
* buffer now:
|
||||
*/
|
||||
ret = msm_gem_get_iova_locked(fbdev->bo, priv->kms->id, &paddr);
|
||||
ret = msm_gem_get_iova_locked(fbdev->bo, priv->kms->aspace, &paddr);
|
||||
if (ret) {
|
||||
dev_err(dev->dev, "failed to get buffer obj iova: %d\n", ret);
|
||||
goto fail_unlock;
|
||||
|
Reference in New Issue
Block a user