aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-11-10 17:32:04 +0000
committerAlex Deucher <[email protected]>2018-05-15 18:44:00 +0000
commita771289786824f15d4d4307242389d0499e83e59 (patch)
tree607d590fa012f1defef45258c9ed1c43f6e112fc /drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
parentdrm/amdgpu: add VEGAM VCE firmware support (diff)
downloadkernel-a771289786824f15d4d4307242389d0499e83e59.tar.gz
kernel-a771289786824f15d4d4307242389d0499e83e59.zip
drm/amdgpu: add VEGAM to VCE harvest config
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vce_v3_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vce_v3_0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
index ac9617269a2f..0999c843f623 100644
--- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
@@ -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;