aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1073-drm-amdgpu-two-minor-80-char-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/1073-drm-amdgpu-two-minor-80-char-fixes.patch')
-rw-r--r--common/recipes-kernel/linux/files/1073-drm-amdgpu-two-minor-80-char-fixes.patch81
1 files changed, 0 insertions, 81 deletions
diff --git a/common/recipes-kernel/linux/files/1073-drm-amdgpu-two-minor-80-char-fixes.patch b/common/recipes-kernel/linux/files/1073-drm-amdgpu-two-minor-80-char-fixes.patch
deleted file mode 100644
index b295caab..00000000
--- a/common/recipes-kernel/linux/files/1073-drm-amdgpu-two-minor-80-char-fixes.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From d3b7d736483beaa9bc75f35f5e7ef01105196bfb Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Tue, 3 May 2016 18:46:19 +0200
-Subject: [PATCH 1073/1110] drm/amdgpu: two minor 80 char fixes
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Christian K├Ânig <christian.koenig@amd.com>
-Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Kalyan Alle <kalyan.alle@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 ++++++----
- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 3 ++-
- drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 7 ++++---
- 3 files changed, 12 insertions(+), 8 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-index 35de174..98bb206 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-@@ -511,9 +511,10 @@ void amdgpu_gem_object_close(struct drm_gem_object *obj,
- struct drm_file *file_priv);
- unsigned long amdgpu_gem_timeout(uint64_t timeout_ns);
- struct sg_table *amdgpu_gem_prime_get_sg_table(struct drm_gem_object *obj);
--struct drm_gem_object *amdgpu_gem_prime_import_sg_table(struct drm_device *dev,
-- struct dma_buf_attachment *attach,
-- struct sg_table *sg);
-+struct drm_gem_object *
-+amdgpu_gem_prime_import_sg_table(struct drm_device *dev,
-+ struct dma_buf_attachment *attach,
-+ struct sg_table *sg);
- struct dma_buf *amdgpu_gem_prime_export(struct drm_device *dev,
- struct drm_gem_object *gobj,
- int flags);
-@@ -1195,7 +1196,8 @@ struct amdgpu_gfx {
-
- int amdgpu_ib_get(struct amdgpu_device *adev, struct amdgpu_vm *vm,
- unsigned size, struct amdgpu_ib *ib);
--void amdgpu_ib_free(struct amdgpu_device *adev, struct amdgpu_ib *ib, struct fence *f);
-+void amdgpu_ib_free(struct amdgpu_device *adev, struct amdgpu_ib *ib,
-+ struct fence *f);
- int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
- struct amdgpu_ib *ib, struct fence *last_vm_update,
- struct amdgpu_job *job, struct fence **f);
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-index 21f717a..8d1387d 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-@@ -88,7 +88,8 @@ int amdgpu_ib_get(struct amdgpu_device *adev, struct amdgpu_vm *vm,
- *
- * Free an IB (all asics).
- */
--void amdgpu_ib_free(struct amdgpu_device *adev, struct amdgpu_ib *ib, struct fence *f)
-+void amdgpu_ib_free(struct amdgpu_device *adev, struct amdgpu_ib *ib,
-+ struct fence *f)
- {
- amdgpu_sa_bo_free(adev, &ib->sa_bo, f);
- }
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
-index 32b0247..b4fe303 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
-@@ -57,9 +57,10 @@ void amdgpu_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr)
- ttm_bo_kunmap(&bo->dma_buf_vmap);
- }
-
--struct drm_gem_object *amdgpu_gem_prime_import_sg_table(struct drm_device *dev,
-- struct dma_buf_attachment *attach,
-- struct sg_table *sg)
-+struct drm_gem_object *
-+amdgpu_gem_prime_import_sg_table(struct drm_device *dev,
-+ struct dma_buf_attachment *attach,
-+ struct sg_table *sg)
- {
- struct reservation_object *resv = attach->dmabuf->resv;
- struct amdgpu_device *adev = dev->dev_private;
---
-2.7.4
-