Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 25 of 68) sorted by relevance

123

/linux/Documentation/driver-api/surface_aggregator/
H A Dinternal-api.rst14 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_parser.h
17 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_parser.c
20 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_msgb.h
23 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_packet_layer.h
26 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_packet_layer.c
33 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_request_layer.h
36 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_request_layer.c
43 .. kernel-doc:: drivers/platform/surface/aggregator/controller.h
46 .. kernel-doc:: drivers/platform/surface/aggregator/controller.c
53 .. kernel-doc:: drivers/platform/surface/aggregator/bus.c
[all …]
H A Dclient-api.rst16 .. kernel-doc:: drivers/platform/surface/aggregator/ssh_packet_layer.c
25 .. kernel-doc:: drivers/platform/surface/aggregator/controller.c
28 .. kernel-doc:: drivers/platform/surface/aggregator/core.c
37 .. kernel-doc:: drivers/platform/surface/aggregator/bus.c
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c376 static void populate_dml21_dummy_surface_cfg(struct dml2_surface_cfg *surface, const struct dc_stre… in populate_dml21_dummy_surface_cfg() argument
378 surface->plane0.width = stream->timing.h_addressable; in populate_dml21_dummy_surface_cfg()
379 surface->plane0.height = stream->timing.v_addressable; in populate_dml21_dummy_surface_cfg()
380 surface->plane1.width = stream->timing.h_addressable; in populate_dml21_dummy_surface_cfg()
381 surface->plane1.height = stream->timing.v_addressable; in populate_dml21_dummy_surface_cfg()
382 surface->plane0.pitch = ((surface->plane0.width + 127) / 128) * 128; in populate_dml21_dummy_surface_cfg()
383 surface->plane1.pitch = 0; in populate_dml21_dummy_surface_cfg()
384 surface->dcc.enable = false; in populate_dml21_dummy_surface_cfg()
385 surface->dcc.informative.dcc_rate_plane0 = 1.0; in populate_dml21_dummy_surface_cfg()
386 surface->dcc.informative.dcc_rate_plane1 = 1.0; in populate_dml21_dummy_surface_cfg()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cursor_plane.c77 struct vmw_surface *surface = vmw_user_object_surface(&vps->uo); in vmw_cursor_plane_update_legacy() local
81 if (WARN_ON(!surface || !surface->snooper.image)) in vmw_cursor_plane_update_legacy()
84 if (vps->cursor.legacy.id != surface->snooper.id) { in vmw_cursor_plane_update_legacy()
85 vmw_send_define_cursor_cmd(vmw, surface->snooper.image, in vmw_cursor_plane_update_legacy()
88 vps->cursor.legacy.id = surface->snooper.id; in vmw_cursor_plane_update_legacy()
95 struct vmw_surface *surface = vmw_user_object_surface(&vps->uo); in vmw_cursor_update_type() local
97 if (surface && surface->snooper.image) in vmw_cursor_update_type()
604 struct vmw_surface *surface; in vmw_cursor_plane_prepare_fb() local
615 vps->uo.surface = NULL; in vmw_cursor_plane_prepare_fb()
625 surface = vmw_user_object_surface(&vps->uo); in vmw_cursor_plane_prepare_fb()
[all …]
H A Dvmwgfx_kms.c510 struct vmw_surface *surface; in vmw_kms_new_framebuffer_surface() local
517 surface = vmw_user_object_surface(uo); in vmw_kms_new_framebuffer_surface()
533 if (unlikely(!surface->metadata.scanout)) in vmw_kms_new_framebuffer_surface()
536 if (unlikely(surface->metadata.mip_levels[0] != 1 || in vmw_kms_new_framebuffer_surface()
537 surface->metadata.num_sizes != 1 || in vmw_kms_new_framebuffer_surface()
538 surface->metadata.base_size.width < mode_cmd->width || in vmw_kms_new_framebuffer_surface()
539 surface->metadata.base_size.height < mode_cmd->height || in vmw_kms_new_framebuffer_surface()
540 surface->metadata.base_size.depth != 1)) { in vmw_kms_new_framebuffer_surface()
729 struct vmw_surface *surface; in vmw_kms_fb_create() local
760 surface = vmw_user_object_surface(&uo); in vmw_kms_fb_create()
[all …]
H A Dvmwgfx_ioctl.c178 struct vmw_surface *surface; in vmw_present_ioctl() local
229 surface = vmw_res_to_srf(res); in vmw_present_ioctl()
231 vfb, surface, arg->sid, in vmw_present_ioctl()
236 vmw_surface_unreference(&surface); in vmw_present_ioctl()
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-physical_location13 Describes which panel surface of the system’s housing the
21 the panel surface.
28 the panel surface.
H A Dsysfs-bus-iio-light-si11336 dark photodiode. "small" indicate the surface area capturing
14 dark photodiodes. "large" indicate the surface area capturing
H A Dsysfs-driver-wacom29 when the stylus does not touch the tablet surface, and no
39 when the stylus touches the tablet surface, or any button is
/linux/Documentation/input/
H A Dmulti-touch-protocol.rst15 objects in direct contact with the device surface, is needed. This
61 surface. The order in which the packets appear in the event stream is not
189 indicate the distance between the contact and the surface.
236 surface units. If the surface has an X times Y resolution, the largest
240 The length, in surface units, of the minor axis of the contact. If the
244 The length, in surface units, of the major axis of the approaching
250 The length, in surface units, of the minor axis of the approaching
268 The distance, in surface units, between the contact and the surface. Zero
269 distance means the contact is touching the surface. A positive number means
270 the contact is hovering above the surface.
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_util.c600 void dml_print_dml_display_cfg_surface(const struct dml_surface_cfg_st *surface, dml_uint_t num_pla… in dml_print_dml_display_cfg_surface() argument
602 (void)surface; in dml_print_dml_display_cfg_surface()
604 dml_print("DML: surface_cfg: plane=%d, PitchY = %d\n", i, surface->PitchY[i]); in dml_print_dml_display_cfg_surface()
605 dml_print("DML: surface_cfg: plane=%d, SurfaceWidthY = %d\n", i, surface->SurfaceWidthY[i]); in dml_print_dml_display_cfg_surface()
606 dml_print("DML: surface_cfg: plane=%d, SurfaceHeightY = %d\n", i, surface->SurfaceHeightY[i]); in dml_print_dml_display_cfg_surface()
607 dml_print("DML: surface_cfg: plane=%d, PitchC = %d\n", i, surface->PitchC[i]); in dml_print_dml_display_cfg_surface()
608 dml_print("DML: surface_cfg: plane=%d, SurfaceWidthC = %d\n", i, surface->SurfaceWidthC[i]); in dml_print_dml_display_cfg_surface()
609 dml_print("DML: surface_cfg: plane=%d, SurfaceHeightC = %d\n", i, surface->SurfaceHeightC[i]); in dml_print_dml_display_cfg_surface()
610 dml_print("DML: surface_cfg: plane=%d, DCCEnable = %d\n", i, surface->DCCEnable[i]); in dml_print_dml_display_cfg_surface()
611 dml_print("DML: surface_cfg: plane=%d, DCCMetaPitchY = %d\n", i, surface->DCCMetaPitchY[i]); in dml_print_dml_display_cfg_surface()
[all …]
H A Ddisplay_mode_core.c6398 myPipe->DCCEnable = mode_lib->ms.cache_display_cfg.surface.DCCEnable[k]; in dml_prefetch_check()
6400 myPipe->SourcePixelFormat = mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k]; in dml_prefetch_check()
6573 mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k], in dml_prefetch_check()
6578 mode_lib->ms.cache_display_cfg.surface.DCCEnable[k], in dml_prefetch_check()
6836 && ((mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_64 in dml_core_mode_support()
6837 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_32 in dml_core_mode_support()
6838 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_16 in dml_core_mode_support()
6839 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_mono_16 in dml_core_mode_support()
6840 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_mono_8 in dml_core_mode_support()
6841 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_rgbe in dml_core_mode_support()
[all …]
H A Ddml_display_rq_dlg_calc.c44 …enum dml_source_format_class source_format = mode_lib->ms.cache_display_cfg.surface.SourcePixelFor… in dml_rq_dlg_get_rq_reg()
45 …enum dml_swizzle_mode sw_mode = mode_lib->ms.cache_display_cfg.surface.SurfaceTiling[plane_idx… in dml_rq_dlg_get_rq_reg()
203 …enum dml_source_format_class source_format = mode_lib->ms.cache_display_cfg.surface.SourcePixelFor… in dml_rq_dlg_get_dlg_reg()
/linux/kernel/configs/
H A Dhardening.config4 # attack surface reduction options. They are expected to have low (or
89 # Provide userspace with seccomp BPF API for syscall attack surface reduction.
100 # Attack surface reduction: do not autoload TTY line disciplines.
112 # Attack surface reduction: Use the modern PTY interface (devpts) only.
/linux/drivers/gpu/drm/radeon/
H A Dradeon_asic.c235 .surface = {
303 .surface = {
399 .surface = {
467 .surface = {
535 .surface = {
603 .surface = {
671 .surface = {
739 .surface = {
807 .surface = {
875 .surface = {
[all …]
/linux/Documentation/devicetree/bindings/iio/
H A Dmount-matrix.txt52 device relative to the center of the planet, i.e. relative to its surface at
56 is held with its screen flat on the planets surface and 0 on the other axes,
78 its top towards surface, you get a negative y axis.
125 display is readable by a person standing upright on the earth surface, this
131 device on a flat surface and spin it around the z axis (such as rotating a
/linux/arch/arm/configs/
H A Dhardening.config6 # Dangerous; old interfaces and needless additional attack surface.
/linux/arch/powerpc/configs/
H A Dhardening.config6 # Attack surface reduction.
/linux/drivers/platform/
H A DMakefile14 obj-$(CONFIG_SURFACE_PLATFORMS) += surface/
H A DKconfig16 source "drivers/platform/surface/Kconfig"
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/
H A Ddml2_top_soc15.c534 if (!params->display_cfg->plane_descriptors[plane_index].surface.dcc.enable) in dml2_top_mcache_validate_admissability()
548 max_per_pipe_vp_p0 = plane->surface.plane0.width; in dml2_top_mcache_validate_admissability()
554 max_per_pipe_vp_p1 = plane->surface.plane1.width; in dml2_top_mcache_validate_admissability()
560 max_per_pipe_vp_p0 = plane->surface.plane0.width / mpc_combine_factor; in dml2_top_mcache_validate_admissability()
561 max_per_pipe_vp_p1 = plane->surface.plane1.width / mpc_combine_factor; in dml2_top_mcache_validate_admissability()
594 calculate_h_split_for_scaling_transform(plane->surface.plane0.width, in dml2_top_mcache_validate_admissability()
605 calculate_h_split_for_scaling_transform(plane->surface.plane1.width, in dml2_top_mcache_validate_admissability()
746 if (!params->display_config->plane_descriptors[i].surface.dcc.enable) { in dml2_top_mcache_calc_mcache_count_and_offsets()
1036 if (params->mcache_configurations[config_index].plane_descriptor->surface.dcc.enable) { in dml2_top_soc15_build_mcache_programming()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_draw.c79 make_drawable(struct qxl_device *qdev, int surface, uint8_t type, in make_drawable() argument
92 drawable->surface_id = surface; /* Only primary for now */ in make_drawable()
/linux/Documentation/driver-api/surface_aggregator/clients/
H A Dcdev.rst17 The provided interface is accessible through the ``/dev/surface/aggregator``
23 at https://github.com/linux-surface/surface-aggregator-module/tree/master/scripts/ssam.
H A Dsan.rst43 .. kernel-doc:: drivers/platform/surface/surface_acpi_notify.c
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c916 …surface_width_ub_l = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.pl… in CalculateSwathWidth()
917 …surface_height_ub_l = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.p… in CalculateSwathWidth()
918 …surface_width_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.pl… in CalculateSwathWidth()
919 …surface_height_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.p… in CalculateSwathWidth()
3781 || p->display_cfg->plane_descriptors[k].surface.tiling == dml2_sw_linear) { in CalculateSwathAndDETConfiguration()
3825 if (p->display_cfg->plane_descriptors[k].surface.tiling == dml2_sw_linear) { in CalculateSwathAndDETConfiguration()
3947 && p->display_cfg->plane_descriptors[k].surface.dcc.enable in CalculateSwathAndDETConfiguration()
4589 const struct dml2_surface_cfg *surface = &display_cfg->plane_descriptors[k].surface; in CalculateSurfaceSizeInMall() local
4592 …SurfaceSizeInMALL[k] = (unsigned int)(math_min2(math_ceil2((double)surface->plane0.width, ReadBloc… in CalculateSurfaceSizeInMall()
4595 math_min2(math_ceil2((double)surface->plane0.height, ReadBlockHeightY[k]), in CalculateSurfaceSizeInMall()
[all …]

123