89bb7f9b wulf Jan. 10, 2022, 7:49 p.m.
efi_enabled(EFI_BOOT) returns true if machine was booted from EFI
Used by drm-kmod and some unported drm drivers like hyperv

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33300
cgit
882f8d05 wulf Jan. 10, 2022, 7:49 p.m.
Required by drm-kmod

Obtained from:	DragonflyBSD
Differential Revision:	https://reviews.freebsd.org/D33299
cgit
0b1244bd wulf Jan. 10, 2022, 7:49 p.m.
Obsolete it usage but keep for a while for drm-kmod 5.4 compatibility

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33298
cgit
35235d5f wulf Jan. 10, 2022, 7:49 p.m.
To reduce amount of drm-kmod patching

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33297
cgit
f1a7639a wulf Jan. 10, 2022, 7:49 p.m.
To reduce amount of drm-kmod patching

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33297
cgit
2fb5be79 wulf Jan. 10, 2022, 7:49 p.m.
for x86 and move them to asm/barrier.h

MFC after:	1 week
Reviewed by:	bz, hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33296
cgit
68fcdba3 wulf Jan. 10, 2022, 7:49 p.m.
Summary:
- Add dummy struct pin_cookie definition;
- Convert lockdep_pin_lock macro to function;
- Fix 'unused variable' compile-time errors;

MFC after:	1 week
Reviewers:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33295
cgit
7ec6cbf1 wulf Jan. 10, 2022, 7:49 p.m.
to prevent name clashing with drm-kmod

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33294
cgit
e705066c wulf Jan. 10, 2022, 7:49 p.m.
XA_FLAGS_ALLOC1 causes allocation of xarray entries starting at 1

Required by drm-kmod 5.7

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33293
cgit
04d42cb4 wulf Jan. 10, 2022, 7:49 p.m.
Required by drm-kmod 5.7

MFC after:	1 week
Reviewed by:	hselasky
Differential Revision:	https://reviews.freebsd.org/D33292
cgit
c427456f wulf Jan. 10, 2022, 7:49 p.m.
Required by drm-kmod 5.7

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33291
cgit
bc923d93 wulf Jan. 10, 2022, 7:49 p.m.
Required by drm-kmod 5.7

MFC after:	1 week
Reviewed by:	bz, hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33290
cgit
db562aef wulf Jan. 10, 2022, 7:49 p.m.
Required by drm-kmod 5.7

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33289
cgit
9a79e08a wulf Jan. 10, 2022, 7:49 p.m.
to reduce amount of source patching in drm-kmod.

MFC after:	1 week
Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D33288
cgit
dbc920bd wulf Jan. 10, 2022, 7:49 p.m.
Required by drm-kmod

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision: https://reviews.freebsd.org/D32869
cgit