drm/amdgpu/codec: drop the internal codec index
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 16:11:45 +0000 (11:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Feb 2021 22:23:49 +0000 (17:23 -0500)
commit6f786950b1ff051c6dd913b1bb3aaa9b57befcbf
treeae483eb6352789d5e5930c2f38db12cdf6054de3
parentb50368da619fb1b721ea3c8fd6a28a719233f6ee
drm/amdgpu/codec: drop the internal codec index

And just use the ioctl index.  They are the same.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/si.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vi.c