Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many logs are seen in logcat #152

Open
wants to merge 1 commit into
base: celadon/u/core
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions i915.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,8 +1295,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