XenevaOS
Loading...
Searching...
No Matches
XenevaOS
BaseHdr
drm
drm_client_event.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0 or MIT */
2
3
#ifndef _DRM_CLIENT_EVENT_H_
4
#define _DRM_CLIENT_EVENT_H_
5
6
#include <
linux/types.h
>
7
8
struct
drm_device
;
9
10
#if defined(CONFIG_DRM_CLIENT)
11
void
drm_client_dev_unregister(
struct
drm_device
*
dev
);
12
void
drm_client_dev_hotplug(
struct
drm_device
*
dev
);
13
void
drm_client_dev_restore(
struct
drm_device
*
dev
,
bool
force);
14
void
drm_client_dev_suspend(
struct
drm_device
*
dev
);
15
void
drm_client_dev_resume(
struct
drm_device
*
dev
);
16
#else
17
static
inline
void
drm_client_dev_unregister(
struct
drm_device
*
dev
)
18
{ }
19
static
inline
void
drm_client_dev_hotplug(
struct
drm_device
*
dev
)
20
{ }
21
static
inline
void
drm_client_dev_restore(
struct
drm_device
*
dev
,
bool
force)
22
{ }
23
static
inline
void
drm_client_dev_suspend(
struct
drm_device
*
dev
)
24
{ }
25
static
inline
void
drm_client_dev_resume(
struct
drm_device
*
dev
)
26
{ }
27
#endif
28
29
#endif
types.h
dev
const struct device * dev
Definition
drm_print.h:519
drm_device
Definition
drm_device.h:75
Generated by
1.9.8