[PATCH 05/11] drm/amd/display: implement dm_delay_in_microseconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dc uses this.  Not sure how important it is.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
index 56bc7cc..2a58f86 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
@@ -103,8 +103,7 @@ bool dm_read_persistent_data(struct dc_context *ctx,
 void dm_delay_in_microseconds(struct dc_context *ctx,
 					unsigned int microSeconds)
 {
-	/*TODO implement*/
-	return;
+	udelay(microSeconds);
 }
 
 /**** power component interfaces ****/
-- 
2.5.5



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux