DRM: Add support for drmModeAddFB2
When working in 64-bit, handles passed to the kernel
DRM can not be user-space pointer anymore, but rather
should be a real kernel handles (fds). A change is needed
in the UI components and the kernel to fix this
functionality. in addition, since the multi-plane buffers
need multiple FDs, drmModeAddFB2 is needed to support that.
This is a new API that does not affect current functionality.
Signed-off-by: AtanasX D Zlatinski <email@example.com>
Reviewed-by: cactus <firstname.lastname@example.org>
Reviewed-by: Agarwal, Tarun <email@example.com>
Tested-by: Agarwal, Tarun <firstname.lastname@example.org>
4 files changed