drm/amd/display: correct data type
authorRaymond Yang <rayyang@amd.com>
Fri, 6 Nov 2020 20:25:45 +0000 (04:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 17:19:50 +0000 (12:19 -0500)
[Why]
We should use int for counting variable

[How]
Change type from bool to uint32_t

Signed-off-by: Raymond Yang <rayyang@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h

index e282c22..96ff556 100644 (file)
@@ -483,7 +483,7 @@ struct dc_debug_options {
        bool scl_reset_length10;
        bool hdmi20_disable;
        bool skip_detection_link_training;
-       bool edid_read_retry_times;
+       uint32_t edid_read_retry_times;
        bool remove_disconnect_edp;
        unsigned int force_odm_combine; //bit vector based on otg inst
 #if defined(CONFIG_DRM_AMD_DC_DCN)