]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: add VEGAM to VCE harvest config
authorLeo Liu <leo.liu@amd.com>
Fri, 10 Nov 2017 17:32:04 +0000 (12:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:00 +0000 (13:44 -0500)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c

index ac9617269a2f6f6ac54fae61b08b08cfbc5fa2d0..0999c843f623ca37c0504a2a4c3151374c7fb854 100644 (file)
@@ -388,7 +388,8 @@ static unsigned vce_v3_0_get_harvest_config(struct amdgpu_device *adev)
        default:
                if ((adev->asic_type == CHIP_POLARIS10) ||
                    (adev->asic_type == CHIP_POLARIS11) ||
-                   (adev->asic_type == CHIP_POLARIS12))
+                   (adev->asic_type == CHIP_POLARIS12) ||
+                   (adev->asic_type == CHIP_VEGAM))
                        return AMDGPU_VCE_HARVEST_VCE1;
 
                return 0;