summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-05-18extend conditional group GBM_BO_USE_LINEAR over both usagesamdgpuBrian Paterni1-1/+1
Fixes 'GBM_BO_USE_LINEAR' undeclared error when compiling against older libgbm Signed-off-by: Brian Paterni <bpaterni@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-05-15glamor: Deal with glamor_glyphs_init being removed from xserverMichel Dänzer2-0/+8
Port of radeon commit 818c180c8932233b214a35ba0647af82f7bcec3d.
2015-05-13add some new tonga pci idsAlex Deucher6-12/+30
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-13add new bonaire pci idAlex Deucher6-0/+6
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-13Link against libgbmMichel Dänzer2-1/+3
Fixes unresolved symbol "gbm_create_device". Reported-and-Tested-by: Brian Paterni <bpaterni@gmail.com>
2015-05-12Disable tiling for PRIME shared pixmapJammy Zhou1-1/+1
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-05-12Use gbm_bo_get_fd to get DMA_BUF fdJammy Zhou1-1/+5
When GBM is used for buffer allocation, gbm_bo_get_fd should be used to get the DMA_BUF fd. Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-05-07ddx: use amdgpu_query_crtc_from_idMarek Olšák1-9/+4
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-07ddx: remove AMDGPUIsAccelWorkingMarek Olšák1-14/+1
libdrm fails to initialize without acceleration, so this always returns true. Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-07ddx: enable acceleration by default on HawaiiMarek Olšák1-2/+1
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-07Remove throttling from amdgpu_dri2_copy_region2Jammy Zhou1-19/+0
Throttling should be handled by the client-side drivers. Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-04-27fixup READMEAlex Deucher1-3/+3
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-24Add 10-amdgpu.conf xorg.conf.d snippetMichel Dänzer4-1/+44
This instructs Xorg >= 1.16 to try loading the amdgpu driver for devices managed by the amdgpu kernel driver. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-24Document Option "AccelMethod" in the manpageMichel Dänzer1-0/+9
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-24Fix build when gbm.h doesn't define GBM_BO_USE_LINEARMichel Dänzer2-1/+5
Option "AccelMethod" "none" is ignored in that case. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-24glamor: Handle GLAMOR_* flags removed from xserverMichel Dänzer2-7/+19
The behaviour is the same as when the removed flags were passed in. (cherry picked from radeon commit b16609b453bb1a181198cf27778f205dc23fb642) Reviewed-by: Christian König <christian.koenig@amd.com>
2015-04-24Move #include "radeon_glamor.h" from amdgpu_drv.h to where it's neededMichel Dänzer7-6/+8
(cherry picked from radeon commit 4b8adebb80158bcf81ada83bb88517febe931b12) Reviewed-by: Christian König <christian.koenig@amd.com>
2015-04-20amdgpu: add the xf86-video-amdgpu driverAlex Deucher37-0/+8436
This adds the new xf86-video-amdgpu driver for newer AMD GPUs. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>