[PATCH 1/2] drm/amdgpu/vi: move virtualization detection forward
Yu, Xiangliang
Xiangliang.Yu at amd.com
Mon Jan 9 03:36:51 UTC 2017
>please change as below accordingly:
> 1, call "vi_detect_hw_virtualization" in vi_set_ip_blocks directly
That is what my patch does
>2, drop below changes:
>+ if (amdgpu_sriov_vf(adev)) {
>+ amdgpu_ip_block_add(adev, &vi_common_ip_block);
>+ amdgpu_ip_block_add(adev, &gmc_v8_5_ip_block);
>+ amdgpu_ip_block_add(adev, &tonga_ih_ip_block);
>+ amdgpu_ip_block_add(adev, &amdgpu_pp_ip_block);
>+ amdgpu_ip_block_add(adev, &dce_virtual_ip_block);
>+ amdgpu_ip_block_add(adev, &gfx_v8_0_ip_block);
>+ amdgpu_ip_block_add(adev, &sdma_v3_0_ip_block);
>+ }
>since some ip version is different between VI (e.g. FIJI use gmc_v8_5 and tonga use v8_0, so your change at last increase more lines, we'll finally support TONGA/FIJI/Ellesmere for SRIOV)
Make sense. I'll send out v2 to change it.
More information about the amd-gfx
mailing list