Searched refs:surface (Results 1 - 25 of 26) sorted by relevance

12

/linux-master/drivers/platform/
H A DMakefile13 obj-$(CONFIG_SURFACE_PLATFORMS) += surface/
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2383 union surface_update_flags *update_flags = &u->surface->update_flags;
2389 if (u->plane_info->color_space != u->surface->color_space) {
2394 if (u->plane_info->horizontal_mirror != u->surface->horizontal_mirror) {
2399 if (u->plane_info->rotation != u->surface->rotation) {
2404 if (u->plane_info->format != u->surface->format) {
2409 if (u->plane_info->stereo_format != u->surface->stereo_format) {
2414 if (u->plane_info->per_pixel_alpha != u->surface->per_pixel_alpha) {
2419 if (u->plane_info->global_alpha_value != u->surface->global_alpha_value) {
2424 if (u->plane_info->dcc.enable != u->surface->dcc.enable
2425 || u->plane_info->dcc.dcc_ind_blk != u->surface
2764 copy_surface_update_to_plane( struct dc_plane_state *surface, struct dc_surface_update *srf_update) argument
3149 struct dc_plane_state *surface = srf_updates[i].surface; local
4628 struct dc_plane_state *surface = srf_updates[i].surface; local
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ioctl.c177 struct vmw_surface *surface; local
228 surface = vmw_res_to_srf(res);
230 vfb, surface, arg->sid,
235 vmw_surface_unreference(&surface);
H A Dvmwgfx_kms.c528 * vmw_du_plane_unpin_surf - unpins resource associated with a framebuffer surface
530 * @vps: plane state associated with the display surface
552 * vmw_du_plane_cleanup_fb - Unpins the plane surface
557 * Unpins the framebuffer surface
640 * vmw_du_cursor_plane_cleanup_fb - Unpins the plane surface
645 * Unmaps all cursor bo mappings and unpins the cursor surface
714 vps->surf = vmw_framebuffer_to_vfbs(fb)->surface;
892 struct vmw_surface *surface = NULL; local
918 surface = vmw_framebuffer_to_vfbs(fb)->surface;
1289 vmw_kms_new_framebuffer_surface(struct vmw_private *dev_priv, struct vmw_surface *surface, struct vmw_framebuffer **out, const struct drm_mode_fb_cmd2 *mode_cmd, bool is_bo_proxy) argument
1587 vmw_kms_new_framebuffer(struct vmw_private *dev_priv, struct vmw_bo *bo, struct vmw_surface *surface, bool only_2d, const struct drm_mode_fb_cmd2 *mode_cmd) argument
1648 struct vmw_surface *surface = NULL; local
1985 vmw_kms_generic_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) argument
2000 vmw_kms_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) argument
[all...]
H A Dvmwgfx_stdu.c64 * @sid: Surface ID when copying between surface and screen targets.
105 * @display_srf: surface to be displayed. The dimension of this will always
203 * vmw_stdu_bind_st - Binds a surface to a Screen Target
209 * Binding a surface to a Screen Target the same as flipping
283 * surface change.
486 * For the special case when we cannot create a proxy surface in a
606 * vmw_kms_stdu_surface_clip - Callback to encode a surface copy command cliprect
610 * Encodes a surface copy command cliprect and updates the bounding box
644 * vmw_kms_stdu_surface_fifo_commit - Callback to fill in and submit a surface
649 * Fills in the missing fields in a surface cop
[all...]
H A Dvmwgfx_kms.h52 * surface/buffer object validation, populate FIFO commands and command
71 * Some surface resource or buffer object need some extra cmd submission
72 * like update GB image for proxy surface and define a GMRFB for screen
86 * surface copy/DMA, etc.
98 * This is where to populate clips for surface copy/dma or blit commands
133 * struct vmw_du_update_plane_surface - closure structure for surface
139 /* This member is to handle special case SOU surface update */
232 struct vmw_surface *surface; member in struct:vmw_framebuffer_surface
235 bool is_bo_proxy; /* true if this is proxy surface for DMA buf */
282 * @surf Display surface fo
[all...]
H A Dvmwgfx_ldu.c150 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.guest_memory_bo;
172 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.guest_memory_bo;
H A Dvmwgfx_scrn.c45 * blit surface to screen command.
53 * @sid: Surface id of surface to copy from.
376 * Unpins the display surface
598 blit->body.srcImage.sid = vfbs->surface->res.id;
685 * vmw_sou_plane_update_surface - Update display unit for surface backed fb.
984 * blit surface to screen command.
1042 * vmw_sou_surface_clip - Callback to encode a blit surface to screen cliprect.
1073 * vmw_kms_sou_do_surface_dirty - Dirty part of a surface backed framebuffer
1076 * @framebuffer: Pointer to the surface-buffer backed framebuffer.
1080 * @srf: Pointer to surface t
[all...]
H A Dvmwgfx_drv.h229 * struct vmw_surface_metadata - Metadata describing a surface.
242 * @num_sizes: Size of @sizes. For GB surface this should always be 1.
245 * @scanout: Whether this surface will be used for scanout.
247 * This tracks metadata for both legacy and guest backed surface.
266 * struct vmw_surface: Resource structure for a surface.
268 * @res: The base resource for this surface.
269 * @metadata: Metadata for this surface resource.
270 * @snooper: Cursor data. Legacy surface only.
271 * @offsets: Legacy surface only.
272 * @view_list: List of views bound to this surface
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_util.c591 void dml_print_dml_display_cfg_surface(const struct dml_surface_cfg_st *surface, dml_uint_t num_plane) argument
594 dml_print("DML: surface_cfg: plane=%d, PitchY = %d\n", i, surface->PitchY[i]);
595 dml_print("DML: surface_cfg: plane=%d, SurfaceWidthY = %d\n", i, surface->SurfaceWidthY[i]);
596 dml_print("DML: surface_cfg: plane=%d, SurfaceHeightY = %d\n", i, surface->SurfaceHeightY[i]);
597 dml_print("DML: surface_cfg: plane=%d, PitchC = %d\n", i, surface->PitchC[i]);
598 dml_print("DML: surface_cfg: plane=%d, SurfaceWidthC = %d\n", i, surface->SurfaceWidthC[i]);
599 dml_print("DML: surface_cfg: plane=%d, SurfaceHeightC = %d\n", i, surface->SurfaceHeightC[i]);
600 dml_print("DML: surface_cfg: plane=%d, DCCEnable = %d\n", i, surface->DCCEnable[i]);
601 dml_print("DML: surface_cfg: plane=%d, DCCMetaPitchY = %d\n", i, surface->DCCMetaPitchY[i]);
602 dml_print("DML: surface_cfg: plane=%d, DCCMetaPitchC = %d\n", i, surface
[all...]
H A Ddisplay_mode_core.c1509 dml_print("DML: Tvm: %fus - time to fetch page tables for meta surface\n", s->TimeForFetchingMetaPTE);
6376 myPipe->DCCEnable = mode_lib->ms.cache_display_cfg.surface.DCCEnable[k];
6378 myPipe->SourcePixelFormat = mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k];
6551 mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k],
6556 mode_lib->ms.cache_display_cfg.surface.DCCEnable[k],
6744 && ((mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_64
6745 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_32
6746 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_444_16
6747 && mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[k] != dml_mono_16
6748 && mode_lib->ms.cache_display_cfg.surface
[all...]
H A Ddisplay_mode_util.h63 __DML_DLL_EXPORT__ void dml_print_dml_display_cfg_surface(const struct dml_surface_cfg_st *surface, dml_uint_t num_plane);
H A Ddml_display_rq_dlg_calc.c44 enum dml_source_format_class source_format = mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[plane_idx];
45 enum dml_swizzle_mode sw_mode = mode_lib->ms.cache_display_cfg.surface.SurfaceTiling[plane_idx];
203 enum dml_source_format_class source_format = mode_lib->ms.cache_display_cfg.surface.SourcePixelFormat[plane_idx];
H A Ddml2_wrapper.c184 dml2_util_copy_dml_surface(&p->new_display_config->surface, new_surface_index, subvp_surface_to_add);
H A Ddml2_translation_helper.c1117 populate_dummy_dml_surface_cfg(&dml_dispcfg->surface, disp_cfg_plane_location, context->streams[i]);
1133 populate_dml_surface_cfg_from_plane_state(dml2->v20.dml_core_ctx.project, &dml_dispcfg->surface, disp_cfg_plane_location, context->stream_status[i].plane_states[j]);
H A Ddisplay_mode_core_structs.h599 dml_uint_t DPPPerSurface[__DML_NUM_PLANES__]; /// <brief How many DPPs are needed drive the surface to output. If MPCC or ODMC could be 2 or 4.
606 /// Describe how to display a surface in multi-plane setup and output to different output and writeback using the specified timgin
608 struct dml_surface_cfg_st surface; member in struct:dml_display_cfg_st
734 dml_uint_t DPPPerSurface[__DML_NUM_PLANES__]; /// <brief How many DPPs are needed drive the surface to output. If MPCC or ODMC could be 2 or 4.
/linux-master/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...]
H A Dradeon.h32 * - surface allocator & initializer : (bit like scratch reg) should
34 * related to surface
1931 } surface; member in struct:radeon_asic
2740 #define radeon_set_surface_reg(rdev, r, f, p, o, s) ((rdev)->asic->surface.set_reg((rdev), (r), (f), (p), (o), (s)))
2741 #define radeon_clear_surface_reg(rdev, r) ((rdev)->asic->surface.clear_reg((rdev), (r)))
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_draw.c79 make_drawable(struct qxl_device *qdev, int surface, uint8_t type, argument
92 drawable->surface_id = surface; /* Only primary for now */
/linux-master/drivers/hid/
H A DMakefile172 obj-$(CONFIG_SURFACE_HID_CORE) += surface-hid/
/linux-master/arch/arm64/boot/dts/qcom/
H A DMakefile221 dtb-$(CONFIG_ARCH_QCOM) += sm8150-microsoft-surface-duo.dtb
233 dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb
/linux-master/scripts/dtc/include-prefixes/arm64/qcom/
H A DMakefile221 dtb-$(CONFIG_ARCH_QCOM) += sm8150-microsoft-surface-duo.dtb
233 dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb
/linux-master/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_cmd.h462 SVGA3dSurfaceImageId surface; member in struct:__anon513
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c389 * @array_of_surface_update: dc surface update pointer
2843 bundle->surface_updates[m].surface =
2845 bundle->surface_updates[m].surface->force_full_update =
8128 struct dc_plane_state *surface,
8154 if (surface) {
8157 surface,
8406 bundle->surface_updates[planes_count].surface = dc_plane;
8499 bundle->surface_updates[planes_count].surface = dc_plane;
8501 if (!bundle->surface_updates[planes_count].surface) {
8502 DRM_ERROR("No surface fo
8124 update_freesync_state_on_stream( struct amdgpu_display_manager *dm, struct dm_crtc_state *new_crtc_state, struct dc_stream_state *new_stream, struct dc_plane_state *surface, u32 flip_timestamp_in_us) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddc.h352 * ISR safe on windows. Currently fast update will only be used to flip surface
1383 struct dc_plane_state *surface; member in struct:dc_surface_update
1405 * Create a new surface with default parameters;
1425 * struct dc_validation_set - Struct to store surface/stream associations for validation

Completed in 327 milliseconds

12