/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_object.h | 30 static inline int qxl_bo_reserve(struct qxl_bo *bo, bool no_wait) in qxl_bo_reserve() 45 static inline void qxl_bo_unreserve(struct qxl_bo *bo) in qxl_bo_unreserve() 50 static inline u64 qxl_bo_gpu_offset(struct qxl_bo *bo) in qxl_bo_gpu_offset() 55 static inline unsigned long qxl_bo_size(struct qxl_bo *bo) in qxl_bo_size() 60 static inline u64 qxl_bo_mmap_offset(struct qxl_bo *bo) in qxl_bo_mmap_offset() 65 static inline int qxl_bo_wait(struct qxl_bo *bo, u32 *mem_type, in qxl_bo_wait() 91 struct qxl_bo **bo_ptr); 92 extern int qxl_bo_kmap(struct qxl_bo *bo, void **ptr); 93 extern void qxl_bo_kunmap(struct qxl_bo *bo); 94 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *bo, int page_offset); [all …]
|
D | qxl_drv.h | 101 struct qxl_bo { struct 121 #define gem_to_qxl_bo(gobj) container_of((gobj), struct qxl_bo, gem_base) argument 122 #define to_qxl_bo(tobj) container_of((tobj), struct qxl_bo, tbo) 204 struct qxl_bo *bo; 208 struct qxl_bo *bo; 254 struct qxl_bo *monitors_config_bo; 321 struct qxl_bo *current_release_bo[3]; 371 qxl_bo_physical_address(struct qxl_device *qdev, struct qxl_bo *bo, in qxl_bo_physical_address() 419 struct qxl_bo **qobj, 426 int qxl_bo_kmap(struct qxl_bo *bo, void **ptr); [all …]
|
D | qxl_object.c | 32 struct qxl_bo *bo; in qxl_ttm_bo_destroy() 35 bo = container_of(tbo, struct qxl_bo, tbo); in qxl_ttm_bo_destroy() 53 void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned) in qxl_ttm_placement_from_domain() 81 struct qxl_bo **bo_ptr) in qxl_bo_create() 83 struct qxl_bo *bo; in qxl_bo_create() 92 bo = kzalloc(sizeof(struct qxl_bo), GFP_KERNEL); in qxl_bo_create() 125 int qxl_bo_kmap(struct qxl_bo *bo, void **ptr) in qxl_bo_kmap() 145 struct qxl_bo *bo, int page_offset) in qxl_bo_kmap_atomic_page() 178 void qxl_bo_kunmap(struct qxl_bo *bo) in qxl_bo_kunmap() 187 struct qxl_bo *bo, void *pmap) in qxl_bo_kunmap_atomic_page() [all …]
|
D | qxl_release.c | 166 struct qxl_bo *bo; in qxl_release_free_list() 204 struct qxl_bo **bo) in qxl_release_bo_alloc() 214 int qxl_release_list_add(struct qxl_release *release, struct qxl_bo *bo) in qxl_release_list_add() 234 static int qxl_release_validate_bo(struct qxl_bo *bo) in qxl_release_validate_bo() 273 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list() 303 struct qxl_bo *bo; in qxl_alloc_surface_release_reserved() 330 struct qxl_bo **rbo) in qxl_alloc_release_reserved() 332 struct qxl_bo *bo; in qxl_alloc_release_reserved() 412 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_map() 426 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_unmap() [all …]
|
D | qxl_gem.c | 33 struct qxl_bo *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_free() 45 struct qxl_bo *qbo; in qxl_gem_object_create() 74 struct qxl_bo **qobj, in qxl_gem_object_create_with_handle()
|
D | qxl_ioctl.c | 39 struct qxl_bo *qobj; in qxl_alloc_ioctl() 73 struct qxl_bo *dst_bo; 75 struct qxl_bo *src_bo; 110 static struct qxl_bo *qxlhw_handle_to_bo(struct qxl_device *qdev, in qxlhw_handle_to_bo() 115 struct qxl_bo *qobj; in qxlhw_handle_to_bo() 146 struct qxl_bo *cmd_bo; in qxl_process_single_command() 325 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl() 409 struct qxl_bo *qobj; in qxl_alloc_surf_ioctl()
|
D | qxl_cmd.c | 259 struct qxl_bo **_bo) in qxl_alloc_bo_reserved() 261 struct qxl_bo *bo; in qxl_alloc_bo_reserved() 326 int qxl_io_update_area(struct qxl_device *qdev, struct qxl_bo *surf, in qxl_io_update_area() 380 unsigned offset, struct qxl_bo *bo) in qxl_io_create_primary() 446 struct qxl_bo *surf) in qxl_surface_id_alloc() 486 struct qxl_bo *surf, in qxl_hw_surface_alloc() 542 struct qxl_bo *surf) in qxl_hw_surface_dealloc() 581 int qxl_update_surface(struct qxl_device *qdev, struct qxl_bo *surf) in qxl_update_surface() 599 static void qxl_surface_evict_locked(struct qxl_device *qdev, struct qxl_bo *surf, bool do_update_a… in qxl_surface_evict_locked() 609 void qxl_surface_evict(struct qxl_device *qdev, struct qxl_bo *surf, bool do_update_area) in qxl_surface_evict() [all …]
|
D | qxl_dumb.c | 36 struct qxl_bo *qobj; in qxl_mode_dumb_create() 76 struct qxl_bo *qobj; in qxl_mode_dumb_mmap()
|
D | qxl_draw.c | 29 struct qxl_bo **clips_bo) in alloc_clips() 42 struct qxl_bo *clips_bo) in drawable_set_clipping() 118 struct qxl_bo **palette_bo) in alloc_palette_object() 125 static int qxl_palette_create_1bit(struct qxl_bo *palette_bo, in qxl_palette_create_1bit() 172 struct qxl_bo *palette_bo = NULL; in qxl_draw_opaque_fb() 268 struct qxl_bo *bo, in qxl_draw_dirty_fb() 291 struct qxl_bo *clips_bo; in qxl_draw_dirty_fb()
|
D | qxl_ttm.c | 190 struct qxl_bo *qbo; in qxl_evict_flags() 204 qbo = container_of(bo, struct qxl_bo, tbo); in qxl_evict_flags() 211 struct qxl_bo *qbo = to_qxl_bo(bo); in qxl_verify_access() 363 struct qxl_bo *qbo; in qxl_bo_move_notify() 368 qbo = container_of(bo, struct qxl_bo, tbo); in qxl_bo_move_notify()
|
D | qxl_display.c | 227 struct qxl_bo *bo_old = gem_to_qxl_bo(qfb_old->obj); in qxl_crtc_page_flip() 228 struct qxl_bo *bo = gem_to_qxl_bo(qfb_src->obj); in qxl_crtc_page_flip() 304 struct qxl_bo *cursor_bo, *user_bo; in qxl_crtc_cursor_set2() 480 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() 604 struct qxl_bo *bo, *old_bo = NULL; in qxl_crtc_mode_set() 692 struct qxl_bo *bo = gem_to_qxl_bo(qfb->obj); in qxl_crtc_disable()
|
D | qxl_fb.c | 417 struct qxl_bo *qbo = gem_to_qxl_bo(gobj); in qxlfb_destroy_pinned_object() 450 struct qxl_bo *qbo = NULL; in qxlfb_create_pinned_object() 509 struct qxl_bo *qbo = NULL; in qxlfb_create() 724 bool qxl_fbdev_qobj_is_fb(struct qxl_device *qdev, struct qxl_bo *qobj) in qxl_fbdev_qobj_is_fb()
|
D | qxl_debugfs.c | 58 struct qxl_bo *bo; in qxl_debugfs_buffers_info()
|
D | qxl_image.c | 114 struct qxl_bo *chunk_bo, *image_bo; in qxl_image_init_helper()
|