Home
last modified time | relevance | path

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

/external/libdrm/radeon/
Dradeon_surface.c98 typedef int (*hw_init_surface_t)(struct radeon_surface_manager *surf_man,
100 typedef int (*hw_best_surface_t)(struct radeon_surface_manager *surf_man,
140 static int radeon_get_family(struct radeon_surface_manager *surf_man) in radeon_get_family() argument
142 switch (surf_man->device_id) { in radeon_get_family()
143 #define CHIPSET(pci_id, name, fam) case pci_id: surf_man->family = CHIP_##fam; break; in radeon_get_family()
203 static int r6_init_hw_info(struct radeon_surface_manager *surf_man) in r6_init_hw_info() argument
209 r = radeon_get_value(surf_man->fd, RADEON_INFO_TILING_CONFIG, in r6_init_hw_info()
215 surf_man->hw_info.allow_2d = 0; in r6_init_hw_info()
216 version = drmGetVersion(surf_man->fd); in r6_init_hw_info()
218 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.c556 radeon_surface_manager_free(ws->surf_man); in radeon_winsys_destroy()
789 ws->surf_man = radeon_surface_manager_new(ws->fd); in radeon_drm_winsys_create()
790 if (!ws->surf_man) in radeon_drm_winsys_create()
855 if (ws->surf_man) in radeon_drm_winsys_create()
856 radeon_surface_manager_free(ws->surf_man); in radeon_drm_winsys_create()
Dradeon_drm_winsys.h106 struct radeon_surface_manager *surf_man; member
Dradeon_drm_surface.c235 r = radeon_surface_best(ws->surf_man, &surf_drm); in radeon_winsys_surface_init()
240 r = radeon_surface_init(ws->surf_man, &surf_drm); in radeon_winsys_surface_init()