summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2018-08-20 07:23:24 +0000
committerjsg <jsg@openbsd.org>2018-08-20 07:23:24 +0000
commitb07f4838666cbd62dee931660d97bf0f7ac847e4 (patch)
tree7ca67fe3f121cbedc090cc42085e3ad37e643769
parentCached tests moved from callers into ttm_io_prot() with linux 3.18 (diff)
downloadwireguard-openbsd-b07f4838666cbd62dee931660d97bf0f7ac847e4.tar.xz
wireguard-openbsd-b07f4838666cbd62dee931660d97bf0f7ac847e4.zip
drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
From Kristian H. Kristensen 771dacea92cd1b6107615aede467bdf62ef8907c in linux 4.4.y/4.4.91 af913418261d6d3e7a29f06cf35f04610ead667c in mainline linux
-rw-r--r--sys/dev/pci/drm/drm_fourcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_fourcc.h b/sys/dev/pci/drm/drm_fourcc.h
index 9a4d000747e..e4b6e1c82f9 100644
--- a/sys/dev/pci/drm/drm_fourcc.h
+++ b/sys/dev/pci/drm/drm_fourcc.h
@@ -152,6 +152,7 @@
/* Vendor Ids: */
#define DRM_FORMAT_MOD_NONE 0
+#define DRM_FORMAT_MOD_VENDOR_NONE 0
#define DRM_FORMAT_MOD_VENDOR_INTEL 0x01
#define DRM_FORMAT_MOD_VENDOR_AMD 0x02
#define DRM_FORMAT_MOD_VENDOR_NV 0x03