Searched refs:min_udelay (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 76 int vpos, hpos, stat, min_udelay = 0; in amdgpu_flip_work_func() local 115 min_udelay = (-hpos + 1) * max(vblank->linedur_ns / 1000, 5); in amdgpu_flip_work_func() 116 if (min_udelay > vblank->framedur_ns / 2000) { in amdgpu_flip_work_func() 122 usleep_range(min_udelay, 2 * min_udelay); in amdgpu_flip_work_func() 129 "hpos %d\n", work->crtc_id, min_udelay, in amdgpu_flip_work_func()
|
/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 408 int vpos, hpos, stat, min_udelay = 0; in radeon_flip_work_func() local 476 min_udelay = (-hpos + 1) * max(vblank->linedur_ns / 1000, 5); in radeon_flip_work_func() 477 if (min_udelay > vblank->framedur_ns / 2000) { in radeon_flip_work_func() 483 usleep_range(min_udelay, 2 * min_udelay); in radeon_flip_work_func() 490 "hpos %d\n", work->crtc_id, min_udelay, in radeon_flip_work_func()
|