aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index a0a229ccb1b..6d3e9c9f752 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@ -295,7 +295,7 @@ static void radeon_bomgr_free_va(const struct radeon_info *info,
if ((va + size) == heap->start) {
heap->start = va;
/* Delete uppermost hole if it reaches the new top */
- if (!LIST_IS_EMPTY(&heap->holes)) {
+ if (!list_is_empty(&heap->holes)) {
hole = container_of(heap->holes.next, hole, list);
if ((hole->offset + hole->size) == va) {
heap->start = hole->offset;