]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move UVD IB test into common code v2
authorChristian König <christian.koenig@amd.com>
Tue, 5 Jul 2016 14:47:54 +0000 (16:47 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:37:03 +0000 (14:37 -0400)
commitaa158b6597ec931cf1c4296b03691f8bab5ba808
tree5a72066fce7e5cdbeff34ea31a54bb02fda44e92
parentc7ff08e76ed4ddf03560c7b2d6c77b7c64cd12f0
drm/amdgpu: move UVD IB test into common code v2

Since we now raise the clocks from begin_use() we don't need
a separate function for each hw generation any more.

v2: remove unintentional lowering of the UVD clocks, fix typos for CIK hw.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c