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 <firstname.lastname@example.org>
Reviewed-by: cactus <email@example.com>
Reviewed-by: Agarwal, Tarun <firstname.lastname@example.org>
Tested-by: Agarwal, Tarun <email@example.com>
4 files changed