Silence GPU push
authorCafe <cafe@not.applicable>
Mon, 31 Jul 2017 00:00:00 +0000 (00:00 +0000)
committerCafe <cafe@not.applicable>
Mon, 31 Jul 2017 18:55:56 +0000 (18:55 +0000)
src/ktrace.c

index 68f8dd1231bffc22d96f91fe6d262bc0b434d25a..7c7f187b56d09d729e301b1af60054969f116afb 100644 (file)
@@ -150,8 +150,6 @@ static void kbase_push_gpu(struct kbase_context *kctx, void *buffer, u64 gpu_add
        uint32_t buffer_offset = 0;
        bool first_page = true;
 
-       printk("Pushing %d bytes from %p to %LX", s, buffer, gpu_addr);
-
        reg = kbase_region_tracker_find_region_enclosing_address(kctx, gpu_addr);
 
        if (!reg) {
@@ -166,8 +164,6 @@ static void kbase_push_gpu(struct kbase_context *kctx, void *buffer, u64 gpu_add
 
        offset = gpu_addr - (reg->start_pfn << PAGE_SHIFT);
 
-       printk("Offset: %LX", offset);
-
        if (offset < 0) {
                printk("What?\n");
                printk("GPU addr: %LX", gpu_addr);
@@ -217,9 +213,6 @@ static void kbase_push_gpu(struct kbase_context *kctx, void *buffer, u64 gpu_add
                        copy_quant = s - buffer_offset;
                }
 
-               printk("Copying %d bytes to offset %d from offset %d",
-                               copy_quant, copy_offset, buffer_offset);
-
                memcpy(mapping + copy_offset,
                                buffer + buffer_offset,
                                copy_quant);