OK. Regards, Shirish S ________________________________ From: Deucher, Alexander Sent: Friday, June 9, 2017 6:23:12 PM To: S, Shirish; [email protected]; Alex Deucher Subject: RE: [PATCH 2/2] drm/amdgpu/gfx: spread queues across pipes again for 1 MEC parts
Please include patch 1 of this series as well. From: S, Shirish Sent: Friday, June 09, 2017 8:53 AM To: [email protected]; Alex Deucher Cc: Deucher, Alexander Subject: Re: [PATCH 2/2] drm/amdgpu/gfx: spread queues across pipes again for 1 MEC parts Sure Alex. I shall update the result on stoney soon. Regards, Shirish S ________________________________ From: Alex Deucher <[email protected]<mailto:[email protected]>> Sent: Friday, June 9, 2017 6:19:30 PM To: [email protected]<mailto:[email protected]> Cc: Deucher, Alexander; S, Shirish Subject: [PATCH 2/2] drm/amdgpu/gfx: spread queues across pipes again for 1 MEC parts Now that interrupts are properly enabled for all pipes, this should be function properly. Cc: Shirish S <[email protected]<mailto:[email protected]>> Signed-off-by: Alex Deucher <[email protected]<mailto:[email protected]>> --- Shirish, Can you test this change on your Stoney setup? drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c index dfbf027..03c23e3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c @@ -125,15 +125,9 @@ void amdgpu_gfx_compute_queue_acquire(struct amdgpu_device *adev) if (mec >= adev->gfx.mec.num_mec) break; - if (adev->gfx.mec.num_mec > 1) { - /* policy: amdgpu owns the first two queues of the first MEC */ - if (mec == 0 && queue < 2) - set_bit(i, adev->gfx.mec.queue_bitmap); - } else { - /* policy: amdgpu owns all queues in the first pipe */ - if (mec == 0 && pipe == 0) - set_bit(i, adev->gfx.mec.queue_bitmap); - } + /* policy: amdgpu owns the first two queues of the first MEC */ + if (mec == 0 && queue < 2) + set_bit(i, adev->gfx.mec.queue_bitmap); } /* update the number of active compute rings */ -- 2.5.5
_______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
