]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/vcn: Allow limiting ctx to instance 0 for AV1 at any time
authorDavid Rosca <david.rosca@amd.com>
Mon, 18 Aug 2025 07:18:37 +0000 (09:18 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Sep 2025 20:18:28 +0000 (16:18 -0400)
commit8908fdce0634a623404e9923ed2f536101a39db5
tree5105e83d44f0420e95a34efb02eadbf239ec36cc
parentdc8f9f0f45166a6b37864e7a031c726981d6e5fc
drm/amdgpu/vcn: Allow limiting ctx to instance 0 for AV1 at any time

There is no reason to require this to happen on first submitted IB only.
We need to wait for the queue to be idle, but it can be done at any
time (including when there are multiple video sessions active).

Signed-off-by: David Rosca <david.rosca@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c