Home
last modified time | relevance | path

Searched refs:surf_man (Results 1 – 5 of 5) sorted by relevance

/external/libdrm/radeon/
Dradeon_surface.c95 typedef int (*hw_init_surface_t)(struct radeon_surface_manager *surf_man,
97 typedef int (*hw_best_surface_t)(struct radeon_surface_manager *surf_man,
137 static int radeon_get_family(struct radeon_surface_manager *surf_man) in radeon_get_family() argument
139 switch (surf_man->device_id) { in radeon_get_family()
140 #define CHIPSET(pci_id, name, fam) case pci_id: surf_man->family = CHIP_##fam; break; in radeon_get_family()
200 static int r6_init_hw_info(struct radeon_surface_manager *surf_man) in r6_init_hw_info() argument
206 r = radeon_get_value(surf_man->fd, RADEON_INFO_TILING_CONFIG, in r6_init_hw_info()
212 surf_man->hw_info.allow_2d = 0; in r6_init_hw_info()
213 version = drmGetVersion(surf_man->fd); in r6_init_hw_info()
215 surf_man->hw_info.allow_2d = 1; in r6_init_hw_info()
[all …]
Dradeon_surface.h143 void radeon_surface_manager_free(struct radeon_surface_manager *surf_man);
144 int radeon_surface_init(struct radeon_surface_manager *surf_man,
146 int radeon_surface_best(struct radeon_surface_manager *surf_man,
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c550 radeon_surface_manager_free(ws->surf_man); in radeon_winsys_destroy()
792 ws->surf_man = radeon_surface_manager_new(ws->fd); in radeon_drm_winsys_create()
793 if (!ws->surf_man) in radeon_drm_winsys_create()
858 if (ws->surf_man) in radeon_drm_winsys_create()
859 radeon_surface_manager_free(ws->surf_man); in radeon_drm_winsys_create()
Dradeon_drm_winsys.h86 struct radeon_surface_manager *surf_man; member
Dradeon_drm_surface.c236 r = radeon_surface_best(ws->surf_man, &surf_drm); in radeon_winsys_surface_init()
241 r = radeon_surface_init(ws->surf_man, &surf_drm); in radeon_winsys_surface_init()