search for: drm_gpuva_region_empty

Displaying 1 result from an estimated 1 matches for "drm_gpuva_region_empty".

2023 Feb 27
2
[PATCH drm-next v2 05/16] drm: manager to keep track of GPUs VA mappings
...t;> + return; >>>> + >>>> + if (unlikely(reg == &mgr->kernel_alloc_region)) { >>>> + WARN(1, "Can't destroy kernel reserved region.\n"); >>>> + return; >>>> + } >>>> + >>>> + if (unlikely(!drm_gpuva_region_empty(reg))) >>>> + WARN(1, "GPU VA region should be empty on destroy.\n"); >>>> + >>>> + __drm_gpuva_region_remove(reg); >>>> +} >>>> +EXPORT_SYMBOL(drm_gpuva_region_remove); >>>> + >>>> +/** >>>>...