Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-12-09 | drm/amdgpu: fix the lost duplicates checking | Chunming Zhou | 1 | -0/+8 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Cc: [email protected] | |||||
2015-11-30 | drm/amdgpu: fix userptr flags check | Christian König | 1 | -2/+3 | |
That got messed up while porting it from Radeon. Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Christian König <[email protected]> Cc: [email protected] Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-11-20 | drm/amdgpu: remove vm->mutex | Chunming Zhou | 1 | -12/+2 | |
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-11-18 | drm/amdgpu: reserve/unreserve objects out of map/unmap operations | Chunming Zhou | 1 | -3/+18 | |
Change-Id: Id6514f2fb6e002437fdbe99353d5d35f4ac736c7 Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-11-16 | drm/amdgpu: update pd while updating vm as well | Chunming Zhou | 1 | -0/+3 | |
Change-Id: I93a861cd6707f7d91672b9e19757cc50008cd7a2 Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-10-21 | drm/amdgpu: fix the broken vm->mutex V2 | Chunming Zhou | 1 | -11/+11 | |
fix the vm->mutex and ww_mutex confilcts. vm->mutex is always token first, then ww_mutex. V2: remove unneccessary checking for pt bo. Change-Id: Iea56e183752c02831126d06d2f5b7a474a6e4743 Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-10-21 | drm/amdgpu: remove the exclusive lock | Christian König | 1 | -7/+0 | |
Finally getting rid of it. Signed-off-by: Christian König <[email protected]> | |||||
2015-09-23 | drm/amdgpu: integer overflow in amdgpu_mode_dumb_create() | Dan Carpenter | 1 | -1/+1 | |
args->size is a u64. arg->pitch and args->height are u32. The multiplication will overflow instead of using the high 32 bits as intended. Reviewed-by: Christian König <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-09-23 | drm/amdgpu: info leak in amdgpu_gem_metadata_ioctl() | Dan Carpenter | 1 | -0/+5 | |
There is no limit on args->data.data_size_bytes so we could read beyond the end of the args->data.data[] array. Reviewed-by: Christian König <[email protected]> Reported-by: Ilja Van Sprundel <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-09-23 | drm/amdgpu: use only one reservation object for each VM v2 | Christian König | 1 | -2/+4 | |
Reduces the locking and fencing overhead. v2: add comment why we need the duplicates list in the GEM op. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-09-23 | drm/amdgpu: export reservation_object from dmabuf to ttm (v2) | Christian König | 1 | -1/+2 | |
Adds an extra argument to amdgpu_bo_create, which is only used in amdgpu_prime.c. Port of radeon commit 831b6966a60fe72d85ae3576056b4e4e0775b112. v2: fix up kfd. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-09-03 | drm/amdgpu: be explicit about cpu vram access for driver BOs (v2) | Alex Deucher | 1 | -1/+2 | |
For kernel driver BOs, be explicit about whether we need vram access up front. This avoids unecessary migrations and avoids using visible vram for buffers were it's not needed. v2: line wrap fixes Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-09-02 | drm/amdgpu: fix amdgpu_bo_unreserve order in GEM_OP IOCTL v2 | Christian König | 1 | -1/+4 | |
No copy_(to|from)_user while BO is reserved. v2: handle default path as well Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> | |||||
2015-07-29 | drm/amdgpu: add new parameter to seperate map and unmap | monk.liu | 1 | -3/+5 | |
Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-07-09 | drm/amdgpu: fix timeout calculation | Christian König | 1 | -1/+1 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: add flag to delay VM updates | Christian König | 1 | -3/+3 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-29 | drm/amdgpu: silence invalid error message | Christian König | 1 | -1/+1 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Leo Liu <[email protected]> | |||||
2015-06-08 | drm/amdgpu: cleanup VA IOCTL | Christian König | 1 | -43/+21 | |
Remove the unnecessary returned status and make the IOCTL write only. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-05 | drm/amdgpu: fix user ptr race condition | Christian König | 1 | -0/+1 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: monk liu <[email protected]> | |||||
2015-06-03 | drm/amdgpu: rename GEM_OP_SET_INITIAL_DOMAIN -> GEM_OP_SET_PLACEMENT | Marek Olšák | 1 | -1/+1 | |
Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: actually use the VM map parameters | Christian König | 1 | -2/+3 | |
Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: enforce AMDGPU_GEM_CREATE_NO_CPU_ACCESS | Christian König | 1 | -1/+2 | |
Deny user and kernel mapping if we said we never want to do so. Signed-off-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-06-03 | drm/amdgpu: add core driver (v4) | Alex Deucher | 1 | -0/+735 | |
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]> |