Source
602
602
extern void drmFreeReservedContextList(drm_context_t *);
603
603
extern int drmSwitchToContext(int fd, drm_context_t context);
604
604
extern int drmDestroyContext(int fd, drm_context_t handle);
605
605
extern int drmCreateDrawable(int fd, drm_drawable_t * handle);
606
606
extern int drmDestroyDrawable(int fd, drm_drawable_t handle);
607
607
extern int drmUpdateDrawableInfo(int fd, drm_drawable_t handle,
608
608
drm_drawable_info_type_t type,
609
609
unsigned int num, void *data);
610
610
extern int drmCtlInstHandler(int fd, int irq);
611
611
extern int drmCtlUninstHandler(int fd);
612
+
extern int drmSetClientCap(int fd, uint64_t capability,
613
+
uint64_t value);
612
614
​
613
615
/* General user-level programmer's API: authenticated client and/or X */
614
616
extern int drmMap(int fd,
615
617
drm_handle_t handle,
616
618
drmSize size,
617
619
drmAddressPtr address);
618
620
extern int drmUnmap(drmAddress address, drmSize size);
619
621
extern drmBufInfoPtr drmGetBufInfo(int fd);
620
622
extern drmBufMapPtr drmMapBufs(int fd);
621
623
extern int drmUnmapBufs(drmBufMapPtr bufs);