summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2018-12-11 04:28:20 +0100
committerAlex Deucher <alexander.deucher@amd.com>2018-12-14 21:55:10 +0100
commit344e7ad467f5bd057b9d4d66adafbfa8077ccaa6 (patch)
tree22e8f3cf01771f3930d85ee81a0187a269c2871b /drivers/gpu
parentdrm/amdgpu: use different irq ring ID for Vega20 page queues (diff)
downloadlinux-344e7ad467f5bd057b9d4d66adafbfa8077ccaa6.tar.xz
linux-344e7ad467f5bd057b9d4d66adafbfa8077ccaa6.zip
drm/amdgpu: enable Vega20 page queue support
Page queue is supported on Vega20 with SDMA firmware 123 onwards. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index d59addb47025..fd0bfe140ee0 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -1458,8 +1458,7 @@ static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev)
/*return fw_version >= 31;*/
return false;
case CHIP_VEGA20:
- /*return fw_version >= 115;*/
- return false;
+ return fw_version >= 123;
default:
return false;
}