]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amdgpu: implement harvesting support for UVD 7.2 (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Jul 2018 20:11:34 +0000 (15:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jul 2018 14:07:44 +0000 (09:07 -0500)
commitf1e582ebfd703ea01dc4caf4d339b7c84ec3ff29
tree56bfd3cd4840cf6dee41cbbf77d468823065872b
parentd04cc604a66b07eff8fce824fb6c0fdc0875d2e3
drm/amdgpu: implement harvesting support for UVD 7.2 (v3)

Properly handle cases where one or more instance of the IP
block may be harvested.

v2: make sure ip_num_rings is initialized amdgpu_queue_mgr.c
v3: rebase on Christian's UVD changes, drop unused var

Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c