drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
authorLeo Liu <leo.liu@amd.com>
Wed, 1 Nov 2017 01:03:39 +0000 (21:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Nov 2017 03:37:00 +0000 (23:37 -0400)
commitcb4b02d7cac56a69d8137d8d843507cca9182aed
tree87ed12e7da1e867e96ba6acccda0d5ea848e302a
parentd3daa2c7865cbfa830651b11c8ad1df23465b46e
drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting

Fixes init failures on polaris cards with harvested UVD.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c