diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-05-29 18:53:50 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-06-15 17:20:43 +0900 |
commit | d3ea8a69b02b308f8f23662be6e0c7bd81c1a2c9 (patch) | |
tree | b22f4888c33ff48a06a980987bb87a42a9b21b36 /src/amdgpu_bo_helper.c | |
parent | 895e4d73d5f042afa13065b64a78f5625ecb5612 (diff) |
glamor: Add wrappers for the X server rendering hooks
They can choose between using the GPU or CPU for the operation.
(cherry picked from radeon commits eea79472a84672ee4dc7adc4487cec6a4037048a
and e58fc380ccf2a581d28f041fd74b963626ca5404)
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_bo_helper.c')
-rw-r--r-- | src/amdgpu_bo_helper.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amdgpu_bo_helper.c b/src/amdgpu_bo_helper.c index c778796..54270c6 100644 --- a/src/amdgpu_bo_helper.c +++ b/src/amdgpu_bo_helper.c @@ -123,9 +123,6 @@ int amdgpu_bo_map(ScrnInfoPtr pScrn, struct amdgpu_buffer *bo) AMDGPUInfoPtr info = AMDGPUPTR(pScrn); int ret = 0; - if (info->use_glamor) - return 0; - if (bo->flags & AMDGPU_BO_FLAGS_GBM) { uint32_t handle, stride, height; union drm_amdgpu_gem_mmap args; |