diff options
author | Bernard Zhao <bernard@vivo.com> | 2020-09-09 19:05:04 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-09-15 17:52:43 -0400 |
commit | d56b83f7c1a42c27fe499be2fb5c75a038459c04 (patch) | |
tree | cb9a22687277394f7448410c7c414c1388011587 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 724dc53b922c98aced93d42d90ffd66a628069af (diff) |
drm/amd/display: optimize code runtime a bit
In fnction is_cr_done & is_ch_eq_done, when done = false
happened once, no need to circle left ln_count.
This change is to make the code run a bit fast.
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions