summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/seqlock.h
AgeCommit message (Collapse)AuthorFilesLines
2020-04-12Turn those spinlock and seqlock inline functions to macrosjca1-2/+10
They're macros on Linux because they save state in their flags parameter. Turning them to static inline functions creates a lot of -Wuninitialized warnings, so just use macros which set their flags argument. ok kettenis@
2019-07-04Make seqlock_init() take an IPL argument so the engine stats lock whichjsg1-2/+2
uses write_seqlock_irqsave() will be backed by a mutex with IPL_TTY.
2019-04-14Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 tojsg1-0/+137
linux 4.19.34. Adds support for more Intel hardware: Broxton/Apollo Lake (was is_preliminary in 4.4) Amber Lake (another Kaby Lake refresh) Gemini Lake Coffee Lake Whiskey Lake Cannon Lake (though no hardware with Intel graphics ever shipped) Ice Lake (alpha support, hardware not released) This does not add support for new radeon hardware on the AMD side as newer radeons have a different kernel driver (amdgpu). Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping and a bunch of other developers for testing.