]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amd/display: Add dpia debug option to control power management
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Tue, 20 Aug 2024 17:15:38 +0000 (13:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Sep 2024 15:35:23 +0000 (11:35 -0400)
[Why]
To provide option to dpia control power management

[How]
By adding disable_usb4_pm_support bit field in dpia_debug option to
control dpia power management

Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h

index 663aa565fc8ae97d7a4d3b83123bbb37c28cdf85..aaf1d7fdb73d755f4f36f63f2703abeecdeaf053 100644 (file)
@@ -761,7 +761,8 @@ union dpia_debug_options {
                uint32_t extend_aux_rd_interval:1; /* bit 2 */
                uint32_t disable_mst_dsc_work_around:1; /* bit 3 */
                uint32_t enable_force_tbt3_work_around:1; /* bit 4 */
-               uint32_t reserved:27;
+               uint32_t disable_usb4_pm_support:1; /* bit 5 */
+               uint32_t reserved:26;
        } bits;
        uint32_t raw;
 };