aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorJingwen Chen <[email protected]>2022-01-13 19:06:59 +0800
committerAlex Deucher <[email protected]>2022-01-18 17:41:03 -0500
commit22c16d251a79c3156d17627810557878e600dc6a (patch)
treed1a14cad672dc049319c4f04da5ed65526f3afb1 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent71b6c4a277dbb2594c260ccedcafaef5154b0da0 (diff)
drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV
[Why] This fixes 892deb48269c ("drm/amdgpu: Separate vf2pf work item init from virt data exchange"). we should read pf2vf data based at mman.fw_vram_usage_va after gmc sw_init. commit 892deb48269c breaks this logic. [How] calling amdgpu_virt_exchange_data in amdgpu_virt_init_data_exchange to set the right base in the right sequence. v2: call amdgpu_virt_init_data_exchange after gmc sw_init to make data exchange workqueue run v3: clean up the code logic v4: add some comment and make the code more readable Fixes: 892deb48269c ("drm/amdgpu: Separate vf2pf work item init from virt data exchange") Signed-off-by: Jingwen Chen <[email protected]> Reviewed-by: Horace Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions