/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_screen.c | 87 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_destroy() local 89 if (screen->dummy_desc_reloc.bo) in etna_screen_destroy() 90 etna_bo_del(screen->dummy_desc_reloc.bo); in etna_screen_destroy() 92 if (screen->dummy_rt_reloc.bo) in etna_screen_destroy() 93 etna_bo_del(screen->dummy_rt_reloc.bo); in etna_screen_destroy() 95 if (screen->perfmon) in etna_screen_destroy() 96 etna_perfmon_del(screen->perfmon); in etna_screen_destroy() 100 if (screen->pipe) in etna_screen_destroy() 101 etna_pipe_del(screen->pipe); in etna_screen_destroy() 103 if (screen->gpu) in etna_screen_destroy() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_screen.c | 130 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_get_timestamp() local 132 if (screen->has_timestamp) { in fd_screen_get_timestamp() 134 fd_pipe_get_param(screen->pipe, FD_TIMESTAMP, &n); in fd_screen_get_timestamp() 135 assert(screen->max_freq > 0); in fd_screen_get_timestamp() 136 return n * 1000000000 / screen->max_freq; in fd_screen_get_timestamp() 139 return cpu_time + screen->cpu_gpu_time_delta; in fd_screen_get_timestamp() 146 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_destroy() local 148 if (screen->tess_bo) in fd_screen_destroy() 149 fd_bo_del(screen->tess_bo); in fd_screen_destroy() 151 if (screen->pipe) in fd_screen_destroy() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_screen.c | 113 struct zink_screen *screen = zink_screen(pscreen); in zink_get_device_vendor() local 115 snprintf(buf, sizeof(buf), "Unknown (vendor-id: 0x%04x)", screen->info.props.vendorID); in zink_get_device_vendor() 122 struct zink_screen *screen = zink_screen(pscreen); in zink_get_name() local 124 snprintf(buf, sizeof(buf), "zink (%s)", screen->info.props.deviceName); in zink_get_name() 131 struct zink_screen *screen = zink_screen(pscreen); in zink_get_driver_uuid() local 132 if (screen->vk_version >= VK_MAKE_VERSION(1,2,0)) { in zink_get_driver_uuid() 133 memcpy(uuid, screen->info.props11.driverUUID, VK_UUID_SIZE); in zink_get_driver_uuid() 135 memcpy(uuid, screen->info.deviceid_props.driverUUID, VK_UUID_SIZE); in zink_get_driver_uuid() 142 struct zink_screen *screen = zink_screen(pscreen); in zink_get_device_uuid() local 143 if (screen->vk_version >= VK_MAKE_VERSION(1,2,0)) { in zink_get_device_uuid() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
D | dd_screen.c | 38 struct pipe_screen *screen = dd_screen(_screen)->screen; in dd_screen_get_name() local 40 return screen->get_name(screen); in dd_screen_get_name() 46 struct pipe_screen *screen = dd_screen(_screen)->screen; in dd_screen_get_vendor() local 48 return screen->get_vendor(screen); in dd_screen_get_vendor() 54 struct pipe_screen *screen = dd_screen(_screen)->screen; in dd_screen_get_device_vendor() local 56 return screen->get_device_vendor(screen); in dd_screen_get_device_vendor() 64 struct pipe_screen *screen = dd_screen(_screen)->screen; in dd_screen_get_compiler_options() local 66 return screen->get_compiler_options(screen, ir, shader); in dd_screen_get_compiler_options() 72 struct pipe_screen *screen = dd_screen(_screen)->screen; in dd_screen_get_disk_shader_cache() local 74 return screen->get_disk_shader_cache(screen); in dd_screen_get_disk_shader_cache() [all …]
|
/third_party/mesa3d/src/gallium/drivers/tegra/ |
D | tegra_screen.c | 51 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_destroy() local 53 screen->gpu->destroy(screen->gpu); in tegra_screen_destroy() 78 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_get_param() local 80 return screen->gpu->get_param(screen->gpu, param); in tegra_screen_get_param() 86 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_get_paramf() local 88 return screen->gpu->get_paramf(screen->gpu, param); in tegra_screen_get_paramf() 95 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_get_shader_param() local 97 return screen->gpu->get_shader_param(screen->gpu, shader, param); in tegra_screen_get_shader_param() 106 struct tegra_screen *screen = to_tegra_screen(pscreen); in tegra_screen_get_video_param() local 108 return screen->gpu->get_video_param(screen->gpu, profile, entrypoint, in tegra_screen_get_video_param() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_extensions.c | 81 void st_init_limits(struct pipe_screen *screen, in st_init_limits() argument 89 c->MaxTextureSize = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in st_init_limits() 92 screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_MB)); in st_init_limits() 95 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS), in st_init_limits() 100 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS), in st_init_limits() 106 = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS); in st_init_limits() 117 screen->get_param(screen, PIPE_CAP_RASTERIZER_SUBPIXEL_BITS); in st_init_limits() 119 screen->get_param(screen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS); in st_init_limits() 122 _clamp(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS), in st_init_limits() 126 _clamp(screen->get_param(screen, in st_init_limits() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
D | tr_screen.c | 49 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_name() local 54 trace_dump_arg(ptr, screen); in trace_screen_get_name() 56 result = screen->get_name(screen); in trace_screen_get_name() 70 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_vendor() local 75 trace_dump_arg(ptr, screen); in trace_screen_get_vendor() 77 result = screen->get_vendor(screen); in trace_screen_get_vendor() 91 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_device_vendor() local 96 trace_dump_arg(ptr, screen); in trace_screen_get_device_vendor() 98 result = screen->get_device_vendor(screen); in trace_screen_get_device_vendor() 114 struct pipe_screen *screen = tr_scr->screen; in trace_screen_get_compiler_options() local [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/ |
D | rbug_screen.c | 45 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_destroy() local 47 screen->destroy(screen); in rbug_screen_destroy() 56 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_get_name() local 58 return screen->get_name(screen); in rbug_screen_get_name() 65 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_get_vendor() local 67 return screen->get_vendor(screen); in rbug_screen_get_vendor() 74 struct pipe_screen *screen = rb_screen->screen; in rbug_screen_get_device_vendor() local 76 return screen->get_device_vendor(screen); in rbug_screen_get_device_vendor() 84 struct pipe_screen *screen = rbug_screen(_screen)->screen; in rbug_screen_get_compiler_options() local 86 return screen->get_compiler_options(screen, ir, shader); in rbug_screen_get_compiler_options() [all …]
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_screen.cpp | 92 struct d3d12_screen* screen = d3d12_screen(pscreen); in d3d12_get_device_vendor() local 94 switch (screen->vendor_id) { in d3d12_get_device_vendor() 111 struct d3d12_screen* screen = d3d12_screen(pscreen); in d3d12_get_video_mem() local 113 return screen->memory_size_megabytes; in d3d12_get_video_mem() 119 struct d3d12_screen *screen = d3d12_screen(pscreen); in d3d12_get_param() local 234 return screen->vendor_id != HW_VENDOR_MICROSOFT; in d3d12_get_param() 240 return screen->architecture.UMA; in d3d12_get_param() 268 return screen->opts.PSSpecifiedStencilRefSupported; in d3d12_get_param() 309 if (screen->max_feature_level <= D3D_FEATURE_LEVEL_11_0) in d3d12_get_param() 311 if (screen->opts.ResourceBindingTier <= D3D12_RESOURCE_BINDING_TIER_2) in d3d12_get_param() [all …]
|
D | d3d12_dxgi_screen.cpp | 105 dxgi_get_name(struct pipe_screen *screen) in dxgi_get_name() argument 107 struct d3d12_dxgi_screen *dxgi_screen = d3d12_dxgi_screen(d3d12_screen(screen)); in dxgi_get_name() 117 dxgi_get_memory_info(struct d3d12_screen *screen, struct d3d12_memory_info *output) in dxgi_get_memory_info() argument 119 struct d3d12_dxgi_screen *dxgi_screen = d3d12_dxgi_screen(screen); in dxgi_get_memory_info() 131 struct d3d12_dxgi_screen *screen = d3d12_dxgi_screen(dscreen); in d3d12_deinit_dxgi_screen() local 132 if (screen->adapter) { in d3d12_deinit_dxgi_screen() 133 screen->adapter->Release(); in d3d12_deinit_dxgi_screen() 134 screen->adapter = nullptr; in d3d12_deinit_dxgi_screen() 136 if (screen->factory) { in d3d12_deinit_dxgi_screen() 137 screen->factory->Release(); in d3d12_deinit_dxgi_screen() [all …]
|
D | d3d12_dxcore_screen.cpp | 132 dxcore_get_name(struct pipe_screen *screen) in dxcore_get_name() argument 134 struct d3d12_dxcore_screen *dxcore_screen = d3d12_dxcore_screen(d3d12_screen(screen)); in dxcore_get_name() 144 dxcore_get_memory_info(struct d3d12_screen *screen, struct d3d12_memory_info *output) in dxcore_get_memory_info() argument 146 struct d3d12_dxcore_screen *dxcore_screen = d3d12_dxcore_screen(screen); in dxcore_get_memory_info() 160 struct d3d12_dxcore_screen *screen = d3d12_dxcore_screen(dscreen); in d3d12_deinit_dxcore_screen() local 161 if (screen->adapter) { in d3d12_deinit_dxcore_screen() 162 screen->adapter->Release(); in d3d12_deinit_dxcore_screen() 163 screen->adapter = nullptr; in d3d12_deinit_dxcore_screen() 165 if (screen->factory) { in d3d12_deinit_dxcore_screen() 166 screen->factory->Release(); in d3d12_deinit_dxcore_screen() [all …]
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
D | dri_query_renderer.c | 86 struct dri_screen *screen = dri_screen(_screen); in dri2_query_renderer_integer() local 91 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 96 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 101 (unsigned int)!!screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 106 int ov = driQueryOptioni(&screen->dev->option_cache, "override_vram_size"); in dri2_query_renderer_integer() 108 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 117 (unsigned int)screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 123 screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() 129 screen->base.screen->is_format_supported(screen->base.screen, in dri2_query_renderer_integer() 136 screen->base.screen->get_param(screen->base.screen, in dri2_query_renderer_integer() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_screen.c | 43 struct nouveau_screen *screen = nouveau_screen(pscreen); in nouveau_screen_get_name() local 44 return screen->chipset_name; in nouveau_screen_get_name() 84 nouveau_screen_fence_finish(struct pipe_screen *screen, in nouveau_screen_fence_finish() argument 155 nouveau_disk_cache_create(struct nouveau_screen *screen) in nouveau_disk_cache_create() argument 170 if (screen->prefer_nir) in nouveau_disk_cache_create() 175 screen->disk_shader_cache = in nouveau_disk_cache_create() 176 disk_cache_create(nouveau_screen_get_name(&screen->base), in nouveau_disk_cache_create() 191 nouveau_screen_init(struct nouveau_screen *screen, struct nouveau_device *dev) in nouveau_screen_init() argument 193 struct pipe_screen *pscreen = &screen->base; in nouveau_screen_init() 205 screen->prefer_nir = !debug_get_bool_option("NV50_PROG_USE_TGSI", false); in nouveau_screen_init() [all …]
|
D | nouveau_fence.c | 33 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence) in nouveau_fence_new() argument 39 (*fence)->screen = screen; in nouveau_fence_new() 61 struct nouveau_screen *screen = fence->screen; in nouveau_fence_emit() local 70 if (screen->fence.tail) in nouveau_fence_emit() 71 screen->fence.tail->next = fence; in nouveau_fence_emit() 73 screen->fence.head = fence; in nouveau_fence_emit() 75 screen->fence.tail = fence; in nouveau_fence_emit() 77 screen->fence.emit(&screen->base, &fence->sequence); in nouveau_fence_emit() 87 struct nouveau_screen *screen = fence->screen; in nouveau_fence_del() local 91 if (fence == screen->fence.head) { in nouveau_fence_del() [all …]
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_bo.c | 43 bool lima_bo_table_init(struct lima_screen *screen) in lima_bo_table_init() argument 45 screen->bo_handles = util_hash_table_create_ptr_keys(); in lima_bo_table_init() 46 if (!screen->bo_handles) in lima_bo_table_init() 49 screen->bo_flink_names = util_hash_table_create_ptr_keys(); in lima_bo_table_init() 50 if (!screen->bo_flink_names) in lima_bo_table_init() 53 mtx_init(&screen->bo_table_lock, mtx_plain); in lima_bo_table_init() 57 _mesa_hash_table_destroy(screen->bo_handles, NULL); in lima_bo_table_init() 61 bool lima_bo_cache_init(struct lima_screen *screen) in lima_bo_cache_init() argument 63 mtx_init(&screen->bo_cache_lock, mtx_plain); in lima_bo_cache_init() 64 list_inithead(&screen->bo_cache_time); in lima_bo_cache_init() [all …]
|
D | lima_screen.c | 53 struct lima_screen *screen = lima_screen(pscreen); in lima_screen_destroy() local 55 slab_destroy_parent(&screen->transfer_pool); in lima_screen_destroy() 57 if (screen->ro) in lima_screen_destroy() 58 screen->ro->destroy(screen->ro); in lima_screen_destroy() 60 if (screen->pp_buffer) in lima_screen_destroy() 61 lima_bo_unreference(screen->pp_buffer); in lima_screen_destroy() 63 lima_bo_cache_fini(screen); in lima_screen_destroy() 64 lima_bo_table_fini(screen); in lima_screen_destroy() 65 disk_cache_destroy(screen->disk_cache); in lima_screen_destroy() 66 ralloc_free(screen); in lima_screen_destroy() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/ |
D | noop_pipe.c | 103 static struct pipe_resource *noop_resource_create(struct pipe_screen *screen, in noop_resource_create() argument 115 nresource->b.b.screen = screen; in noop_resource_create() 128 noop_resource_create_with_modifiers(struct pipe_screen *screen, in noop_resource_create_with_modifiers() argument 132 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; in noop_resource_create_with_modifiers() 139 noop_resource = noop_resource_create(screen, result); in noop_resource_create_with_modifiers() 144 static struct pipe_resource *noop_resource_from_handle(struct pipe_screen *screen, in noop_resource_from_handle() argument 149 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; in noop_resource_from_handle() 155 noop_resource = noop_resource_create(screen, result); in noop_resource_from_handle() 167 struct pipe_screen *screen = noop_screen->oscreen; in noop_resource_get_handle() local 172 tex = screen->resource_create(screen, resource); in noop_resource_get_handle() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/target-helpers/ |
D | drm_helper.h | 80 struct pipe_screen *screen; in pipe_i915_create_screen() local 86 screen = i915_screen_create(iws); in pipe_i915_create_screen() 87 return screen ? debug_screen_wrap(screen) : NULL; in pipe_i915_create_screen() 100 struct pipe_screen *screen; in pipe_iris_create_screen() local 102 screen = iris_drm_screen_create(fd, config); in pipe_iris_create_screen() 103 return screen ? debug_screen_wrap(screen) : NULL; in pipe_iris_create_screen() 121 struct pipe_screen *screen; in DRM_DRIVER_DESCRIPTOR() local 123 screen = crocus_drm_screen_create(fd, config); in DRM_DRIVER_DESCRIPTOR() 124 return screen ? debug_screen_wrap(screen) : NULL; in DRM_DRIVER_DESCRIPTOR() 141 struct pipe_screen *screen; in DRM_DRIVER_DESCRIPTOR() local [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_screen.c | 107 struct nouveau_screen *screen = nouveau_screen(pscreen); in nv50_screen_get_param() local 108 const uint16_t class_3d = screen->class_3d; in nv50_screen_get_param() 109 struct nouveau_device *dev = screen->device; in nv50_screen_get_param() 279 return class_3d >= NVC0_3D_CLASS || !screen->prefer_nir; in nv50_screen_get_param() 457 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nv50_screen_get_shader_param() local 518 return screen->prefer_nir ? PIPE_SHADER_IR_NIR : PIPE_SHADER_IR_TGSI; in nv50_screen_get_shader_param() 571 struct nv50_screen *screen = nv50_screen(pscreen); in nv50_screen_get_compute_param() local 603 RET((uint32_t []) { screen->mp_count }); in nv50_screen_get_compute_param() 620 struct nv50_screen *screen = nv50_screen(pscreen); in nv50_screen_destroy() local 622 if (!nouveau_drm_screen_unref(&screen->base)) in nv50_screen_destroy() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_screen.c | 118 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nvc0_screen_get_param() local 119 struct nouveau_device *dev = screen->device; in nvc0_screen_get_param() 348 return screen->has_svm ? 1 : 0; in nvc0_screen_get_param() 354 return screen->prefer_nir ? 1 : 0; in nvc0_screen_get_param() 479 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nvc0_screen_get_shader_param() local 480 const uint16_t class_3d = screen->class_3d; in nvc0_screen_get_shader_param() 496 return screen->prefer_nir ? PIPE_SHADER_IR_NIR : PIPE_SHADER_IR_TGSI; in nvc0_screen_get_shader_param() 500 if (screen->force_enable_cl) in nvc0_screen_get_shader_param() 617 struct nvc0_screen *screen = nvc0_screen(pscreen); in nvc0_screen_get_compute_param() local 618 const uint16_t obj_class = screen->compute->oclass; in nvc0_screen_get_compute_param() [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_screen.c | 99 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_device_uuid() local 101 intel_uuid_compute_device_id((uint8_t *)uuid, &screen->devinfo, PIPE_UUID_SIZE); in iris_get_device_uuid() 107 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_driver_uuid() local 108 const struct intel_device_info *devinfo = &screen->devinfo; in iris_get_driver_uuid() 138 struct iris_screen *screen = (struct iris_screen *)pscreen; in iris_get_name() local 139 const struct intel_device_info *devinfo = &screen->devinfo; in iris_get_name() 147 iris_get_video_memory(struct iris_screen *screen) in iris_get_video_memory() argument 149 uint64_t vram = iris_bufmgr_vram_size(screen->bufmgr); in iris_get_video_memory() 150 uint64_t sram = iris_bufmgr_sram_size(screen->bufmgr); in iris_get_video_memory() 162 const struct intel_device_info *devinfo = &screen->devinfo; in iris_get_video_memory() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_screen.c | 104 llvmpipe_get_vendor(struct pipe_screen *screen) in llvmpipe_get_vendor() argument 111 llvmpipe_get_name(struct pipe_screen *screen) in llvmpipe_get_name() argument 113 struct llvmpipe_screen *lscreen = llvmpipe_screen(screen); in llvmpipe_get_name() 119 llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) in llvmpipe_get_param() argument 202 struct llvmpipe_screen *lscreen = llvmpipe_screen(screen); in llvmpipe_get_param() 214 struct llvmpipe_screen *lscreen = llvmpipe_screen(screen); in llvmpipe_get_param() 259 struct llvmpipe_screen *lscreen = llvmpipe_screen(screen); in llvmpipe_get_param() 366 struct llvmpipe_screen *lscreen = llvmpipe_screen(screen); in llvmpipe_get_param() 370 return u_pipe_screen_get_param_defaults(screen, param); in llvmpipe_get_param() 375 llvmpipe_get_shader_param(struct pipe_screen *screen, in llvmpipe_get_shader_param() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_screen.c | 53 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_param() local 54 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_param() 288 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_paramf() local 289 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_paramf() 325 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_shader_param() local 326 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_shader_param() 509 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_compiler_options() local 516 return &screen->fs_compiler_options; in nv30_screen_get_compiler_options() 524 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_fence_emit() local 525 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv30_screen_fence_emit() [all …]
|
/third_party/libdrm/tests/tegra/ |
D | drm-test.c | 44 static int drm_screen_probe_connector(struct drm_screen *screen, in drm_screen_probe_connector() argument 51 encoder = drmModeGetEncoder(screen->fd, connector->encoder_id); in drm_screen_probe_connector() 55 crtc = drmModeGetCrtc(screen->fd, encoder->crtc_id); in drm_screen_probe_connector() 61 screen->old_fb = crtc->buffer_id; in drm_screen_probe_connector() 63 fb = drmModeGetFB(screen->fd, crtc->buffer_id); in drm_screen_probe_connector() 71 screen->connector = connector->connector_id; in drm_screen_probe_connector() 72 screen->old_fb = crtc->buffer_id; in drm_screen_probe_connector() 73 screen->crtc = encoder->crtc_id; in drm_screen_probe_connector() 75 screen->mode = crtc->mode; in drm_screen_probe_connector() 77 screen->width = fb->width; in drm_screen_probe_connector() [all …]
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_screen.c | 81 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_get_name() local 83 if (!screen->name) { in vc4_screen_get_name() 84 screen->name = ralloc_asprintf(screen, in vc4_screen_get_name() 86 screen->v3d_ver / 10, in vc4_screen_get_name() 87 screen->v3d_ver % 10); in vc4_screen_get_name() 90 return screen->name; in vc4_screen_get_name() 102 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_destroy() local 104 _mesa_hash_table_destroy(screen->bo_handles, NULL); in vc4_screen_destroy() 106 slab_destroy_parent(&screen->transfer_pool); in vc4_screen_destroy() 107 if (screen->ro) in vc4_screen_destroy() [all …]
|