Commit 0440d732 authored by Craig Tatlor's avatar Craig Tatlor Committed by Zheng Zengkai
Browse files

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: default avatarCraig Tatlor <ctatlor97@gmail.com>
Reviewed-by: default avatarBrian Masney <masneyb@onstation.org>
Tested-by: default avatarAlexey Minnekhanov <alexeymin@postmarketos.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 04babe79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment