Searched refs:max_res (Results 1 – 1 of 1) sorted by relevance
406 struct resource *res, *max_res = NULL; in ofdrm_find_fb_resource() local417 if (!max_res || resource_size(res) > resource_size(max_res)) in ofdrm_find_fb_resource()418 max_res = res; /* store largest resource as fallback */ in ofdrm_find_fb_resource()421 return max_res; in ofdrm_find_fb_resource()