OSDN Git Service

drm/amdgpu: add amdgpu_bo_param
authorChunming Zhou <david1.zhou@amd.com>
Mon, 16 Apr 2018 09:57:19 +0000 (17:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:28 +0000 (13:43 -0500)
commita906dbb1e20f5791d728c7d9e2366b8acb4f1bb2
tree0f3a5ab82570916bdfc9878feb6d90805e56937c
parentf0c0761b38ac30b04d4fed436ff10e894ec0e525
drm/amdgpu: add amdgpu_bo_param

amdgpu_bo_create has too many parameters, and used in
too many places. Collect them to one structure.

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h