Home
last modified time | relevance | path

Searched refs:max_gmr_pages (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmrid_manager.c42 uint32_t max_gmr_pages; member
72 if (gman->max_gmr_pages > 0) { in vmw_gmrid_man_get_node()
81 if (unlikely(gman->used_gmr_pages > gman->max_gmr_pages)) { in vmw_gmrid_man_get_node()
88 if (gman->max_gmr_pages > (max_graphics_pages / 2)) { in vmw_gmrid_man_get_node()
92 new_max_pages = gman->max_gmr_pages * 2; in vmw_gmrid_man_get_node()
93 if (new_max_pages > gman->max_gmr_pages && new_max_pages >= gman->used_gmr_pages) { in vmw_gmrid_man_get_node()
97 gman->max_gmr_pages = new_max_pages; in vmw_gmrid_man_get_node()
102 ((gman->max_gmr_pages) << (PAGE_SHIFT - 10))); in vmw_gmrid_man_get_node()
146 gman->used_gmr_pages, gman->max_gmr_pages, gman->max_gmr_ids); in vmw_gmrid_man_debug()
173 gman->max_gmr_pages = dev_priv->max_gmr_pages; in vmw_gmrid_man_init()
[all …]
Dvmwgfx_drv.c933 dev_priv->max_gmr_pages = in vmw_driver_load()
1010 (unsigned)dev_priv->max_gmr_pages); in vmw_driver_load()
Dvmwgfx_drv.h524 uint32_t max_gmr_pages; member