From: Meenakshikumar Somasundaram Date: Tue, 20 Aug 2024 17:15:38 +0000 (-0400) Subject: drm/amd/display: Add dpia debug option to control power management X-Git-Tag: v6.12-rc1~126^2~6^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c24538c4aa352b68bd5c429b7fd3ccf4d4407143;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Add dpia debug option to control power management [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 Signed-off-by: Meenakshikumar Somasundaram Signed-off-by: Hamza Mahfooz Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 663aa565fc8ae..aaf1d7fdb73d7 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -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; };