Commit Graph

11 Commits

Author SHA1 Message Date
Marek Olšák
b69c5b3cc2 ddx: use amdgpu_query_crtc_from_id
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-07 13:21:43 -04:00
Marek Olšák
91aa694a7d ddx: remove AMDGPUIsAccelWorking
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-07 13:21:32 -04:00
Marek Olšák
afc33040f8 ddx: enable acceleration by default on Hawaii
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-07 13:21:22 -04:00
Jammy Zhou
8a34a81498 Remove throttling from amdgpu_dri2_copy_region2
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-05-07 13:21:09 -04:00
Alex Deucher
9f61a5506b fixup README
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-27 09:29:53 -04:00
Michel Dänzer
a49ad11af1 Add 10-amdgpu.conf xorg.conf.d snippet
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-24 09:57:27 +09:00
Michel Dänzer
fa4aed6cf5 Document Option "AccelMethod" in the manpage
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-24 09:54:34 +09:00
Michel Dänzer
fe4a4b6836 Fix build when gbm.h doesn't define GBM_BO_USE_LINEAR
Option "AccelMethod" "none" is ignored in that case.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-24 09:52:04 +09:00
Michel Dänzer
84df3e7114 glamor: Handle GLAMOR_* flags removed from xserver
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-24 09:51:22 +09:00
Michel Dänzer
b947f4bf4e Move #include "radeon_glamor.h" from amdgpu_drv.h to where it's needed
(cherry picked from radeon commit 4b8adebb80158bcf81ada83bb88517febe931b12)

Reviewed-by: Christian König <christian.koenig@amd.com>
2015-04-24 09:50:51 +09:00
Alex Deucher
ff62bf6e9d amdgpu: add the xf86-video-amdgpu driver
This adds the new xf86-video-amdgpu driver for
newer AMD GPUs.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-04-20 11:57:52 -04:00