From 1634c85486fc0150822dbd7a071bc509be65ad9a Mon Sep 17 00:00:00 2001 From: Sapna Date: Fri, 6 Sep 2024 13:32:03 +0530 Subject: [PATCH] Too many logs are seen in logcat Removed that log to prevent flooding of logs. Tracked-On: OAM-124417 Signed-off-by: Sapna --- i915.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/i915.c b/i915.c index 768ff12..ac3183b 100644 --- a/i915.c +++ b/i915.c @@ -1320,8 +1320,10 @@ static void *i915_bo_map(struct bo *bo, struct vma *vma, uint32_t map_flags) return MAP_FAILED; } - drv_logi("%s : %d : handle = %x, size = %zd, mmpa_arg.offset = %llx", __func__, - __LINE__, mmap_arg.handle, bo->meta.total_size, mmap_arg.offset); + // Commenting this to prevent too many logging, it can be uncommented and used + // for debugging purpose. + //drv_logi("%s : %d : handle = %x, size = %zd, mmpa_arg.offset = %llx", __func__, + // __LINE__, mmap_arg.handle, bo->meta.total_size, mmap_arg.offset); /* And map it */ addr = mmap(0, bo->meta.total_size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->drv->fd,