drm/amdgpu: limit AV1 to the first instance on VCN4 encode
authorDavid (Ming Qiang) Wu <David.Wu3@amd.com>
Fri, 13 Jan 2023 18:44:26 +0000 (13:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jan 2023 18:26:24 +0000 (13:26 -0500)
commitf823323b4abdc171b510190280a01565e21bd392
tree5cb0cfaa89b06e0f05be5d24f87e8ff4fd845743
parentae284577d8a4a2ffdd25acc221d51a4ac05a2b2d
drm/amdgpu: limit AV1 to the first instance on VCN4 encode

AV1 is only supported on the first instance.
Added vcn_v4_0_enc_find_ib_param() to help search for an IB param.

Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c