XenevaOS
Loading...
Searching...
No Matches
drm_privacy_screen_machine.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright (C) 2020 Red Hat, Inc.
4 *
5 * Authors:
6 * Hans de Goede <hdegoede@redhat.com>
7 */
8
9#ifndef __DRM_PRIVACY_SCREEN_MACHINE_H__
10#define __DRM_PRIVACY_SCREEN_MACHINE_H__
11
12#include <linux/list.h>
13
24 const char *dev_id;
26 const char *con_id;
28 const char *provider;
29};
30
33
34#if IS_ENABLED(CONFIG_DRM_PRIVACY_SCREEN) && IS_ENABLED(CONFIG_X86)
35void drm_privacy_screen_lookup_init(void);
36void drm_privacy_screen_lookup_exit(void);
37#else
38static inline void drm_privacy_screen_lookup_init(void)
39{
40}
41static inline void drm_privacy_screen_lookup_exit(void)
42{
43}
44#endif
45
46#endif
void drm_privacy_screen_lookup_add(struct drm_privacy_screen_lookup *lookup)
void drm_privacy_screen_lookup_remove(struct drm_privacy_screen_lookup *lookup)
Definition drm_privacy_screen_machine.h:20
const char * con_id
Definition drm_privacy_screen_machine.h:26
const char * dev_id
Definition drm_privacy_screen_machine.h:24
const char * provider
Definition drm_privacy_screen_machine.h:28
struct list_head list
Definition drm_privacy_screen_machine.h:22
Definition list.h:11