# Re: \[PATCH 4/9\] fbcon/fbdev: Add blanking notification

- From: Antonino A. Daplas \<hidden\>
- Date: 2005-01-12 20:27:36 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/01/13454197
- Thread: https://ratatoskr.run/linux-fbdev/2004/12/13454156/t.md

```text
On Wednesday 12 January 2005 18:43, Richard Purdie wrote:
> Tony,
>
> I've just switched to using this patch when I updated to 2.6.11-rc1 and
> I've noticed a problem. Basically my code which is monitoring
> FB_EVENT_BLANK events doesn't see any.

If fb_blank is directly called by fbcon_blank, it might proceed into an unending
cycle...

fb_blank()->blank_event_notify->do_blank_screen()->fbcon_blank()->fb_blank()

...however, we do store the current blank state in ops->blank_state, so the above
is probably an imaginary problem.

I'll do the call to fb_blank() instead of info->fbops->fb_blank() instead.

(I'm still in the process of resyncing my tree and merging pending patches,
just came back from a break).

Tony





-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
```
