summaryrefslogtreecommitdiff
path: root/src/amdgpu_bo_helper.h
AgeCommit message (Collapse)AuthorFilesLines
2017-08-29Create amdgpu_pixmap_clear helperMichel Dänzer1-0/+2
Preparatory, no functional change intended yet. (Ported from radeon commit 3f6210ca2c8ef60d59efc8139151d3b9838bb875) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-06-14Consolidate get_drawable_pixmap helperMichel Dänzer1-0/+16
There were two static helpers for the same purpose. Consolidate them into a single inline helper which can be used anywhere. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Qiang Yu <qiang.yu@amd.com>
2016-06-14Add amdgpu_pixmap_get_tiling_infoMichel Dänzer1-0/+2
Retrieves the tiling information about a pixmap BO from the kernel driver. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Qiang Yu <qiang.yu@amd.com>
2016-06-14Remove amdgpu_share_pixmap_backingMichel Dänzer1-2/+0
Not used anymore. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Qiang Yu <qiang.yu@amd.com>
2016-02-24Add amdgpu_pixmap_get_handle helperMichel Dänzer1-0/+2
(inspired by radeon commits dfad91fffb5bd013785223b42d78886df839eacf and ccbda955ebae1d457d35293833f12791e0f9fb0b) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-06-15Factor out amdgpu_bo_get_handle helperMichel Dänzer1-0/+2
The helper transparently handles BOs allocated from GBM and libdrm_amdgpu. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-20amdgpu: add the xf86-video-amdgpu driverAlex Deucher1-0/+103
This adds the new xf86-video-amdgpu driver for newer AMD GPUs. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>