freebsd / drm-kmod

drm driver for FreeBSD
148 stars 68 forks source link

i915: Remove `totalram_pages()` function #233

Closed dumbbell closed 1 year ago

dumbbell commented 1 year ago

This function will be exposed by linuxkpi shortly.

See https://reviews.freebsd.org/D38531.

evadot commented 1 year ago

As stated in the FreeBSD review we would need a __FreeBSD_version bump and a check here.

dumbbell commented 1 year ago

As stated in the FreeBSD review we would need a __FreeBSD_version bump and a check here.

I changed the patch to check for __FreeBSD_version.