All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: <christian.koenig@amd.com>, Alex Deucher <alexander.deucher@amd.com>
Subject: [PATCH 4/5] drm/amdgpu/sdma6.0: adjust SDMA limits
Date: Thu, 11 Sep 2025 13:24:48 -0400	[thread overview]
Message-ID: <20250911172449.3340848-4-alexander.deucher@amd.com> (raw)
In-Reply-To: <20250911172449.3340848-1-alexander.deucher@amd.com>

SDMA 6.x has increased transfer limits.

v2: fix harder, use shifts to make it more obvious

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
index db6e41967f126..032cabd8fa8d0 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
@@ -1873,11 +1873,11 @@ static void sdma_v6_0_emit_fill_buffer(struct amdgpu_ib *ib,
 }
 
 static const struct amdgpu_buffer_funcs sdma_v6_0_buffer_funcs = {
-	.copy_max_bytes = 0x400000,
+	.copy_max_bytes = 1 << 30,
 	.copy_num_dw = 7,
 	.emit_copy_buffer = sdma_v6_0_emit_copy_buffer,
 
-	.fill_max_bytes = 0x400000,
+	.fill_max_bytes = 1 << 30,
 	.fill_num_dw = 5,
 	.emit_fill_buffer = sdma_v6_0_emit_fill_buffer,
 };
-- 
2.51.0


  parent reply	other threads:[~2025-09-11 17:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-11 17:24 [PATCH 1/5] drm/amdgpu/sdma4.0: adjust SDMA limits Alex Deucher
2025-09-11 17:24 ` [PATCH 2/5] drm/amdgpu/sdma4.4: " Alex Deucher
2025-09-11 17:24 ` [PATCH 3/5] drm/amdgpu/sdma5.2: " Alex Deucher
2025-09-11 18:18   ` Alex Deucher
2025-09-12 19:38     ` Alex Deucher
2025-09-13  5:27       ` timur.kristof
2025-09-15 13:07         ` Alex Deucher
2025-09-15 13:23           ` timur.kristof
2025-09-15 13:25             ` Alex Deucher
2025-09-15 13:26               ` timur.kristof
2025-09-11 17:24 ` Alex Deucher [this message]
2025-09-11 17:24 ` [PATCH 5/5] drm/amdgpu/sdma7.0: " Alex Deucher
  -- strict thread matches above, loose matches on Subject: below --
2025-09-15 13:31 [PATCH 1/5] drm/amdgpu/sdma4.0: " Alex Deucher
2025-09-15 13:32 ` [PATCH 4/5] drm/amdgpu/sdma6.0: " Alex Deucher
2025-09-11 14:46 [PATCH 1/5] drm/amdgpu/sdma4.0: " Alex Deucher
2025-09-11 14:46 ` [PATCH 4/5] drm/amdgpu/sdma6.0: " Alex Deucher

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=20250911172449.3340848-4-alexander.deucher@amd.com \
    --to=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.