drm/amdgpu: enable paging queue based on FW version (v2)
authorPhilip Yang <Philip.Yang@amd.com>
Mon, 19 Nov 2018 14:53:43 +0000 (09:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Nov 2018 20:32:19 +0000 (15:32 -0500)
commit6c3c559325ab0a2d8128ffdd4088fe891706c4d3
treec2273251ddb7ae8cde90329c3464fb798a9e8cf8
parentec3db8a63d4aeceaee726b92f85b23c475e0e255
drm/amdgpu: enable paging queue based on FW version (v2)

Based SDMA fw version to enable has_page_queue support. Have to move
sdma_v4_0_init_microcode from sw_init to early_init, to load firmware
and init fw_version before set_ring/buffer/vm_pte_funcs use it.

v2: don't enable on vega12, 20 until confirmed

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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