surface 5501 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct dc_plane_state *surface, surface 5523 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (surface) { surface 5526 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c surface, surface 5738 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bundle->surface_updates[planes_count].surface = dc_plane; surface 5810 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bundle->surface_updates[planes_count].surface = dc_plane; surface 5812 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!bundle->surface_updates[planes_count].surface) { surface 6349 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dummy_updates[j].surface = status->plane_states[0]; surface 7143 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c updates[num_plane].surface = new_dm_plane_state->dc_state; surface 1374 drivers/gpu/drm/amd/display/dc/core/dc.c union surface_update_flags *update_flags = &u->surface->update_flags; surface 1380 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->color_space != u->surface->color_space) { surface 1385 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->horizontal_mirror != u->surface->horizontal_mirror) { surface 1390 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->rotation != u->surface->rotation) { surface 1395 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->format != u->surface->format) { surface 1400 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->stereo_format != u->surface->stereo_format) { surface 1405 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->per_pixel_alpha != u->surface->per_pixel_alpha) { surface 1410 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->global_alpha_value != u->surface->global_alpha_value) { surface 1415 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->sdr_white_level != u->surface->sdr_white_level) { surface 1420 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->dcc.enable != u->surface->dcc.enable surface 1421 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->dcc.independent_64b_blks != u->surface->dcc.independent_64b_blks surface 1422 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->dcc.meta_pitch != u->surface->dcc.meta_pitch) { surface 1428 drivers/gpu/drm/amd/display/dc/core/dc.c resource_pixel_format_to_bpp(u->surface->format)) { surface 1436 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->plane_size.surface_pitch != u->surface->plane_size.surface_pitch surface 1437 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->plane_size.surface_pitch != u->surface->plane_size.surface_pitch surface 1438 drivers/gpu/drm/amd/display/dc/core/dc.c || u->plane_info->plane_size.chroma_pitch != u->surface->plane_size.chroma_pitch) { surface 1444 drivers/gpu/drm/amd/display/dc/core/dc.c if (memcmp(&u->plane_info->tiling_info, &u->surface->tiling_info, surface 1468 drivers/gpu/drm/amd/display/dc/core/dc.c union surface_update_flags *update_flags = &u->surface->update_flags; surface 1473 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->clip_rect.width != u->surface->clip_rect.width surface 1474 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->clip_rect.height != u->surface->clip_rect.height surface 1475 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.width != u->surface->dst_rect.width surface 1476 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.height != u->surface->dst_rect.height) { surface 1479 drivers/gpu/drm/amd/display/dc/core/dc.c if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width surface 1480 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) surface 1481 drivers/gpu/drm/amd/display/dc/core/dc.c && (u->scaling_info->dst_rect.width < u->surface->src_rect.width surface 1482 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) surface 1487 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.width != u->surface->src_rect.width surface 1488 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->src_rect.height != u->surface->src_rect.height) { surface 1491 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.width > u->surface->src_rect.width surface 1492 drivers/gpu/drm/amd/display/dc/core/dc.c && u->scaling_info->src_rect.height > u->surface->src_rect.height) surface 1497 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.x != u->surface->src_rect.x surface 1498 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->src_rect.y != u->surface->src_rect.y surface 1499 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->clip_rect.x != u->surface->clip_rect.x surface 1500 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->clip_rect.y != u->surface->clip_rect.y surface 1501 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.x != u->surface->dst_rect.x surface 1502 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) surface 1522 drivers/gpu/drm/amd/display/dc/core/dc.c union surface_update_flags *update_flags = &u->surface->update_flags; surface 1529 drivers/gpu/drm/amd/display/dc/core/dc.c if (!is_surface_in_context(context, u->surface)) { surface 1534 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->surface->force_full_update) { surface 1562 drivers/gpu/drm/amd/display/dc/core/dc.c else if (u->surface) surface 1563 drivers/gpu/drm/amd/display/dc/core/dc.c format = u->surface->format; surface 1651 drivers/gpu/drm/amd/display/dc/core/dc.c updates[i].surface->update_flags.raw = 0; surface 1656 drivers/gpu/drm/amd/display/dc/core/dc.c updates[i].surface->update_flags.raw = 0xFFFFFFFF; surface 1682 drivers/gpu/drm/amd/display/dc/core/dc.c struct dc_plane_state *surface, surface 1686 drivers/gpu/drm/amd/display/dc/core/dc.c surface->address = srf_update->flip_addr->address; surface 1687 drivers/gpu/drm/amd/display/dc/core/dc.c surface->flip_immediate = surface 1689 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.time_elapsed_in_us[surface->time.index] = surface 1691 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.prev_update_time_in_us; surface 1692 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.prev_update_time_in_us = surface 1694 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.index++; surface 1695 drivers/gpu/drm/amd/display/dc/core/dc.c if (surface->time.index >= DC_PLANE_UPDATE_TIMES_MAX) surface 1696 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.index = 0; surface 1700 drivers/gpu/drm/amd/display/dc/core/dc.c surface->scaling_quality = surface 1702 drivers/gpu/drm/amd/display/dc/core/dc.c surface->dst_rect = surface 1704 drivers/gpu/drm/amd/display/dc/core/dc.c surface->src_rect = surface 1706 drivers/gpu/drm/amd/display/dc/core/dc.c surface->clip_rect = surface 1711 drivers/gpu/drm/amd/display/dc/core/dc.c surface->color_space = surface 1713 drivers/gpu/drm/amd/display/dc/core/dc.c surface->format = surface 1715 drivers/gpu/drm/amd/display/dc/core/dc.c surface->plane_size = surface 1717 drivers/gpu/drm/amd/display/dc/core/dc.c surface->rotation = surface 1719 drivers/gpu/drm/amd/display/dc/core/dc.c surface->horizontal_mirror = surface 1721 drivers/gpu/drm/amd/display/dc/core/dc.c surface->stereo_format = surface 1723 drivers/gpu/drm/amd/display/dc/core/dc.c surface->tiling_info = surface 1725 drivers/gpu/drm/amd/display/dc/core/dc.c surface->visible = surface 1727 drivers/gpu/drm/amd/display/dc/core/dc.c surface->per_pixel_alpha = surface 1729 drivers/gpu/drm/amd/display/dc/core/dc.c surface->global_alpha = surface 1731 drivers/gpu/drm/amd/display/dc/core/dc.c surface->global_alpha_value = surface 1733 drivers/gpu/drm/amd/display/dc/core/dc.c surface->dcc = surface 1735 drivers/gpu/drm/amd/display/dc/core/dc.c surface->sdr_white_level = surface 1737 drivers/gpu/drm/amd/display/dc/core/dc.c surface->layer_index = surface 1742 drivers/gpu/drm/amd/display/dc/core/dc.c (surface->gamma_correction != surface 1744 drivers/gpu/drm/amd/display/dc/core/dc.c memcpy(&surface->gamma_correction->entries, surface 1747 drivers/gpu/drm/amd/display/dc/core/dc.c surface->gamma_correction->is_identity = surface 1749 drivers/gpu/drm/amd/display/dc/core/dc.c surface->gamma_correction->num_entries = surface 1751 drivers/gpu/drm/amd/display/dc/core/dc.c surface->gamma_correction->type = surface 1756 drivers/gpu/drm/amd/display/dc/core/dc.c (surface->in_transfer_func != surface 1758 drivers/gpu/drm/amd/display/dc/core/dc.c surface->in_transfer_func->sdr_ref_white_level = surface 1760 drivers/gpu/drm/amd/display/dc/core/dc.c surface->in_transfer_func->tf = surface 1762 drivers/gpu/drm/amd/display/dc/core/dc.c surface->in_transfer_func->type = surface 1764 drivers/gpu/drm/amd/display/dc/core/dc.c memcpy(&surface->in_transfer_func->tf_pts, surface 1771 drivers/gpu/drm/amd/display/dc/core/dc.c (surface->in_shaper_func != surface 1773 drivers/gpu/drm/amd/display/dc/core/dc.c memcpy(surface->in_shaper_func, srf_update->func_shaper, surface 1774 drivers/gpu/drm/amd/display/dc/core/dc.c sizeof(*surface->in_shaper_func)); surface 1777 drivers/gpu/drm/amd/display/dc/core/dc.c (surface->lut3d_func != surface 1779 drivers/gpu/drm/amd/display/dc/core/dc.c memcpy(surface->lut3d_func, srf_update->lut3d_func, surface 1780 drivers/gpu/drm/amd/display/dc/core/dc.c sizeof(*surface->lut3d_func)); surface 1783 drivers/gpu/drm/amd/display/dc/core/dc.c (surface->blend_tf != surface 1785 drivers/gpu/drm/amd/display/dc/core/dc.c memcpy(surface->blend_tf, srf_update->blend_tf, surface 1786 drivers/gpu/drm/amd/display/dc/core/dc.c sizeof(*surface->blend_tf)); surface 1790 drivers/gpu/drm/amd/display/dc/core/dc.c surface->input_csc_color_matrix = surface 1794 drivers/gpu/drm/amd/display/dc/core/dc.c surface->coeff_reduction_factor = surface 2039 drivers/gpu/drm/amd/display/dc/core/dc.c struct dc_plane_state *plane_state = srf_updates[i].surface; surface 2108 drivers/gpu/drm/amd/display/dc/core/dc.c struct dc_plane_state *plane_state = srf_updates[i].surface; surface 2127 drivers/gpu/drm/amd/display/dc/core/dc.c struct dc_plane_state *plane_state = srf_updates[i].surface; surface 2214 drivers/gpu/drm/amd/display/dc/core/dc.c struct dc_plane_state *surface = srf_updates[i].surface; surface 2216 drivers/gpu/drm/amd/display/dc/core/dc.c copy_surface_update_to_plane(surface, &srf_updates[i]); surface 2223 drivers/gpu/drm/amd/display/dc/core/dc.c if (pipe_ctx->plane_state != surface) surface 798 drivers/gpu/drm/amd/display/dc/dc.h struct dc_plane_state *surface; surface 17192 drivers/gpu/drm/i915/display/intel_display.c u32 surface; surface 17257 drivers/gpu/drm/i915/display/intel_display.c error->plane[i].surface = I915_READ(DSPSURF(i)); surface 17327 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " SURF: %08x\n", error->plane[i].surface); surface 74 drivers/gpu/drm/qxl/qxl_draw.c make_drawable(struct qxl_device *qdev, int surface, uint8_t type, surface 87 drivers/gpu/drm/qxl/qxl_draw.c drawable->surface_id = surface; /* Only primary for now */ surface 1938 drivers/gpu/drm/radeon/radeon.h } surface; surface 2750 drivers/gpu/drm/radeon/radeon.h #define radeon_set_surface_reg(rdev, r, f, p, o, s) ((rdev)->asic->surface.set_reg((rdev), (r), (f), (p), (o), (s))) surface 2751 drivers/gpu/drm/radeon/radeon.h #define radeon_clear_surface_reg(rdev, r) ((rdev)->asic->surface.clear_reg((rdev), (r))) surface 236 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 304 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 400 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 468 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 536 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 604 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 672 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 740 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 808 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 876 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 973 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1059 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1152 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1258 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1378 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1472 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1565 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1713 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1833 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1971 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 2141 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 2254 drivers/gpu/drm/radeon/radeon_asic.c .surface = { surface 1094 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct vmw_surface *surface, surface 2796 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c &cmd->body.surface.sid, NULL); surface 255 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c struct vmw_surface *surface; surface 310 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c surface = vmw_res_to_srf(res); surface 312 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c vfb, surface, arg->sid, surface 317 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c vmw_surface_unreference(&surface); surface 366 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vps->surf = vmw_framebuffer_to_vfbs(fb)->surface; surface 487 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_surface *surface = NULL; surface 513 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c surface = vmw_framebuffer_to_vfbs(fb)->surface; surface 515 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (surface && !surface->snooper.image) { surface 832 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_surface_unreference(&vfbs->surface); surface 886 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_surface *surface, surface 908 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (unlikely(!surface->scanout)) surface 911 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (unlikely(surface->mip_levels[0] != 1 || surface 912 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c surface->num_sizes != 1 || surface 913 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c surface->base_size.width < mode_cmd->width || surface 914 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c surface->base_size.height < mode_cmd->height || surface 915 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c surface->base_size.depth != 1)) { surface 944 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (!dev_priv->has_dx && format != surface->format) { surface 956 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vfbs->surface = vmw_surface_reference(surface); surface 970 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_surface_unreference(&surface); surface 1076 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; surface 1119 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; surface 1311 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_surface *surface, surface 1329 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c bo, &surface); surface 1337 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (surface) { surface 1338 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_kms_new_framebuffer_surface(dev_priv, surface, &vfb, surface 1347 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_surface_unreference(&surface); surface 1375 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_surface *surface = NULL; surface 1402 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c &surface, &bo); surface 1416 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vfb = vmw_kms_new_framebuffer(dev_priv, bo, surface, surface 1428 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (surface) surface 1429 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_surface_unreference(&surface); surface 1734 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_surface *surface, surface 1741 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c &surface->res, destX, destY, surface 1749 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_surface *surface, surface 1760 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c &surface->res, destX, destY, surface 1764 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_kms_generic_present(dev_priv, file_priv, vfb, surface, surface 2831 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_validation_add_resource(&val_ctx, &vfbs->surface->res, surface 235 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct vmw_surface *surface; surface 439 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct vmw_surface *surface, surface 600 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.srcImage.sid = vfbs->surface->res.id; surface 1143 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c srf = &vfbs->surface->res; surface 866 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c srf = &vfbs->surface->res; surface 1058 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c if (new_vfbs && new_vfbs->surface->base_size.width == hdisplay && surface 1059 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c new_vfbs->surface->base_size.height == vdisplay) surface 1105 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c content_srf = *new_vfbs->surface; surface 1152 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vps->surf = vmw_surface_reference(new_vfbs->surface); surface 1457 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd_update->body.image.sid = vfbs->surface->res.id; surface 1489 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd_copy->body.src.sid = vfbs->surface->res.id; surface 1564 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c if (vfbs->surface->res.id != stdu->display_srf->res.id) {