drm/amdgpu: enable Vega20 page queue support
authorEvan Quan <evan.quan@amd.com>
Tue, 11 Dec 2018 03:28:20 +0000 (11:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2018 20:55:10 +0000 (15:55 -0500)
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>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

index d59addb4702594aa88aacc693e385cefe1a36d54..fd0bfe140ee01e6e26c12db9fc54ec48184d08dd 100644 (file)
@@ -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;
        }