OSDN Git Service

drm/amd/display: Adding dpia debug bits for hpd delay
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Thu, 25 Nov 2021 23:31:26 +0000 (18:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Dec 2021 18:11:21 +0000 (13:11 -0500)
[Why]
Need to have dpia debug bits for configuring hpd delay.

[How]
Added hpd_delay_in_ms variable in dpia_debug_options.

Reviewed-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: meenakshikumar somasundaram <meenakshikumar.somasundaram@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h

index 8ca53fc..5c2cb89 100644 (file)
@@ -522,7 +522,8 @@ union dpia_debug_options {
                uint32_t force_non_lttpr:1;
                uint32_t extend_aux_rd_interval:1;
                uint32_t disable_mst_dsc_work_around:1;
-               uint32_t reserved:28;
+               uint32_t hpd_delay_in_ms:12;
+               uint32_t reserved:16;
        } bits;
        uint32_t raw;
 };