AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <ckoenig.leichtzumerken-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [PATCH 3/3] drm/amdgpu: use more entries for the first paging queue
Date: Tue, 12 Mar 2019 13:37:49 +0100	[thread overview]
Message-ID: <20190312123749.6249-3-christian.koenig@amd.com> (raw)
In-Reply-To: <20190312123749.6249-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>

To aid recoverable page faults.

Signed-off-by: Christian König <christian.koenig@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
index 335a0edf114b..8f5026c123ef 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
@@ -248,6 +248,8 @@ int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring,
 	 */
 	if (ring->funcs->type == AMDGPU_RING_TYPE_KIQ)
 		sched_hw_submission = max(sched_hw_submission, 256);
+	else if (ring == &adev->sdma.instance[0].page)
+		sched_hw_submission = 256;
 
 	if (ring->adev == NULL) {
 		if (adev->num_rings >= AMDGPU_MAX_RINGS)
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2019-03-12 12:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 12:37 [PATCH 1/3] drm/amdgpu: re-enable retry faults Christian König
     [not found] ` <20190312123749.6249-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2019-03-12 12:37   ` [PATCH 2/3] drm/amdgpu: free up the first paging queue Christian König
     [not found]     ` <20190312123749.6249-2-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2019-03-12 15:29       ` Kuehling, Felix
     [not found]         ` <BYAPR12MB317644D82ADEF3CA55530A2B92490-ZGDeBxoHBPks/z/azo2A2AdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-03-12 15:33           ` Deucher, Alexander
     [not found]             ` <BN6PR12MB18095A3704551015894223D1F7490-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-03-13 13:38               ` Christian König
2019-03-12 15:43       ` Alex Deucher
2019-03-12 12:37   ` Christian König [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-13 13:44 [PATCH 1/3] drm/amdgpu: re-enable retry faults Christian König
     [not found] ` <20190313134450.112756-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2019-03-13 13:44   ` [PATCH 3/3] drm/amdgpu: use more entries for the first paging queue Christian König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190312123749.6249-3-christian.koenig@amd.com \
    --to=ckoenig.leichtzumerken-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox