| Summary: | qemuarm images have blue and red component channels reversed in X/pslash | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] Kernel | Reporter: | Richard Purdie <richard.purdie> | ||||
| Component: | kernel-tooling | Assignee: | Bruce Ashfield <bruce.ashfield> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | High | CC: | dvhart, liming.wang, poky.bs.watcher, poky.watcher, yi.zhao, yp.kernel.watcher, yp.watcher | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.1 | ||||||
| Hardware: | x86 | ||||||
| OS: | arm | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
|
Description
Richard Purdie
2011-09-10 09:32:56 UTC
Bruce, can you ask someone to look into this? I wonder if this may also be related to Bug 1260. We can have a look. I've never noticed this myself (and have tested sato). The kernel has been stable for some time, so if this is kernel, it's been there since we jumped to 3.0. 9728c1b6a724daefc413b44e10253cdbb5e06d08 imports this issue. Specially, following line leads to the issue: + /* Always clear BGR for RGB565: we do the routing externally */ + if (fb->fb.var.green.length == 6) + regs->cntl &= ~CNTL_BGR; Ok, this looks like an intentional upstream change and it therefore looks like the emulator is now "wrong" compared to what the real harware would do. We likely therefore need to fix qemu to handle this situation correctly. The function in question in pl110_update_display(). Created attachment 238 [details]
Patch demonstrating fixed colours on qemuarm
Who's running with getting the fix into the tree ? I just want to be sure. Since I was experimenting and had a reproducer I've put http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/commit/?h=rpurdie/qemu&id=d06781eab16881d2206a3306c66a0c4c1e178dde together so I'll take it. Great. And the patch looks fine to my eye. Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=bb0cc3cfa69ce02a25e5b7b22df0e5554f6592fb Verified it with 1.1 M4 RC3 20110925 build. Tree/Branch: poky/edison Poky Commit: 41c564fe605fa4685fd27b1721e3424ac8a96db1 |