gbm: inline DRI_FLUSH

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30494>
This commit is contained in:
Mike Blumenkrantz 2024-07-29 13:53:07 -04:00 committed by Marge Bot
parent 484b50bd73
commit 1ecb4c5cf7

View file

@ -1092,7 +1092,7 @@ gbm_dri_bo_unmap(struct gbm_bo *_bo, void *map_data)
* on the mapping context. Since there is no explicit gbm flush
* mechanism, we need to flush here.
*/
dri->flush->flush_with_flags(dri->context, NULL, __DRI2_FLUSH_CONTEXT, 0);
dri_flush(dri->context, NULL, __DRI2_FLUSH_CONTEXT, 0);
}