[PATCH 4/4] drm/amdgpu: enable Vega20 page queue support

Evan Quan evan.quan at amd.com
Wed Dec 12 06:54:02 UTC 2018


Page queue is supported on Vega20 with SDMA firmware
122 onwards.

Change-Id: I78d2c4a7ad9d200d89177fae2ad6073955e6bd8b
Signed-off-by: Evan Quan <evan.quan at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 +--
 1 file changed, 1 insertion(+), 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..56c583e8a4c2 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 >= 122;
 	default:
 		return false;
 	}
-- 
2.19.2



More information about the amd-gfx mailing list