mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 09:56:16 +07:00
dc3bf49ea3
The "WITH Linux-syscall-note" exception exists for headers exported to
user space. It is strange to add it to non-exported headers.
Commit 687a3e4d8e
("treewide: remove SPDX "WITH Linux-syscall-note"
from kernel-space headers") did cleanups some months ago, but it looks
like we need to do this periodically.
This patch was generated by the following script:
git grep -l -e Linux-syscall-note \
-- :*.h :^arch/*/include/uapi/asm/*.h :^include/uapi/ :^tools |
while read file
do
sed -i -e 's/(\(GPL-[^[:space:]]*\) WITH Linux-syscall-note)/\1/g' \
-e 's/ WITH Linux-syscall-note//g' $file
done
I did not commit drivers/staging/android/uapi/ion.h . This header is
not currently exported, but somebody may plan to move it to include/uapi/
when the time comes. I am not sure. Anyway, it will be better to check
the license inconsistency in drivers/staging/android/uapi/.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 lines
762 B
C
23 lines
762 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Simple pci display device.
|
|
*
|
|
* Framebuffer memory is pci bar 0.
|
|
* Configuration (read-only) is in pci config space.
|
|
* Format field uses drm fourcc codes.
|
|
* ATM only DRM_FORMAT_XRGB8888 is supported.
|
|
*/
|
|
|
|
/* pci ids */
|
|
#define MDPY_PCI_VENDOR_ID 0x1b36 /* redhat */
|
|
#define MDPY_PCI_DEVICE_ID 0x000f
|
|
#define MDPY_PCI_SUBVENDOR_ID PCI_SUBVENDOR_ID_REDHAT_QUMRANET
|
|
#define MDPY_PCI_SUBDEVICE_ID PCI_SUBDEVICE_ID_QEMU
|
|
|
|
/* pci cfg space offsets for fb config (dword) */
|
|
#define MDPY_VENDORCAP_OFFSET 0x40
|
|
#define MDPY_VENDORCAP_SIZE 0x10
|
|
#define MDPY_FORMAT_OFFSET (MDPY_VENDORCAP_OFFSET + 0x04)
|
|
#define MDPY_WIDTH_OFFSET (MDPY_VENDORCAP_OFFSET + 0x08)
|
|
#define MDPY_HEIGHT_OFFSET (MDPY_VENDORCAP_OFFSET + 0x0c)
|