/* This is meant to be used by low level drivers to signal suspend/resume to the core & clients. It must be called with the console semaphore held  */
void fb_set_suspend(struct fb_info *info, int state)
/* This is meant to be used by low level drivers to signal suspend/resume to the core & clients. It must be called with the console semaphore held  */
void fb_set_suspend(struct fb_info *info, int state)
{
	struct fb_event event;
	if (!lock_fb_info(info))
		return;
	event.info = info;
	if (state) {
		fb_notifier_call_chain(FB_EVENT_SUSPEND, &event);
		info->state = FBINFO_STATE_SUSPENDED;
	} else {
		info->state = FBINFO_STATE_RUNNING;
		fb_notifier_call_chain(FB_EVENT_RESUME, &event);
	}
	unlock_fb_info(info);
}