* [PATCH] drm/amdgpu: Allow VCE SEI command in IB
@ 2026-10-02 14:52 David Rosca
2026-10-02 15:34 ` Alex Deucher
0 siblings, 1 reply; 3+ messages in thread
From: David Rosca @ 2026-10-02 14:52 UTC (permalink / raw)
To: amd-gfx; +Cc: David Rosca
Mesa will use it to get the slice offset in bitstream from feedback,
which makes it possible to filter out SPS/PPS headers that VCE 1 and 2
FW always forces on IDR frames.
Signed-off-by: David Rosca <david.rosca@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
index 39d87f3df9e0..bfad44ec7feb 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
@@ -920,6 +920,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p,
case 0x04000007: /* motion estimation */
case 0x04000008: /* rdo */
case 0x04000009: /* vui */
+ case 0x0400000d: /* sei */
case 0x05000002: /* auxiliary buffer */
case 0x05000009: /* clock table */
break;
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/amdgpu: Allow VCE SEI command in IB
2026-10-02 14:52 [PATCH] drm/amdgpu: Allow VCE SEI command in IB David Rosca
@ 2026-10-02 15:34 ` Alex Deucher
2026-10-05 16:10 ` David Rosca
0 siblings, 1 reply; 3+ messages in thread
From: Alex Deucher @ 2026-10-02 15:34 UTC (permalink / raw)
To: David Rosca; +Cc: amd-gfx
On Fri, Oct 2, 2026 at 11:31 AM David Rosca <david.rosca@amd.com> wrote:
>
> Mesa will use it to get the slice offset in bitstream from feedback,
> which makes it possible to filter out SPS/PPS headers that VCE 1 and 2
> FW always forces on IDR frames.
You probably want a driver version bump as well so mesa knows when
it's ok to use that?
Alex
>
> Signed-off-by: David Rosca <david.rosca@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
> index 39d87f3df9e0..bfad44ec7feb 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
> @@ -920,6 +920,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p,
> case 0x04000007: /* motion estimation */
> case 0x04000008: /* rdo */
> case 0x04000009: /* vui */
> + case 0x0400000d: /* sei */
> case 0x05000002: /* auxiliary buffer */
> case 0x05000009: /* clock table */
> break;
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/amdgpu: Allow VCE SEI command in IB
2026-10-02 15:34 ` Alex Deucher
@ 2026-10-05 16:10 ` David Rosca
0 siblings, 0 replies; 3+ messages in thread
From: David Rosca @ 2026-10-05 16:10 UTC (permalink / raw)
To: Alex Deucher; +Cc: amd-gfx
On 10/2/26 17:34, Alex Deucher wrote:
> On Fri, Oct 2, 2026 at 11:31 AM David Rosca <david.rosca@amd.com> wrote:
>> Mesa will use it to get the slice offset in bitstream from feedback,
>> which makes it possible to filter out SPS/PPS headers that VCE 1 and 2
>> FW always forces on IDR frames.
> You probably want a driver version bump as well so mesa knows when
> it's ok to use that?
Yes, but there are more changes needed before that.
I'll resend this as a series with the version bump.
David
>
> Alex
>
>> Signed-off-by: David Rosca <david.rosca@amd.com>
>> ---
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
>> index 39d87f3df9e0..bfad44ec7feb 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
>> @@ -920,6 +920,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p,
>> case 0x04000007: /* motion estimation */
>> case 0x04000008: /* rdo */
>> case 0x04000009: /* vui */
>> + case 0x0400000d: /* sei */
>> case 0x05000002: /* auxiliary buffer */
>> case 0x05000009: /* clock table */
>> break;
>> --
>> 2.43.0
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-05 16:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-02 14:52 [PATCH] drm/amdgpu: Allow VCE SEI command in IB David Rosca
2026-10-02 15:34 ` Alex Deucher
2026-10-05 16:10 ` David Rosca
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.