Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-17 Thread Marek Olšák
On Mon, Mar 17, 2025 at 2:27 PM Alex Deucher wrote: > On Mon, Mar 17, 2025 at 1:23 PM Marek Olšák wrote: > > > > Userspace needs a query that a queue IP type is supported. > "available_rings" is used for that right now, but if that's 0, something > else must indicate IP support. > > > > amd_ip_i

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-17 Thread Alex Deucher
the >> IB-related part. >> >> Regards, >> Prike >> >> > -Original Message- >> > From: amd-gfx On Behalf Of Alex >> > Deucher >> > Sent: Thursday, March 13, 2025 10:41 PM >> > To: amd-gfx@lists.freedesktop.org &g

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-17 Thread Marek Olšák
sday, March 13, 2025 10:41 PM > > To: amd-gfx@lists.freedesktop.org > > Cc: Deucher, Alexander ; Khatri, Sunil > > > > Subject: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions > > > > This would be set by IPs which only accept submissions from the kernel,

RE: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-17 Thread Liang, Prike
ds, Prike > -Original Message- > From: amd-gfx On Behalf Of Alex > Deucher > Sent: Thursday, March 13, 2025 10:41 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Khatri, Sunil > > Subject: [PATCH 02/11] drm/amdgpu: add ring flag for no user s

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-15 Thread Rodrigo Siqueira
On 03/13, Alex Deucher wrote: > This would be set by IPs which only accept submissions > from the kernel, not userspace, such as when kernel > queues are disabled. Don't expose the rings to userspace > and reject any submissions in the CS IOCTL. Just out of curiosity, is CS == Command Submission?

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-13 Thread Alex Deucher
On Thu, Mar 13, 2025 at 5:53 PM Rodrigo Siqueira wrote: > > On 03/13, Alex Deucher wrote: > > This would be set by IPs which only accept submissions > > from the kernel, not userspace, such as when kernel > > queues are disabled. Don't expose the rings to userspace > > and reject any submissions i

[PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-13 Thread Alex Deucher
This would be set by IPs which only accept submissions from the kernel, not userspace, such as when kernel queues are disabled. Don't expose the rings to userspace and reject any submissions in the CS IOCTL. Reviewed-by: Sunil Khatri Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amd

[PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-12 Thread Alex Deucher
This would be set by IPs which only accept submissions from the kernel, not userspace, such as when kernel queues are disabled. Don't expose the rings to userspace and reject any submissions in the CS IOCTL. Reviewed-by: Sunil Khatri Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amd

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-12 Thread Alex Deucher
On Tue, Mar 11, 2025 at 9:13 AM Liang, Prike wrote: > > [Public] > > > From: amd-gfx On Behalf Of Alex > > Deucher > > Sent: Friday, March 7, 2025 2:46 AM > > To: amd-gfx@lists.freedesktop.org > > Cc: Deucher, Alexander > > Subject: [PATCH

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-11 Thread Khatri, Sunil
Reviewed-by: Sunil Khatri On 3/7/2025 8:45 PM, Alex Deucher wrote: This would be set by IPs which only accept submissions from the kernel, not userspace, such as when kernel queues are disabled. Don't expose the rings to userspace and reject any submissions in the CS IOCTL. Signed-off-by: Alex

RE: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-11 Thread Liang, Prike
[Public] > From: amd-gfx On Behalf Of Alex > Deucher > Sent: Friday, March 7, 2025 2:46 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions > > This would be set by IPs which only acc

[PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-07 Thread Alex Deucher
This would be set by IPs which only accept submissions from the kernel, not userspace, such as when kernel queues are disabled. Don't expose the rings to userspace and reject any submissions in the CS IOCTL. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 driv

[PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-06 Thread Alex Deucher
This would be set by IPs which only accept submissions from the kernel, not userspace, such as when kernel queues are disabled. Don't expose the rings to userspace and reject any submissions in the CS IOCTL. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 driv

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-06 Thread Alex Deucher
On Thu, Mar 6, 2025 at 2:48 AM Khatri, Sunil wrote: > > > On 3/6/2025 2:17 AM, Alex Deucher wrote: > > This would be set by IPs which only accept submissions > > from the kernel, not userspace, such as when kernel > > queues are disabled. Don't expose the rings to userspace > > and reject any subm

Re: [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-05 Thread Khatri, Sunil
On 3/6/2025 2:17 AM, Alex Deucher wrote: This would be set by IPs which only accept submissions from the kernel, not userspace, such as when kernel queues are disabled. Don't expose the rings to userspace and reject any submissions in the CS IOCTL. Signed-off-by: Alex Deucher --- drivers/gp

[PATCH 02/11] drm/amdgpu: add ring flag for no user submissions

2025-03-05 Thread Alex Deucher
This would be set by IPs which only accept submissions from the kernel, not userspace, such as when kernel queues are disabled. Don't expose the rings to userspace and reject any submissions in the CS IOCTL. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 driv