aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2021-08-09 16:41:29 +0000
committerAlex Deucher <[email protected]>2021-10-04 19:23:01 +0000
commit1b592d00b4ac8359f35882bd678296da157b8408 (patch)
tree2c4cdaa5b3dc4aa32d162706c4e6496e731fcd70 /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
parentdrm/amdgpu/sdma: remove manual instance setting (diff)
downloadkernel-1b592d00b4ac8359f35882bd678296da157b8408.tar.gz
kernel-1b592d00b4ac8359f35882bd678296da157b8408.zip
drm/amdgpu/vcn: remove manual instance setting
Handled by IP discovery now. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index 6c11739270c1..ad0d2564087c 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
@@ -66,7 +66,6 @@ static int vcn_v1_0_early_init(void *handle)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
- adev->vcn.num_vcn_inst = 1;
adev->vcn.num_enc_rings = 2;
vcn_v1_0_set_dec_ring_funcs(adev);