diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-05-18 18:49:35 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-07-09 18:28:05 +0200 |
commit | b85b7b11f5b5e792f21951b881bd8433d3d70858 (patch) | |
tree | e079f521cf1a8600ee31d073c56b00088dca3acd /src/radeon_exa_shared.h | |
parent | 37ba075b34130c41bb7a2261bd666af5b29ffaf3 (diff) |
Add struct radeon_buffer
Inspired by amdgpu, preparation for the following change. For now, this
is mostly a wrapper around struct radeon_bo, no functional change
intended.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_exa_shared.h')
-rw-r--r-- | src/radeon_exa_shared.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_exa_shared.h b/src/radeon_exa_shared.h index 3df7fa20..fe28c230 100644 --- a/src/radeon_exa_shared.h +++ b/src/radeon_exa_shared.h @@ -66,7 +66,8 @@ static inline void radeon_add_pixmap(struct radeon_cs *cs, PixmapPtr pPix, int r { struct radeon_exa_pixmap_priv *driver_priv = exaGetPixmapDriverPrivate(pPix); - radeon_cs_space_add_persistent_bo(cs, driver_priv->bo, read_domains, write_domain); + radeon_cs_space_add_persistent_bo(cs, driver_priv->bo->bo.radeon, + read_domains, write_domain); } extern void radeon_ib_discard(ScrnInfoPtr pScrn); |