Re: [PATCH 1/6] fbcon: Make cursor_blink=0 work when configured before fb devices appear

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

 



Hi Ville,

On 9/23/24 17:57, Ville Syrjala wrote:
Currently setting cursor_blink attribute to 0 before any fb
devices are around does absolutely nothing. When fb devices appear
and fbcon becomes active the cursor starts blinking. Fix the problem
by recoding the desired state of the attribute even if no fb devices
are present at the time.

Also adjust the show() method such that it shows the current
state of the attribute even when no fb devices are in use.

Note that store_cursor_blink() is still a bit dodgy:
- seems to be missing some of the other checks that we do
   elsewhere when deciding whether the cursor should be
   blinking or not
- when set to 0 when the cursor is currently invisible due
   to blinking, the cursor will remains invisible. We should
   either explicitly make it visible here, or wait until the
   full blink cycle has finished.

are you planning to send follow-up patches to address those shortcomings?

Helge




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux