diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0687-drm-amdgpu-remove-the-unnecessary-parameter-adev-for.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0687-drm-amdgpu-remove-the-unnecessary-parameter-adev-for.patch | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/common/recipes-kernel/linux/files/0687-drm-amdgpu-remove-the-unnecessary-parameter-adev-for.patch b/common/recipes-kernel/linux/files/0687-drm-amdgpu-remove-the-unnecessary-parameter-adev-for.patch deleted file mode 100644 index 6918737d..00000000 --- a/common/recipes-kernel/linux/files/0687-drm-amdgpu-remove-the-unnecessary-parameter-adev-for.patch +++ /dev/null @@ -1,79 +0,0 @@ -From bbf0b34578a71f42d19bd6c966f09221044921fe Mon Sep 17 00:00:00 2001 -From: Junwei Zhang <Jerry.Zhang@amd.com> -Date: Sun, 6 Sep 2015 14:00:46 +0800 -Subject: [PATCH 0687/1565] drm/amdgpu: remove the unnecessary parameter adev - for amdgpu_sa_bo_new() -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> -Reviewed-by: Christian König <christian.koenig@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 +- - drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 7 +++---- - drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | 3 +-- - drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c | 2 +- - 4 files changed, 6 insertions(+), 8 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c -index 3902e7a..9e25eda 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c -@@ -62,7 +62,7 @@ int amdgpu_ib_get(struct amdgpu_ring *ring, struct amdgpu_vm *vm, - int r; - - if (size) { -- r = amdgpu_sa_bo_new(adev, &adev->ring_tmp_bo, -+ r = amdgpu_sa_bo_new(&adev->ring_tmp_bo, - &ib->sa_bo, size, 256); - if (r) { - dev_err(adev->dev, "failed to get a new IB (%d)\n", r); -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h -index 3c2ff45..ea756e7 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h -@@ -189,10 +189,9 @@ int amdgpu_sa_bo_manager_start(struct amdgpu_device *adev, - struct amdgpu_sa_manager *sa_manager); - int amdgpu_sa_bo_manager_suspend(struct amdgpu_device *adev, - struct amdgpu_sa_manager *sa_manager); --int amdgpu_sa_bo_new(struct amdgpu_device *adev, -- struct amdgpu_sa_manager *sa_manager, -- struct amdgpu_sa_bo **sa_bo, -- unsigned size, unsigned align); -+int amdgpu_sa_bo_new(struct amdgpu_sa_manager *sa_manager, -+ struct amdgpu_sa_bo **sa_bo, -+ unsigned size, unsigned align); - void amdgpu_sa_bo_free(struct amdgpu_device *adev, - struct amdgpu_sa_bo **sa_bo, - struct fence *fence); -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c -index 0212b31..8b88edb 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c -@@ -311,8 +311,7 @@ static bool amdgpu_sa_bo_next_hole(struct amdgpu_sa_manager *sa_manager, - return false; - } - --int amdgpu_sa_bo_new(struct amdgpu_device *adev, -- struct amdgpu_sa_manager *sa_manager, -+int amdgpu_sa_bo_new(struct amdgpu_sa_manager *sa_manager, - struct amdgpu_sa_bo **sa_bo, - unsigned size, unsigned align) - { -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c -index ff3ca52..1caaf20 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c -@@ -40,7 +40,7 @@ int amdgpu_semaphore_create(struct amdgpu_device *adev, - if (*semaphore == NULL) { - return -ENOMEM; - } -- r = amdgpu_sa_bo_new(adev, &adev->ring_tmp_bo, -+ r = amdgpu_sa_bo_new(&adev->ring_tmp_bo, - &(*semaphore)->sa_bo, 8, 8); - if (r) { - kfree(*semaphore); --- -1.9.1 - |