diff options
author | Christian König <christian.koenig@amd.com> | 2016-07-25 16:37:06 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-29 20:37:07 +0200 |
commit | a05c92d1eefcb56186a024b75f8a515e33d18f8d (patch) | |
tree | 677ead29a9fab33f764032dc868d7bd3c0086fdd /drivers/gpu | |
parent | drm/amdgpu: increase timeout of IB test (diff) | |
download | linux-a05c92d1eefcb56186a024b75f8a515e33d18f8d.tar.xz linux-a05c92d1eefcb56186a024b75f8a515e33d18f8d.zip |
drm/amdgpu: enable UVD VM only on polaris
Stoney support it, but doesn't has unlimited session support.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c index 1791566aae9d..7f21102bfb99 100644 --- a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c @@ -1009,7 +1009,7 @@ static const struct amdgpu_ring_funcs uvd_v6_0_ring_vm_funcs = { static void uvd_v6_0_set_ring_funcs(struct amdgpu_device *adev) { - if (adev->asic_type >= CHIP_STONEY) { + if (adev->asic_type >= CHIP_POLARIS10) { adev->uvd.ring.funcs = &uvd_v6_0_ring_vm_funcs; DRM_INFO("UVD is enabled in VM mode\n"); } else { |