disp: msm: fix compilation errors for dlkm compilation

Fix dlkm compilation errors that are due to the use of -Werror
flags used by the build system.

Change-Id: I5e1e9bc63c1361d73e4930aab123212717872ecb
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
Tatenda Chipeperekwa
2020-12-08 15:00:14 -08:00
کامیت شده توسط Abhijit Kulkarni
والد 1b3ad8486d
کامیت c6257272d4
31فایلهای تغییر یافته به همراه87 افزوده شده و 85 حذف شده

مشاهده پرونده

@@ -378,7 +378,7 @@ static ssize_t measured_fps_show(struct device *device,
fps_int = (uint64_t) sde_crtc->fps_info.measured_fps;
fps_decimal = do_div(fps_int, 10);
return scnprintf(buf, PAGE_SIZE,
"fps: %d.%d duration:%d frame_count:%lld\n", fps_int, fps_decimal,
"fps: %lld.%lld duration:%d frame_count:%lld\n", fps_int, fps_decimal,
sde_crtc->fps_info.fps_periodic_duration, frame_count);
}
@@ -7008,11 +7008,6 @@ struct drm_crtc *sde_crtc_init(struct drm_device *dev, struct drm_plane *plane)
kthread_init_delayed_work(&sde_crtc->static_cache_read_work,
__sde_crtc_static_cache_read_work);
SDE_DEBUG("crtc=%d new_llcc=%d, old_llcc=%d\n",
crtc->base.id,
sde_crtc->new_perf.llcc_active,
sde_crtc->cur_perf.llcc_active);
SDE_DEBUG("%s: successfully initialized crtc\n", sde_crtc->name);
return crtc;
}