Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christian König and committed by
Alex Deucher
a05c92d1 bb7ad55b

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
··· 1009 1009 1010 1010 static void uvd_v6_0_set_ring_funcs(struct amdgpu_device *adev) 1011 1011 { 1012 - if (adev->asic_type >= CHIP_STONEY) { 1012 + if (adev->asic_type >= CHIP_POLARIS10) { 1013 1013 adev->uvd.ring.funcs = &uvd_v6_0_ring_vm_funcs; 1014 1014 DRM_INFO("UVD is enabled in VM mode\n"); 1015 1015 } else {