drm/radeon: use time_after(a,b) to replace "a>b"
authorYu Zhe <yuzhe@nfschina.com>
Thu, 25 Aug 2022 02:38:48 +0000 (10:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:35:18 +0000 (13:35 -0400)
commit2387e21243ba8a2734322610daaf1eeaf1a146b4
tree8c7d2006c0e3292f1c91176ef4c9783e55b66182
parent638bc30f8579bf4e0fda42a0c271149c6ab9c893
drm/radeon: use time_after(a,b) to replace "a>b"

time_after() deals with timer wrapping correctly.

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c