Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 25 of 64) 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.c368 static void populate_dml21_dummy_surface_cfg(struct dml2_surface_cfg *surface, const struct dc_stre… in populate_dml21_dummy_surface_cfg() argument
370 surface->plane0.width = stream->timing.h_addressable; in populate_dml21_dummy_surface_cfg()
371 surface->plane0.height = stream->timing.v_addressable; in populate_dml21_dummy_surface_cfg()
372 surface->plane1.width = stream->timing.h_addressable; in populate_dml21_dummy_surface_cfg()
373 surface->plane1.height = stream->timing.v_addressable; in populate_dml21_dummy_surface_cfg()
374 surface->plane0.pitch = ((surface->plane0.width + 127) / 128) * 128; in populate_dml21_dummy_surface_cfg()
375 surface->plane1.pitch = 0; in populate_dml21_dummy_surface_cfg()
376 surface->dcc.enable = false; in populate_dml21_dummy_surface_cfg()
377 surface->dcc.informative.dcc_rate_plane0 = 1.0; in populate_dml21_dummy_surface_cfg()
378 surface->dcc.informative.dcc_rate_plane1 = 1.0; in populate_dml21_dummy_surface_cfg()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2677 union surface_update_flags *update_flags = &u->surface->update_flags; in get_plane_info_update_type()
2686 if (u->plane_info->color_space != u->surface->color_space) { in get_plane_info_update_type()
2691 if (u->plane_info->horizontal_mirror != u->surface->horizontal_mirror) { in get_plane_info_update_type()
2696 if (u->plane_info->rotation != u->surface->rotation) { in get_plane_info_update_type()
2701 if (u->plane_info->format != u->surface->format) { in get_plane_info_update_type()
2706 if (u->plane_info->stereo_format != u->surface->stereo_format) { in get_plane_info_update_type()
2711 if (u->plane_info->per_pixel_alpha != u->surface->per_pixel_alpha) { in get_plane_info_update_type()
2716 if (u->plane_info->global_alpha_value != u->surface->global_alpha_value) { in get_plane_info_update_type()
2721 if (u->plane_info->dcc.enable != u->surface->dcc.enable in get_plane_info_update_type()
2722 || u->plane_info->dcc.dcc_ind_blk != u->surface->dcc.dcc_ind_blk in get_plane_info_update_type()
[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/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/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/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_util.c591 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
594 dml_print("DML: surface_cfg: plane=%d, PitchY = %d\n", i, surface->PitchY[i]); in dml_print_dml_display_cfg_surface()
595 dml_print("DML: surface_cfg: plane=%d, SurfaceWidthY = %d\n", i, surface->SurfaceWidthY[i]); in dml_print_dml_display_cfg_surface()
596 dml_print("DML: surface_cfg: plane=%d, SurfaceHeightY = %d\n", i, surface->SurfaceHeightY[i]); in dml_print_dml_display_cfg_surface()
597 dml_print("DML: surface_cfg: plane=%d, PitchC = %d\n", i, surface->PitchC[i]); in dml_print_dml_display_cfg_surface()
598 dml_print("DML: surface_cfg: plane=%d, SurfaceWidthC = %d\n", i, surface->SurfaceWidthC[i]); in dml_print_dml_display_cfg_surface()
599 dml_print("DML: surface_cfg: plane=%d, SurfaceHeightC = %d\n", i, surface->SurfaceHeightC[i]); in dml_print_dml_display_cfg_surface()
600 dml_print("DML: surface_cfg: plane=%d, DCCEnable = %d\n", i, surface->DCCEnable[i]); in dml_print_dml_display_cfg_surface()
601 dml_print("DML: surface_cfg: plane=%d, DCCMetaPitchY = %d\n", i, surface->DCCMetaPitchY[i]); in dml_print_dml_display_cfg_surface()
602 dml_print("DML: surface_cfg: plane=%d, DCCMetaPitchC = %d\n", i, surface->DCCMetaPitchC[i]); in dml_print_dml_display_cfg_surface()
[all …]
H A Ddisplay_mode_core.c6381 myPipe->DCCEnable = mode_lib->ms.cache_display_cfg.surface.DCCEnable[k]; in dml_prefetch_check()
6383 myPipe->SourcePixelFormat = mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k]; in dml_prefetch_check()
6556 mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k], in dml_prefetch_check()
6561 mode_lib->ms.cache_display_cfg.surface.DCCEnable[k], in dml_prefetch_check()
6819 && ((mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_64 in dml_core_mode_support()
6820 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_32 in dml_core_mode_support()
6821 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_16 in dml_core_mode_support()
6822 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_mono_16 in dml_core_mode_support()
6823 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_mono_8 in dml_core_mode_support()
6824 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_rgbe in dml_core_mode_support()
[all …]
/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/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/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c915 …surface_width_ub_l = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.pl… in CalculateSwathWidth()
916 …surface_height_ub_l = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.p… in CalculateSwathWidth()
917 …surface_width_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.pl… in CalculateSwathWidth()
918 …surface_height_ub_c = (unsigned int)math_ceil2((double)display_cfg->plane_descriptors[k].surface.p… in CalculateSwathWidth()
3769 || p->display_cfg->plane_descriptors[k].surface.tiling == dml2_sw_linear) { in CalculateSwathAndDETConfiguration()
3813 if (p->display_cfg->plane_descriptors[k].surface.tiling == dml2_sw_linear) { in CalculateSwathAndDETConfiguration()
3935 && p->display_cfg->plane_descriptors[k].surface.dcc.enable in CalculateSwathAndDETConfiguration()
4570 const struct dml2_surface_cfg *surface = &display_cfg->plane_descriptors[k].surface; in CalculateSurfaceSizeInMall() local
4573 …SurfaceSizeInMALL[k] = (unsigned int)(math_min2(math_ceil2((double)surface->plane0.width, ReadBloc… in CalculateSurfaceSizeInMall()
4576 math_min2(math_ceil2((double)surface->plane0.height, ReadBlockHeightY[k]), in CalculateSurfaceSizeInMall()
[all …]
/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/Documentation/userspace-api/media/v4l/
H A Ddev-overlay.rst95 primary graphics surface assume a certain color.
100 pixel is displayed, otherwise a pixel of the graphics surface.
104 video is displayed, so the graphics surface can be seen here.
131 its position over the graphics surface and the clipping to be applied.

123