Skip to content

Commit

Permalink
Too many logs are seen in logcat
Browse files Browse the repository at this point in the history
Removed that log to prevent flooding of logs.

Tracked-On: OAM-124417
Signed-off-by: Sapna <[email protected]>
  • Loading branch information
Sapna1-singh committed Sep 6, 2024
1 parent 485e908 commit df330e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions i915.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit df330e4

Please sign in to comment.