superna9999 / meson_gx_mali_450

Amlogic GX Mali support for Mali-450 based SoCs, for Mainline Linux only
http://linux-meson.com
35 stars 20 forks source link

Build fix for 4.20-rc #4

Closed wens closed 5 years ago

wens commented 5 years ago

Build fix for 4.20-rc, where a few APIs disappeared.

The other patch makes the GPU task aborts play nicer with the kernel.

superna9999 commented 5 years ago

Thanks @wens !

Are ktime_to_ns(ktime_get_boottime()) and WARN_ON() ok on older kernels ?

wens commented 5 years ago

WARN_ON is definitely OK. I should add a guard for ktime_to_ns(ktime_get_boottime()).

wens commented 5 years ago

Branch is now updated. New API usage has guard macros, and some even have comments.

superna9999 commented 5 years ago

Thanks, I also backported them to the DX910-SW-99002-r6p1-01rel0_meson_gx branch