Searched refs:card_res (Results 1 – 1 of 1) sorted by relevance
93 struct drm_mode_card_res *card_res = data; in drm_mode_getresources() local110 fb_id = u64_to_user_ptr(card_res->fb_id_ptr); in drm_mode_getresources()112 if (count < card_res->count_fbs && in drm_mode_getresources()119 card_res->count_fbs = count; in drm_mode_getresources()122 card_res->max_height = dev->mode_config.max_height; in drm_mode_getresources()123 card_res->min_height = dev->mode_config.min_height; in drm_mode_getresources()124 card_res->max_width = dev->mode_config.max_width; in drm_mode_getresources()125 card_res->min_width = dev->mode_config.min_width; in drm_mode_getresources()128 crtc_id = u64_to_user_ptr(card_res->crtc_id_ptr); in drm_mode_getresources()131 if (count < card_res->count_crtcs && in drm_mode_getresources()[all …]