FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

Update drm-v5.0 to linux-5.0.y stable branch #217

Closed jbeich closed 4 years ago

jbeich commented 4 years ago

Completely blind attempt. Tested with Sway on Intel Skylake.

$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
$ cd linux
$ git format-patch v5.0..origin/linux-5.0.y \
    drivers/gpu/drm/{*.[ch],amd,i915,radeon,scheduler,selftests,ttm,vmwgfx} \
    include/{drm,uapi/{drm,linux/{kfd_ioctl.h,vbox_err.h}}}
$ cd ../kms-drm
$ git am ../linux/*.patch
valpackett commented 4 years ago

hah, "drm: disable uncached DMA optimization for ARM and arm64" 4a7910543304886be05a0b15deaf4baec5a14c0f is now applied twice (I manually applied it when enabling aarch64), which is actually harmless (just another copy of the same #elif block)

valpackett commented 4 years ago

Tested on Vega/amd64 with Wayfire

jbeich commented 4 years ago

Obsolete after drm_v5.2 was ported e.g., dae9346eb209 here matches http://github.com/freebsd/drm-kmod/commit/63217ff2fc8b.