drm: Stop ignoring the second argument of drm_free()
commit40917bc671d6b7015f78fa6f30d66e3889635702
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 29 Nov 2015 16:19:21 +0000 (29 17:19 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 29 Nov 2015 16:27:40 +0000 (29 17:27 +0100)
tree2014e53dcb76352549b02b2e9d79e030a38b4ebf
parent5b93c62dcd3f0ec8cf36f32b1e1d18eaca8e87bd
drm: Stop ignoring the second argument of drm_free()

DragonFly's native kfree() call takes a second argument in order to report
which usage correspond to which memory allocations.
Some memory areas in the drm subsystem must also be freed with the memory
type M_TEMP and not M_DRM.

Submitted-by: zrj
sys/dev/drm/include/drm/drmP.h