arm64/ascend: set the correct dvpp mmap area when no MAP_DVPP flags
ascend inclusion
category: feature
bugzilla: NA
CVE: NA
-------------------------------------------------
The commit 4daf80d7164 ("arm64/ascend: Enable...") missed to set the
correct dvpp mmap area when the user didn't set the MAP_DVPP flags,
so add new area zone to fix this.
And fix some coding style, rename the enable_map_dvpp to
enable_mmap_dvpp.
v2: return true if the input addr is DVPP_MMAP_BASE for dvpp_mmap_zone.
Fixes: 4daf80d7164 ("arm64/ascend: Enable DvPP mmap features for Ascend Platform")
Signed-off-by: NDing Tianhong <dingtianhong@huawei.com>
Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录