diff options
author | Jay Cornwall <Jay.Cornwall@amd.com> | 2017-07-13 20:21:56 -0500 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-07-13 20:21:56 -0500 |
commit | f835edf9aec13bc8abb3dd4836151773cc359f42 (patch) | |
tree | 3e7d64542b720f1618b4cf2d125acfa3176b487e /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | |
parent | 1ff036dc391b169ff5a74ef0f0215c174c07166f (diff) | |
download | blackbird-op-linux-f835edf9aec13bc8abb3dd4836151773cc359f42.tar.gz blackbird-op-linux-f835edf9aec13bc8abb3dd4836151773cc359f42.zip |
drm/amdgpu: Remove unused field kgd2kfd_shared_resources.num_mec
Dead code.
Change-Id: I9575aa73b5741b80dc340f953cc773385c92b2be
Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c index 76ddedcd1e65..37971d9402e3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c @@ -101,7 +101,6 @@ void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) if (adev->kfd) { struct kgd2kfd_shared_resources gpu_resources = { .compute_vmid_bitmap = 0xFF00, - .num_mec = adev->gfx.mec.num_mec, .num_pipe_per_mec = adev->gfx.mec.num_pipe_per_mec, .num_queue_per_pipe = adev->gfx.mec.num_queue_per_pipe }; |