diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-16 15:09:14 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-16 15:11:19 +0000 |
commit | 4e8ae05f20e43c56ee7b15bbc66a472d4361a777 (patch) | |
tree | 048f18f501eb41e0345b1bab626ef1a1eb94ab9f /src/uxa | |
parent | 67f15b36faf8c4aa902d953067df0faf43387208 (diff) |
Track ABI changes for ABI_VIDEODRV_VERSION 25.2
Several structs had fields renamed, and so we must update our usage.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa')
-rw-r--r-- | src/uxa/intel_driver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c index 77c0dc00..ffd35db4 100644 --- a/src/uxa/intel_driver.c +++ b/src/uxa/intel_driver.c @@ -624,30 +624,30 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr dirty) RegionRec pixregion; int was_blocked; - PixmapRegionInit(&pixregion, dirty->slave_dst->master_pixmap); + PixmapRegionInit(&pixregion, PixmapDirtyDst(dirty)->master_pixmap); RegionTranslate(&pixregion, dirty->x, dirty->y); RegionIntersect(&pixregion, &pixregion, DamageRegion(dirty->damage)); RegionTranslate(&pixregion, -dirty->x, -dirty->y); was_blocked = RegionNil(&pixregion); - DamageRegionAppend(&dirty->slave_dst->drawable, &pixregion); + DamageRegionAppend(&PixmapDirtyDst(dirty)->drawable, &pixregion); RegionUninit(&pixregion); if (was_blocked) return; - PixmapRegionInit(&pixregion, dirty->slave_dst->master_pixmap); + PixmapRegionInit(&pixregion, PixmapDirtyDst(dirty)->master_pixmap); PixmapSyncDirtyHelper(dirty, &pixregion); RegionUninit(&pixregion); intel_flush(intel); if (!intel->has_prime_vmap_flush) { - drm_intel_bo *bo = intel_uxa_get_pixmap_bo(dirty->slave_dst->master_pixmap); + drm_intel_bo *bo = intel_uxa_get_pixmap_bo(PixmapDirtyDst(dirty)->master_pixmap); was_blocked = xf86BlockSIGIO(); drm_intel_bo_map(bo, FALSE); drm_intel_bo_unmap(bo); xf86UnblockSIGIO(was_blocked); } - DamageRegionProcessPending(&dirty->slave_dst->drawable); + DamageRegionProcessPending(&PixmapDirtyDst(dirty)->drawable); return; } |