OSDN Git Service

drm/amdgpu: rename amdgpu_prime.[ch] into amdgpu_dma_buf.[ch]
authorChristian König <christian.koenig@amd.com>
Mon, 6 May 2019 11:22:06 +0000 (13:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:48 +0000 (12:20 -0500)
commit2fbd6f94accdbb223acccada68940b50b0c668d9
treefb50704ac78f04d0131de3bb54d4122ad645e53f
parent9b6eb00dbdaee49ba35569e3c72fbb05734610e3
drm/amdgpu: rename amdgpu_prime.[ch] into amdgpu_dma_buf.[ch]

We are getting a dma-buf implementation completely separate from drm prime,
so rename the files now and cleanup the code a bit.

No functional change.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c [moved from drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c with 93% similarity]
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h