disp: msm: updates to msm_drv

Commit c368ec194dd0 ("drm/client: Rename _force to _locked"),
commit 4bdc0d676a64 ("remove ioremap_nocache and devm_ioremap_nocache") and
commit 595abbaff5db ("y2038: remove ktime to/from timespec/timeval
conversion") renames modeset_commit_force, renames devm_ioremap_nocache and
removes the usage of timespec. This changes updates the msm driver with
the relevant changes.

Change-Id: Ib7372b8b4e51cdf75771e5069be189be76c32ed4
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
这个提交包含在:
Samantha Tran
2020-09-17 21:19:02 -07:00
提交者 orion brody
父节点 0c08cb1fb5
当前提交 640ada10b5
修改 2 个文件,包含 3 行新增4 行删除

查看文件

@@ -266,7 +266,7 @@ void __iomem *msm_ioremap(struct platform_device *pdev, const char *name,
size = resource_size(res);
ptr = devm_ioremap_nocache(&pdev->dev, res->start, size);
ptr = devm_ioremap(&pdev->dev, res->start, size);
if (!ptr) {
dev_err(&pdev->dev, "failed to ioremap: %s\n", name);
return ERR_PTR(-ENOMEM);
@@ -1059,7 +1059,7 @@ static void msm_lastclose(struct drm_device *dev)
if (rc)
DRM_ERROR("restore FBDEV mode failed: %d\n", rc);
} else if (kms && kms->client.dev) {
rc = drm_client_modeset_commit_force(&kms->client);
rc = drm_client_modeset_commit_locked(&kms->client);
if (rc)
DRM_ERROR("client modeset commit failed: %d\n", rc);
}