Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-03 | drm/amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC | Jammy Zhou | 1 | -8/+2 | |
This flag isn't used by user mode drivers, remove it to avoid confusion. And rename GTT_WC to GTT_USWC to make it clear. Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu fix amdgpu.dpm=0 (v2) | Sonny Jiang | 1 | -4/+13 | |
Fix crash when disabling dpm. v2: agd5f: fix coding style, cleanup commit message Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: memset gds_info struct in info ioctl | Alex Deucher | 1 | -0/+1 | |
Avoids possibility that info may leak via the uninitialized _pad element. Noticed-by: Dan Carpenter <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fix error handling in cz_dpm_hw_fini/cz_dpm_suspend | Alex Deucher | 1 | -6/+2 | |
Need to unlock the mutex on error. Noticed-by: Dan Carpenter <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: let bo_list handler start from 1 | monk.liu | 1 | -1/+1 | |
this could prevent mis-understanding, because libdrm side will consider no bo_list created if handleis zero Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fix bug occurs when bo_list is NULL | monk.liu | 1 | -9/+9 | |
Still need to handle ibs BO and validate them even bo_list is NULL Signed-off-by: Monk.Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fix error check issue in amdgpu_mn_invalidate_range_start | Jack Xiao | 1 | -5/+5 | |
Signed-off-by: Jack Xiao <[email protected]> Reviewed-by: Monk Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: drop ttm two ended allocation | Alex Deucher | 1 | -6/+0 | |
amdgpu_bo_create() calls amdgpu_ttm_placement_from_domain() before ttm_bo_init() is called. amdgpu_ttm_placement_from_domain() uses the ttm bo size to determine when to select top down allocation but since the ttm bo is not initialized yet the check is always false. It only took affect when buffers were validated later. It also seemed to regress suspend and resume on some systems possibly due to it not taking affect in amdgpu_bo_create(). amdgpu_bo_create() and amdgpu_ttm_placement_from_domain() need to be reworked substantially for this to be optimally effective. Re-enable it at that point. Ported from radeon commit: a239118a24b3bf9089751068e431dfb63dc4168b Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add VI pci ids | Alex Deucher | 1 | -0/+20 | |
Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add CIK pci ids | Alex Deucher | 1 | -0/+83 | |
Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: Add initial VI support | Alex Deucher | 49 | -6/+33097 | |
This adds initial support for VI asics. This includes Iceland, Tonga, and Carrizo. Our inital focus as been Carrizo, so there are still gaps in support for Tonga and Iceland, notably power management. Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: Add support for CIK parts | Alex Deucher | 29 | -0/+30008 | |
This patch adds support for CIK parts. These parts are also supported by radeon which is the preferred option, so there is a config option to enable support for CIK parts in amdgpu for testing. Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: Do not directly dereference pointers to BIOS area. | Alex Deucher | 1 | -3/+7 | |
Use readb() and memcpy_fromio() accessors instead. Ported from radeon commit: f2c9e560b406f2f6b14b345c7da33467dee9cdf2 Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: fix const warnings in amdgpu_connectors.c | Alex Deucher | 1 | -7/+7 | |
Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add core driver (v4) | Alex Deucher | 76 | -0/+33574 | |
This adds the non-asic specific core driver code. v2: remove extra kconfig option v3: implement minor fixes from Fengguang Wu v4: fix cast in amdgpu_ucode.c Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add amdgpu.h (v2) | Alex Deucher | 1 | -0/+2387 | |
This is the main header file for amdgpu. v2: remove stable comments Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add amdgpu_family.h | Alex Deucher | 1 | -0/+62 | |
This header defines asic families and attributes. Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add ppsmc.h | Alex Deucher | 1 | -0/+196 | |
This header provides the smc message interface for the driver. Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add clearstate_defs.h | Alex Deucher | 1 | -0/+44 | |
This header provides for format for the GCA blocks clear state (i.e., default state). Each GCA version has a specific clear state. Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add atombios headers | Alex Deucher | 3 | -0/+9989 | |
These headers define the atombios table structure and driver interface. Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |