Add drm mode lease ioctl wrappers [v3]

    drmModeCreateLease
    drmModeListLessees
    drmModeGetLease
    drmModeRevokeLease

    Changes for v2:

    Remove lessee id from GetLease
    Remove lessor_id from ListLeases
    Add revoke
    Renumber to track kernel rebase on drm-next

Taken from git://people.freedesktop.org/~keithp/drm @ 468446f96883c.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Marius Vlad <marius-cristian.vlad@nxp.com>
4 files changed