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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2017 09:08:32 +0000 (10:08 +0100)
commit09907f0cbe61f65d9dba6ad1a3bbb9f5ca31c2c9
treebc6b4fbdf77d9c1c1c70e77db4b85ace2bffc72f
parentb3937f55c725894d03ca6592a8dd29662e85251d
drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting

commit cb4b02d7cac56a69d8137d8d843507cca9182aed upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c