Re: [BUGFIX PATCH] video: mxsfb: fix crash when unblanking the display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/2012 01:55 PM, Lothar Waßmann wrote:
Hi,

adding Juergen Beisert as the driver's author to the recipient list.

Lothar Waßmann writes:
The VDCTRL4 register does not provide the MXS SET/CLR/TOGGLE feature.
The write in mxsfb_disable_controller() sets the data_cnt for the LCD
DMA to 0 which obviously means the max. count for the LCD DMA and
leads to overwriting arbitrary memory when the display is unblanked.

Note: I already sent this patch in December 2011 but noone picked it up obviously.

Signed-off-by: Lothar Waßmann <LW@xxxxxxxxxxxxxxxxxxx>

Tested-by: Lauri Hintsala <lauri.hintsala@xxxxxxxxxxxx>

This fixes the CPU freezing. I really recommend to apply this patch into mainline soon because unblanking freezes the whole system!!!

Default value of consoleblank parameter is 600 seconds and the whole system crashes every time when framebuffer console is activated after that timeout. I wonder why this issue is still open in mainline kernel.

Should this patch be added into stable versions too?

Best Regards,
Lauri Hintsala
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux