drm/msm: Call msm_init_vram before binding the gpu
stable inclusion from stable-5.10.9 commit d565c626b4e14864be4f6886d73e86f3338f7bac bugzilla: 47457 -------------------------------- [ Upstream commit d863f0c7 ] vram.size is needed when binding a gpu without an iommu and is defined in msm_init_vram(), so run that before binding it. Signed-off-by: NCraig Tatlor <ctatlor97@gmail.com> Reviewed-by: NBrian Masney <masneyb@onstation.org> Tested-by: NAlexey Minnekhanov <alexeymin@postmarketos.org> Signed-off-by: NRob Clark <robdclark@chromium.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录