]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d2938432973c96f43b3e21e40566a0438bd4688
treec2273251ddb7ae8cde90329c3464fb798a9e8cf8
parentff7a243bbd479f181146d109dd75af65c64e21e7
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