/* * Marvell Armada DRM-based driver * * Written by Russell King, 2012, derived in part from the * Intel xorg X server driver. */ #ifndef DOVEFB_DRM_H #define DOVEFB_DRM_H #include "xf86.h" #include #include #include "common_drm.h" struct armada_drm_info { OptionInfoPtr Options; CloseScreenProcPtr CloseScreen; CreateScreenResourcesProcPtr CreateScreenResources; struct drm_armada_bufmgr *bufmgr; struct drm_armada_bo *front_bo; Bool accel; unsigned cpp; }; struct all_drm_info { struct common_drm_info common; struct armada_drm_info armada; }; #define GET_ARMADA_DRM_INFO(pScrn) \ ((struct armada_drm_info *)GET_DRM_INFO(pScrn)->private) /* DRM core support */ Bool armada_drm_init_screen(ScrnInfoPtr pScrn); /* DRM Xv support */ Bool armada_drm_XvInit(ScrnInfoPtr pScrn); #endif