drm/amdgpu/soc21: Add video cap query support for VCN_4_0_5
authorSaleemkhan Jamadar <saleemkhan.jamadar@amd.com>
Wed, 28 Jun 2023 05:17:31 +0000 (10:47 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 20:34:52 +0000 (16:34 -0400)
Added the video capability query support for VCN version 4_0_5

Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com>
Reviewed-by: Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c

index bb281ee..6416e95 100644 (file)
@@ -157,6 +157,7 @@ static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode,
        case IP_VERSION(4, 0, 0):
        case IP_VERSION(4, 0, 2):
        case IP_VERSION(4, 0, 4):
+       case IP_VERSION(4, 0, 5):
                if (amdgpu_sriov_vf(adev)) {
                        if ((adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) ||
                        !amdgpu_sriov_is_av1_support(adev)) {