/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/ |
H A D | qxl_object.h | 30 static inline int qxl_bo_reserve(struct qxl_bo *bo) in qxl_bo_reserve() 46 static inline void qxl_bo_unreserve(struct qxl_bo *bo) in qxl_bo_unreserve() 51 static inline unsigned long qxl_bo_size(struct qxl_bo *bo) in qxl_bo_size() 61 struct qxl_bo **bo_ptr); 62 int qxl_bo_vmap(struct qxl_bo *bo, struct iosys_map *map); 63 int qxl_bo_vmap_locked(struct qxl_bo *bo, struct iosys_map *map); 64 int qxl_bo_vunmap(struct qxl_bo *bo); 65 void qxl_bo_vunmap_locked(struct qxl_bo *bo); 66 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *bo, int page_offset); 67 void qxl_bo_kunmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *b [all...] |
H A D | qxl_drv.h | 73 struct qxl_bo { struct 89 struct qxl_bo *shadow; 95 #define gem_to_qxl_bo(gobj) container_of((gobj), struct qxl_bo, tbo.base) 96 #define to_qxl_bo(tobj) container_of((tobj), struct qxl_bo, tbo) 111 struct qxl_bo *cursor_bo; 151 struct qxl_bo *release_bo; 160 struct qxl_bo *bo; 164 struct qxl_bo *bo; 185 struct qxl_bo *monitors_config_bo; 204 struct qxl_bo *primary_b [all...] |
H A D | qxl_object.c | 32 static int __qxl_bo_pin(struct qxl_bo *bo); 33 static void __qxl_bo_unpin(struct qxl_bo *bo); 37 struct qxl_bo *bo; in qxl_ttm_bo_destroy() 59 void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain) in qxl_ttm_placement_from_domain() 112 struct qxl_bo **bo_ptr) in qxl_bo_create() 115 struct qxl_bo *bo; in qxl_bo_create() 124 bo = kzalloc(sizeof(struct qxl_bo), GFP_KERNEL); in qxl_bo_create() 161 int qxl_bo_vmap_locked(struct qxl_bo *bo, struct iosys_map *map) in qxl_bo_vmap_locked() 194 int qxl_bo_vmap(struct qxl_bo *bo, struct iosys_map *map) in qxl_bo_vmap() 208 struct qxl_bo *b in qxl_bo_kmap_atomic_page() [all...] |
H A D | qxl_prime.c | 33 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_pin() 40 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_unpin() 59 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_vmap() 72 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_vunmap()
|
H A D | qxl_release.c | 124 struct qxl_bo *bo; in qxl_release_free_list() 163 struct qxl_bo **bo, in qxl_release_bo_alloc() 171 int qxl_release_list_add(struct qxl_release *release, struct qxl_bo *bo) in qxl_release_list_add() 191 static int qxl_release_validate_bo(struct qxl_bo *bo) in qxl_release_validate_bo() 230 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list() 258 struct qxl_bo *bo; in qxl_alloc_surface_release_reserved() 284 struct qxl_bo **rbo) in qxl_alloc_release_reserved() 286 struct qxl_bo *bo, *free_bo = NULL; in qxl_alloc_release_reserved() 385 struct qxl_bo *bo = release->release_bo; in qxl_release_map() 398 struct qxl_bo *b in qxl_release_unmap() [all...] |
H A D | qxl_cmd.c | 258 struct qxl_bo **_bo) in qxl_alloc_bo_reserved() 260 struct qxl_bo *bo; in qxl_alloc_bo_reserved() 325 int qxl_io_update_area(struct qxl_device *qdev, struct qxl_bo *surf, in qxl_io_update_area() 377 void qxl_io_create_primary(struct qxl_device *qdev, struct qxl_bo *bo) in qxl_io_create_primary() 420 struct qxl_bo *surf) in qxl_surface_id_alloc() 460 struct qxl_bo *surf) in qxl_hw_surface_alloc() 507 struct qxl_bo *surf) in qxl_hw_surface_dealloc() 545 static int qxl_update_surface(struct qxl_device *qdev, struct qxl_bo *surf) in qxl_update_surface() 563 static void qxl_surface_evict_locked(struct qxl_device *qdev, struct qxl_bo *surf, bool do_update_area) in qxl_surface_evict_locked() 573 void qxl_surface_evict(struct qxl_device *qdev, struct qxl_bo *sur [all...] |
H A D | qxl_display.c | 219 struct qxl_bo *bo) in qxl_check_framebuffer() 412 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() 475 struct qxl_bo *bo; in qxl_primary_atomic_check() 566 static struct qxl_bo *qxl_create_cursor(struct qxl_device *qdev, in qxl_create_cursor() 567 struct qxl_bo *user_bo, in qxl_create_cursor() 571 struct qxl_bo *cursor_bo; in qxl_create_cursor() 629 static void qxl_free_cursor(struct qxl_bo *cursor_bo) in qxl_free_cursor() 644 struct qxl_bo *bo = gem_to_qxl_bo(new_state->fb->obj[0]); in qxl_primary_atomic_update() 645 struct qxl_bo *primary; in qxl_primary_atomic_update() 679 struct qxl_bo *b in qxl_primary_atomic_disable() [all...] |
H A D | qxl_gem.c | 33 struct qxl_bo *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_free() 51 struct qxl_bo *qbo; in qxl_gem_object_create()
|
H A D | qxl_ioctl.c | 33 * TODO: allocating a new gem(in qxl_bo) for each request. 73 struct qxl_bo *dst_bo; 75 struct qxl_bo *src_bo; 112 struct qxl_release *release, struct qxl_bo **qbo_p) 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() 306 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl()
|
H A D | qxl_draw.c | 34 struct qxl_bo **clips_bo) in alloc_clips() 46 struct qxl_bo *clips_bo) in drawable_set_clipping() 128 struct qxl_bo *bo, in qxl_draw_dirty_fb() 153 struct qxl_bo *clips_bo; in qxl_draw_dirty_fb()
|
H A D | qxl_ttm.c | 53 struct qxl_bo *qbo; in qxl_evict_flags() 126 struct qxl_bo *qbo; in qxl_bo_move_notify()
|
H A D | qxl_dumb.c | 36 struct qxl_bo *qobj; in qxl_mode_dumb_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_object.h | 30 static inline int qxl_bo_reserve(struct qxl_bo *bo) in qxl_bo_reserve() 46 static inline void qxl_bo_unreserve(struct qxl_bo *bo) in qxl_bo_unreserve() 51 static inline unsigned long qxl_bo_size(struct qxl_bo *bo) in qxl_bo_size() 56 static inline u64 qxl_bo_mmap_offset(struct qxl_bo *bo) in qxl_bo_mmap_offset() 61 static inline int qxl_bo_wait(struct qxl_bo *bo, u32 *mem_type, in qxl_bo_wait() 89 struct qxl_bo **bo_ptr); 90 extern int qxl_bo_kmap(struct qxl_bo *bo, void **ptr); 91 extern void qxl_bo_kunmap(struct qxl_bo *bo); 92 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *bo, int page_offset); 93 void qxl_bo_kunmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *b [all...] |
H A D | qxl_drv.h | 74 struct qxl_bo { struct 91 struct qxl_bo *shadow; 97 #define gem_to_qxl_bo(gobj) container_of((gobj), struct qxl_bo, tbo.base) 98 #define to_qxl_bo(tobj) container_of((tobj), struct qxl_bo, tbo) 113 struct qxl_bo *cursor_bo; 153 struct qxl_bo *release_bo; 162 struct qxl_bo *bo; 166 struct qxl_bo *bo; 203 struct qxl_bo *monitors_config_bo; 222 struct qxl_bo *primary_b [all...] |
H A D | qxl_object.c | 32 struct qxl_bo *bo; in qxl_ttm_bo_destroy() 54 void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned) in qxl_ttm_placement_from_domain() 109 struct qxl_bo **bo_ptr) in qxl_bo_create() 111 struct qxl_bo *bo; in qxl_bo_create() 120 bo = kzalloc(sizeof(struct qxl_bo), GFP_KERNEL); in qxl_bo_create() 155 int qxl_bo_kmap(struct qxl_bo *bo, void **ptr) in qxl_bo_kmap() 177 struct qxl_bo *bo, int page_offset) in qxl_bo_kmap_atomic_page() 207 void qxl_bo_kunmap(struct qxl_bo *bo) in qxl_bo_kunmap() 219 struct qxl_bo *bo, void *pmap) in qxl_bo_kunmap_atomic_page() 231 void qxl_bo_unref(struct qxl_bo **b [all...] |
H A D | qxl_prime.c | 33 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_pin() 40 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_unpin() 59 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_vmap() 72 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_vunmap()
|
H A D | qxl_release.c | 164 struct qxl_bo *bo; in qxl_release_free_list() 202 struct qxl_bo **bo, in qxl_release_bo_alloc() 210 int qxl_release_list_add(struct qxl_release *release, struct qxl_bo *bo) in qxl_release_list_add() 230 static int qxl_release_validate_bo(struct qxl_bo *bo) in qxl_release_validate_bo() 269 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list() 297 struct qxl_bo *bo; in qxl_alloc_surface_release_reserved() 323 struct qxl_bo **rbo) in qxl_alloc_release_reserved() 325 struct qxl_bo *bo; in qxl_alloc_release_reserved() 415 struct qxl_bo *bo = release->release_bo; in qxl_release_map() 428 struct qxl_bo *b in qxl_release_unmap() [all...] |
H A D | qxl_cmd.c | 265 struct qxl_bo **_bo) in qxl_alloc_bo_reserved() 267 struct qxl_bo *bo; in qxl_alloc_bo_reserved() 332 int qxl_io_update_area(struct qxl_device *qdev, struct qxl_bo *surf, in qxl_io_update_area() 384 void qxl_io_create_primary(struct qxl_device *qdev, struct qxl_bo *bo) in qxl_io_create_primary() 427 struct qxl_bo *surf) in qxl_surface_id_alloc() 467 struct qxl_bo *surf) in qxl_hw_surface_alloc() 514 struct qxl_bo *surf) in qxl_hw_surface_dealloc() 552 static int qxl_update_surface(struct qxl_device *qdev, struct qxl_bo *surf) in qxl_update_surface() 570 static void qxl_surface_evict_locked(struct qxl_device *qdev, struct qxl_bo *surf, bool do_update_area) in qxl_surface_evict_locked() 580 void qxl_surface_evict(struct qxl_device *qdev, struct qxl_bo *sur [all...] |
H A D | qxl_draw.c | 31 struct qxl_bo **clips_bo) in alloc_clips() 43 struct qxl_bo *clips_bo) in drawable_set_clipping() 123 struct qxl_bo *bo, in qxl_draw_dirty_fb() 147 struct qxl_bo *clips_bo; in qxl_draw_dirty_fb()
|
H A D | qxl_gem.c | 33 struct qxl_bo *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_free() 51 struct qxl_bo *qbo; in qxl_gem_object_create()
|
H A D | qxl_dumb.c | 36 struct qxl_bo *qobj; in qxl_mode_dumb_create() 83 struct qxl_bo *qobj; in qxl_mode_dumb_mmap()
|
H A D | qxl_ioctl.c | 33 * TODO: allocating a new gem(in qxl_bo) for each request. 75 struct qxl_bo *dst_bo; 77 struct qxl_bo *src_bo; 114 struct qxl_release *release, struct qxl_bo **qbo_p) in qxlhw_handle_to_bo() 117 struct qxl_bo *qobj; in qxlhw_handle_to_bo() 148 struct qxl_bo *cmd_bo; in qxl_process_single_command() 311 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl()
|
H A D | qxl_display.c | 215 struct qxl_bo *bo) in qxl_check_framebuffer() 408 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() 469 struct qxl_bo *bo; in qxl_primary_atomic_check() 530 struct qxl_bo *bo = gem_to_qxl_bo(plane->state->fb->obj[0]); in qxl_primary_atomic_update() 531 struct qxl_bo *primary; in qxl_primary_atomic_update() 563 struct qxl_bo *bo = gem_to_qxl_bo(old_state->fb->obj[0]); in qxl_primary_atomic_disable() 583 struct qxl_bo *cursor_bo = NULL, *user_bo = NULL, *old_cursor_bo = NULL; in qxl_cursor_atomic_update() 711 int index, struct qxl_bo *bo) in qxl_update_dumb_head() 770 struct qxl_bo *user_bo; in qxl_plane_prepare_fb() 819 struct qxl_bo *user_b in qxl_plane_cleanup_fb() [all...] |
H A D | qxl_ttm.c | 54 struct qxl_bo *qbo; in qxl_evict_flags() 178 struct qxl_bo *qbo; in qxl_bo_move_notify()
|
H A D | qxl_debugfs.c | 57 struct qxl_bo *bo; in qxl_debugfs_buffers_info()
|