mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
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>
This commit is contained in:
parent
1ff036dc39
commit
f835edf9ae
@ -101,7 +101,6 @@ void amdgpu_amdkfd_device_init(struct amdgpu_device *adev)
|
|||||||
if (adev->kfd) {
|
if (adev->kfd) {
|
||||||
struct kgd2kfd_shared_resources gpu_resources = {
|
struct kgd2kfd_shared_resources gpu_resources = {
|
||||||
.compute_vmid_bitmap = 0xFF00,
|
.compute_vmid_bitmap = 0xFF00,
|
||||||
.num_mec = adev->gfx.mec.num_mec,
|
|
||||||
.num_pipe_per_mec = adev->gfx.mec.num_pipe_per_mec,
|
.num_pipe_per_mec = adev->gfx.mec.num_pipe_per_mec,
|
||||||
.num_queue_per_pipe = adev->gfx.mec.num_queue_per_pipe
|
.num_queue_per_pipe = adev->gfx.mec.num_queue_per_pipe
|
||||||
};
|
};
|
||||||
|
@ -63,9 +63,6 @@ struct kgd2kfd_shared_resources {
|
|||||||
/* Bit n == 1 means VMID n is available for KFD. */
|
/* Bit n == 1 means VMID n is available for KFD. */
|
||||||
unsigned int compute_vmid_bitmap;
|
unsigned int compute_vmid_bitmap;
|
||||||
|
|
||||||
/* number of mec available from the hardware */
|
|
||||||
uint32_t num_mec;
|
|
||||||
|
|
||||||
/* number of pipes per mec */
|
/* number of pipes per mec */
|
||||||
uint32_t num_pipe_per_mec;
|
uint32_t num_pipe_per_mec;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user