| Summary: | fbcondecor patch failes on linux-2.6.31.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mike Pagano <mpagano> |
| Component: | New packages | Assignee: | Michal Januszewski (RETIRED) <spock> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kernel |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 288018 | ||
| Attachments: | patch for linux-2.6.31.2 | ||
Created attachment 206394 [details, diff]
patch for linux-2.6.31.2
Thanks for the patch, it looks OK to me. I have also just put up an updated patch on my website (just including this fix, so no need to update anything for gentoo-sources). |
Changes in drivers/video/console/fbcon.c in 2.6.31.2 prevent fbcondecor patch from applying *************** *** 543,553 **** err = take_over_console(&fb_con, first_fb_vc, last_fb_vc, fbcon_is_default); if (err) {a for (i = first_fb_vc; i <= last_fb_vc; i++) { con2fb_map[i] = -1; } info_idx = -1; } return err; --- 546,562 ---- err = take_over_console(&fb_con, first_fb_vc, last_fb_vc, fbcon_is_default); + info = registered_fb[info_idx]; + if (err) { for (i = first_fb_vc; i <= last_fb_vc; i++) { con2fb_map[i] = -1; } info_idx = -1; + } else { + unlock_fb_info(info); + fbcon_decor_init(); + lock_fb_info(info); } return err;