mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 06:25:10 +07:00
6f52b16c5b
Many user space API headers are missing licensing information, which makes it hard for compliance tools to determine the correct license. By default are files without license information under the default license of the kernel, which is GPLV2. Marking them GPLV2 would exclude them from being included in non GPLV2 code, which is obviously not intended. The user space API headers fall under the syscall exception which is in the kernels COPYING file: NOTE! This copyright does *not* cover user programs that use kernel services by normal system calls - this is merely considered normal use of the kernel, and does *not* fall under the heading of "derived work". otherwise syscall usage would not be possible. Update the files which contain no license information with an SPDX license identifier. The chosen identifier is 'GPL-2.0 WITH Linux-syscall-note' which is the officially assigned identifier for the Linux syscall exception. SPDX license identifiers are a legally binding shorthand, which can be used instead of the full boiler plate text. This patch is based on work done by Thomas Gleixner and Kate Stewart and Philippe Ombredanne. See the previous patch in this series for the methodology of how this patch was researched. Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44 lines
1.4 KiB
C
44 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __LINUX_MATROXFB_H__
|
|
#define __LINUX_MATROXFB_H__
|
|
|
|
#include <asm/ioctl.h>
|
|
#include <linux/types.h>
|
|
#include <linux/videodev2.h>
|
|
#include <linux/fb.h>
|
|
|
|
struct matroxioc_output_mode {
|
|
__u32 output; /* which output */
|
|
#define MATROXFB_OUTPUT_PRIMARY 0x0000
|
|
#define MATROXFB_OUTPUT_SECONDARY 0x0001
|
|
#define MATROXFB_OUTPUT_DFP 0x0002
|
|
__u32 mode; /* which mode */
|
|
#define MATROXFB_OUTPUT_MODE_PAL 0x0001
|
|
#define MATROXFB_OUTPUT_MODE_NTSC 0x0002
|
|
#define MATROXFB_OUTPUT_MODE_MONITOR 0x0080
|
|
};
|
|
#define MATROXFB_SET_OUTPUT_MODE _IOW('n',0xFA,size_t)
|
|
#define MATROXFB_GET_OUTPUT_MODE _IOWR('n',0xFA,size_t)
|
|
|
|
/* bitfield */
|
|
#define MATROXFB_OUTPUT_CONN_PRIMARY (1 << MATROXFB_OUTPUT_PRIMARY)
|
|
#define MATROXFB_OUTPUT_CONN_SECONDARY (1 << MATROXFB_OUTPUT_SECONDARY)
|
|
#define MATROXFB_OUTPUT_CONN_DFP (1 << MATROXFB_OUTPUT_DFP)
|
|
/* connect these outputs to this framebuffer */
|
|
#define MATROXFB_SET_OUTPUT_CONNECTION _IOW('n',0xF8,size_t)
|
|
/* which outputs are connected to this framebuffer */
|
|
#define MATROXFB_GET_OUTPUT_CONNECTION _IOR('n',0xF8,size_t)
|
|
/* which outputs are available for this framebuffer */
|
|
#define MATROXFB_GET_AVAILABLE_OUTPUTS _IOR('n',0xF9,size_t)
|
|
/* which outputs exist on this framebuffer */
|
|
#define MATROXFB_GET_ALL_OUTPUTS _IOR('n',0xFB,size_t)
|
|
|
|
enum matroxfb_ctrl_id {
|
|
MATROXFB_CID_TESTOUT = V4L2_CID_PRIVATE_BASE,
|
|
MATROXFB_CID_DEFLICKER,
|
|
MATROXFB_CID_LAST
|
|
};
|
|
|
|
#endif
|
|
|