diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-06-16 11:11:05 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-07-07 04:54:40 +0300 |
commit | 40ae54ed734a112c09fb80e2ee16a6bbb733aed4 (patch) | |
tree | ce3057e216c697d83d3fa946edbd0e507c919576 /drivers/gpu/drm/msm/msm_drv.h | |
parent | 8cb72adb1c6618c77fdf3e7c8acd8876d6d1b0b7 (diff) | |
download | linux-40ae54ed734a112c09fb80e2ee16a6bbb733aed4.tar.xz |
drm/msm: move KMS aspace init to the separate helper
MDP5 and DPU drivers have the same piece of code now to initialize
IOMMU and GEM address space. Move it to the msm_drv.c
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/489701/
Link: https://lore.kernel.org/r/20220616081106.350262-5-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index ae49e56ac026..b3689a2d27d7 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -224,6 +224,7 @@ void msm_crtc_disable_vblank(struct drm_crtc *crtc); int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu); void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu); +struct msm_gem_address_space *msm_kms_init_aspace(struct drm_device *dev); bool msm_use_mmu(struct drm_device *dev); int msm_ioctl_gem_submit(struct drm_device *dev, void *data, |