]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu/dce11: Remove division from dce_v11_0_vblank_wait()
authorTom St Denis <tom.stdenis@amd.com>
Tue, 15 Dec 2015 18:01:49 +0000 (13:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Jan 2016 22:21:03 +0000 (17:21 -0500)
commite5d622cd5c5a9a6a5ce50f44070afcc89f8f5ced
tree87158cb72e69300fb171acf64944a6ccb39eb815
parentaad04a7b798de35249bb618097f6bfffafafa4a5
amdgpu/dce11: Remove division from dce_v11_0_vblank_wait()

Mimics odd behaviour where (i++ % 100 == 0) is true in the first iteration of each loop...

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c