Searched refs:mem_avail (Results 1 – 1 of 1) sorted by relevance
556 uint32 mem_avail, bytes_X_height; in nm_general_validate_pic_size() local559 mem_avail = (si->ps.memory_size * 1024); in nm_general_validate_pic_size()560 if (si->settings.hardcursor) mem_avail -= si->ps.curmem_size; in nm_general_validate_pic_size()569 if (((800 * bytes_X_height) > mem_avail) && in nm_general_validate_pic_size()578 if (((1024 * bytes_X_height) > mem_avail) && in nm_general_validate_pic_size()587 if (((1152 * bytes_X_height) > mem_avail) && in nm_general_validate_pic_size()596 if (((1280 * bytes_X_height) > mem_avail) && in nm_general_validate_pic_size()605 if (((1600 * bytes_X_height) > mem_avail) && in nm_general_validate_pic_size()