summaryrefslogtreecommitdiff
path: root/src/amdgpu_bo_helper.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-08-29 16:46:33 +0900
committerMichel Dänzer <michel.daenzer@amd.com>2017-08-29 16:46:33 +0900
commit1afd4a526c97e77ec882988e35d4977880b9d16c (patch)
tree5493dd3114bfe655cfba565a8d8a56db4c497ff5 /src/amdgpu_bo_helper.h
parent0de05767adb79d417284dae83e9a77857633fd80 (diff)
Create amdgpu_pixmap_clear helper
Preparatory, no functional change intended yet. (Ported from radeon commit 3f6210ca2c8ef60d59efc8139151d3b9838bb875) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_bo_helper.h')
-rw-r--r--src/amdgpu_bo_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amdgpu_bo_helper.h b/src/amdgpu_bo_helper.h
index 26fca16..4f6b628 100644
--- a/src/amdgpu_bo_helper.h
+++ b/src/amdgpu_bo_helper.h
@@ -29,6 +29,8 @@ extern struct amdgpu_buffer *amdgpu_alloc_pixmap_bo(ScrnInfoPtr pScrn, int width
int height, int depth, int usage_hint,
int bitsPerPixel, int *new_pitch);
+extern void amdgpu_pixmap_clear(PixmapPtr pixmap);
+
extern Bool amdgpu_bo_get_handle(struct amdgpu_buffer *bo, uint32_t *handle);
extern uint64_t amdgpu_pixmap_get_tiling_info(PixmapPtr pixmap);