/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_cmd.c | 325 int qxl_io_update_area(struct qxl_device *qdev, struct qxl_bo *surf, in qxl_io_update_area() argument 332 if (!surf->hw_surf_alloc) in qxl_io_update_area() 335 if (surf->is_primary) in qxl_io_update_area() 338 surface_id = surf->surface_id; in qxl_io_update_area() 339 surface_width = surf->surf.width; in qxl_io_update_area() 340 surface_height = surf->surf.height; in qxl_io_update_area() 386 create->format = bo->surf.format; in qxl_io_create_primary() 387 create->width = bo->surf.width; in qxl_io_create_primary() 388 create->height = bo->surf.height; in qxl_io_create_primary() 389 create->stride = bo->surf.stride; in qxl_io_create_primary() [all …]
|
H A D | qxl_dumb.c | 40 struct qxl_surface surf; in qxl_mode_dumb_create() local 58 surf.width = args->width; in qxl_mode_dumb_create() 59 surf.height = args->height; in qxl_mode_dumb_create() 60 surf.stride = pitch; in qxl_mode_dumb_create() 61 surf.format = format; in qxl_mode_dumb_create() 62 surf.data = 0; in qxl_mode_dumb_create() 66 args->size, &surf, &gobj, in qxl_mode_dumb_create()
|
H A D | qxl_display.c | 221 return qxl_check_mode(qdev, bo->surf.width, bo->surf.height); in qxl_check_framebuffer() 750 width = bo->surf.width; in qxl_update_dumb_head() 751 height = bo->surf.height; in qxl_update_dumb_head() 770 struct qxl_surface *surf) in qxl_calc_dumb_shadow() argument 775 memset(surf, 0, sizeof(*surf)); in qxl_calc_dumb_shadow() 778 head->x = surf->width; in qxl_calc_dumb_shadow() 779 surf->width += head->width; in qxl_calc_dumb_shadow() 780 if (surf->height < head->height) in qxl_calc_dumb_shadow() 781 surf->height = head->height; in qxl_calc_dumb_shadow() 783 if (surf->width < 64) in qxl_calc_dumb_shadow() [all …]
|
H A D | qxl_gem.c | 48 struct qxl_surface *surf, in qxl_gem_object_create() argument 58 r = qxl_bo_create(qdev, size, kernel, false, initial_domain, 0, surf, &qbo); in qxl_gem_object_create() 85 struct qxl_surface *surf, in qxl_gem_object_create_with_handle() argument 96 false, false, surf, in qxl_gem_object_create_with_handle()
|
H A D | qxl_drv.h | 91 struct qxl_surface surf; member 303 struct qxl_surface *surf, 309 struct qxl_surface *surf, 352 int qxl_io_update_area(struct qxl_device *qdev, struct qxl_bo *surf, 433 struct qxl_bo *surf); 437 struct qxl_bo *surf); 439 struct qxl_bo *surf); 443 void qxl_surface_evict(struct qxl_device *qdev, struct qxl_bo *surf, bool freeing);
|
H A D | qxl_ioctl.c | 389 struct qxl_surface surf; in qxl_alloc_surf_ioctl() local 395 surf.format = param->format; in qxl_alloc_surf_ioctl() 396 surf.width = param->width; in qxl_alloc_surf_ioctl() 397 surf.height = param->height; in qxl_alloc_surf_ioctl() 398 surf.stride = param->stride; in qxl_alloc_surf_ioctl() 399 surf.data = 0; in qxl_alloc_surf_ioctl() 404 &surf, in qxl_alloc_surf_ioctl()
|
H A D | qxl_object.c | 106 struct qxl_surface *surf, in qxl_bo_create() argument 133 if (surf) in qxl_bo_create() 134 bo->surf = *surf; in qxl_bo_create()
|
H A D | qxl_object.h | 60 struct qxl_surface *surf,
|
/linux/drivers/gpu/drm/radeon/ |
H A D | evergreen_cs.c | 192 struct eg_surface *surf, in evergreen_surface_check_linear() argument 195 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; in evergreen_surface_check_linear() 196 surf->base_align = surf->bpe; in evergreen_surface_check_linear() 197 surf->palign = 1; in evergreen_surface_check_linear() 198 surf->halign = 1; in evergreen_surface_check_linear() 203 struct eg_surface *surf, in evergreen_surface_check_linear_aligned() argument 209 palign = MAX(64, track->group_size / surf->bpe); in evergreen_surface_check_linear_aligned() 210 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; in evergreen_surface_check_linear_aligned() 211 surf->base_align = track->group_size; in evergreen_surface_check_linear_aligned() 212 surf->palign = palign; in evergreen_surface_check_linear_aligned() [all …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_vkms.c | 49 struct vmw_surface *surf) in vmw_surface_sync() argument 53 struct vmw_bo *bo = surf->res.guest_memory_bo; in vmw_surface_sync() 55 vmw_resource_clean(&surf->res); in vmw_surface_sync() 80 struct vmw_surface *surf, in compute_crc() argument 84 struct vmw_bo *bo = surf->res.guest_memory_bo; in compute_crc() 86 vmw_surface_get_desc(surf->metadata.format); in compute_crc() 93 vmw_surface_get_size_in_blocks(desc, &surf->metadata.base_size, &blocks); in compute_crc() 116 struct vmw_surface *surf = 0; in crc_generate_worker() local 130 surf = vmw_surface_reference(du->vkms.surface); in crc_generate_worker() 133 if (surf) { in crc_generate_worker() [all …]
|
H A D | vmwgfx_vkms.h | 73 struct vmw_surface *surf);
|
H A D | vmwgfx_bo.c | 865 struct vmw_surface *surf = NULL; in vmw_bo_surface() local 887 surf = vmw_res_to_srf(res); in vmw_bo_surface() 888 return surf; in vmw_bo_surface()
|
H A D | vmwgfx_kms.c | 197 struct vmw_surface *surf; in vmw_du_cursor_plane_acquire_image() local 202 surf = vmw_user_object_surface(&vps->uo); in vmw_du_cursor_plane_acquire_image() 203 if (surf && !vmw_user_object_is_mapped(&vps->uo)) in vmw_du_cursor_plane_acquire_image() 204 return surf->snooper.image; in vmw_du_cursor_plane_acquire_image() 546 struct vmw_surface *surf = vmw_user_object_surface(&vps->uo); in vmw_du_plane_unpin_surf() local 548 if (surf) { in vmw_du_plane_unpin_surf() 550 vmw_resource_unpin(&surf->res); in vmw_du_plane_unpin_surf() 2576 struct vmw_surface *surf = vmw_user_object_surface(&vfbs->uo); in vmw_du_helper_plane_update() local 2578 ret = vmw_validation_add_resource(&val_ctx, &surf->res, in vmw_du_helper_plane_update()
|
H A D | vmwgfx_surface.c | 908 struct vmw_surface *surf; in vmw_lookup_user_surface_for_buffer() local 911 surf = vmw_bo_surface(bo); in vmw_lookup_user_surface_for_buffer() 912 if (surf) { in vmw_lookup_user_surface_for_buffer() 914 user_srf = container_of(surf, struct vmw_user_surface, srf); in vmw_lookup_user_surface_for_buffer() 935 struct vmw_surface *surf = NULL; in vmw_lookup_surface_for_buffer() local 939 surf = vmw_surface_reference(&user_srf->srf); in vmw_lookup_surface_for_buffer() 943 return surf; in vmw_lookup_surface_for_buffer()
|
H A D | vmwgfx_scrn.c | 586 struct vmw_surface *surf = NULL; in vmw_sou_surface_pre_clip() local 594 surf = vmw_user_object_surface(&vfbs->uo); in vmw_sou_surface_pre_clip() 595 blit->body.srcImage.sid = surf->res.id; in vmw_sou_surface_pre_clip()
|
H A D | vmwgfx_stdu.c | 1101 struct vmw_surface *surf = vmw_user_object_surface(&vps->uo); in vmw_stdu_primary_plane_prepare_fb() local 1102 struct vmw_resource *res = &surf->res; in vmw_stdu_primary_plane_prepare_fb()
|
/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail_device.c | 155 p->surf = PSB_RVDC32(DSPASURF); in oaktrail_save_display_registers() 288 PSB_WVDC32(p->surf, DSPASURF); in oaktrail_restore_display_registers() 412 .surf = DSPASURF, 436 .surf = DSPBSURF,
|
H A D | psb_device.c | 215 .surf = DSPASURF, 239 .surf = DSPBSURF,
|
H A D | cdv_device.c | 515 .surf = DSPASURF, 540 .surf = DSPBSURF,
|
H A D | psb_drv.h | 239 u32 surf; member 274 u32 surf; member
|
H A D | oaktrail_crtc.c | 646 REG_WRITE(map->surf, start); in oaktrail_pipe_set_base() 647 REG_READ(map->surf); in oaktrail_pipe_set_base()
|
H A D | oaktrail_hdmi.c | 776 pipeb->surf = PSB_RVDC32(DSPBSURF); in oaktrail_hdmi_save() 832 PSB_WVDC32(pipeb->surf, DSPBSURF); in oaktrail_hdmi_restore()
|
H A D | gma_display.c | 129 REG_WRITE(map->surf, start); in gma_pipe_set_base() 130 REG_READ(map->surf); in gma_pipe_set_base()
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8660-surf.dts | 9 compatible = "qcom,msm8660-surf", "qcom,msm8660";
|
H A D | Makefile | 33 qcom-msm8660-surf.dtb \
|