aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
diff options
context:
space:
mode:
authorwentalou <Wentao.Lou@amd.com>2019-04-02 17:13:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-04-04 10:22:06 -0500
commit1712fb1a2f6829150032ac76eb0e39b82a549cfb (patch)
tree78822194b681dd076ab52fe2d6289a1e128c47e4 /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
parentdrm/amdgpu: Adjust IB test timeout for XGMI configuration (diff)
downloadlinux-dev-1712fb1a2f6829150032ac76eb0e39b82a549cfb.tar.xz
linux-dev-1712fb1a2f6829150032ac76eb0e39b82a549cfb.zip
drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in shadow_list
amdgpu_bo_restore_shadow would assign zero to r if succeeded. r would remain zero if there is only one node in shadow_list. current code would always return failure when r <= 0. restart the timeout for each wait was a rather problematic bug as well. The value of tmo SHOULD be changed, otherwise we wait tmo jiffies on each loop. Signed-off-by: Wentao Lou <Wentao.Lou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c')
0 files changed, 0 insertions, 0 deletions