summaryrefslogtreecommitdiff
path: root/samsung/exynos_drm_recovery.h
blob: 35cb224923a40e2f2863cfcefa35b2affb735e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* SPDX-License-Identifier: GPL-2.0-only
 *
 * linux/drivers/gpu/drm/samsung/exynos_drm_recovery.h
 *
 * Copyright (c) 2021 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 *
 * Headef file for recovery Feature.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __EXYNOS_DRM_RECOVERY__
#define __EXYNOS_DRM_RECOVERY__

#include <linux/kthread.h>

struct decon_device;
struct exynos_recovery {
	struct work_struct work;
	int count;
	atomic_t recovering;
};

void exynos_recovery_register(struct decon_device *decon);

#endif /* __EXYNOS_DRM_RECOVERY__ */