diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2021-08-09 19:41:29 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-04 22:23:01 +0300 |
commit | 1b592d00b4ac8359f35882bd678296da157b8408 (patch) | |
tree | 2c4cdaa5b3dc4aa32d162706c4e6496e731fcd70 /drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | |
parent | fe323f039db850362d3d96a377f87efc912cf866 (diff) | |
download | linux-1b592d00b4ac8359f35882bd678296da157b8408.tar.xz |
drm/amdgpu/vcn: remove manual instance setting
Handled by IP discovery now.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c index a03c0fc8338f..43f46ab07dda 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c @@ -69,7 +69,6 @@ static int vcn_v2_0_early_init(void *handle) { struct amdgpu_device *adev = (struct amdgpu_device *)handle; - adev->vcn.num_vcn_inst = 1; if (amdgpu_sriov_vf(adev)) adev->vcn.num_enc_rings = 1; else |