lima: add resource_from_handle support
Created by: enunes
Defines lima_resource_from_handle and adds resource_from_handle support. This is to be used to share a dmabuf with a kms display driver so that we can use lima to render to a buffer being output to a display.
This targets the Allwinner A20 support with the Display Engine (sun4i_drm) driver.
Signed-off-by: Erico Nunes nunes.erico@gmail.com