Bug 3368 - emenlow kernel prints lot of messages while running glxgears
Summary: emenlow kernel prints lot of messages while running glxgears
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: unspecified
Hardware: E-Menlow Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-10-30 21:51 UTC by Nitin Kamble
Modified: 2012-12-05 18:46 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2012-10-30 21:51:01 UTC
These messages increase load on the the cpu.
Comment 1 Nitin Kamble 2012-10-30 21:53:36 UTC
these are message coming from the PVR kernel driver.
Comment 2 Nitin Kamble 2012-10-31 00:19:03 UTC
Sample of the messages found in dmesg:

[psb:0x40:psb_update_dstbuf_cache] Destination buffer is 0.
[psb:0x40:psb_apply_reloc] Reloc buffer 0 index 0x00000030, value 0x00100443
[psb:0x40:psb_apply_reloc] Reloc type 0
         where 0x8003a
         buffer 0x0003
         mask 0xffffffff
         shift 0x00000000
         pre_add 0x00000000
         background 0x00000000
         dst_buffer 0x00000000
         arg0 0x00000000
         arg1 0x00000000
[psb:0x40:psb_apply_reloc] Reloc type 0
         where 0x2000
         buffer 0x0000
         mask 0x00ffffff
         shift 0x00040000
         pre_add 0x00200100
         background 0x00000000
         dst_buffer 0x00000004
         arg0 0x00000000
         arg1 0x00000000
[psb:0x40:psb_apply_reloc] Reloc type 0
         where 0x2002
         buffer 0x0000
         mask 0x00ffffff
         shift 0x00040000
         pre_add 0x002000c0
         background 0x0c000000
         dst_buffer 0x00000004
         arg0 0x00000008
         arg1 0x00000001
[psb:0x40:psb_apply_reloc] Reloc type 0
         where 0x20003
         buffer 0x0004
         mask 0x00ffffff
         shift 0x00040000
         pre_add 0x00008000
         background 0x02000000
         dst_buffer 0x00000005
         arg0 0x00000008
         arg1 0x00000001
[psb:0x40:psb_apply_reloc] Reloc type 0
         where 0x20017
         buffer 0x0000
         mask 0xffffffff
         shift 0x00040004
         pre_add 0x00200020
         background 0x00000000
         dst_buffer 0x00000005
         arg0 0x00000008
         arg1 0x00000001
Comment 3 Tom Zanussi 2012-10-31 00:32:37 UTC
This looks like strictly debugging code - somehow PSB_DEBUG.. is turned on e.g. these messages are coming from psb_sgx.c:

	PSB_DEBUG_RELOC("Reloc type %d\n"
                          "\t where 0x%04x\n"
                          "\t buffer 0x%04x\n"
                          "\t mask 0x%08x\n"
                          "\t shift 0x%08x\n"
                          "\t pre_add 0x%08x\n"
                          "\t background 0x%08x\n"
                          "\t dst_buffer 0x%08x\n"
                          "\t arg0 0x%08x\n"
                          "\t arg1 0x%08x\n",
                          reloc->reloc_op,
                          reloc->where,
                          reloc->buffer,
                          reloc->mask,
	                  reloc->shift,
                          reloc->pre_add,
	                  reloc->background,
                          reloc->dst_buffer, reloc->arg0, reloc->arg1);

I guess you just need to figure out how debugging got turned on and turn it off...
Comment 4 Nitin Kamble 2012-12-05 18:46:58 UTC
I had cooked a fix for this, but could not test it due to other packaging issues on the tree. And now we have switched to EMGD for eMenlow graphics, so this issue does not exit anymore.