diff options
author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2022-06-29 00:26:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-05 23:09:24 +0300 |
commit | cfb979f71736361ec564d47d0a41f07e09983e32 (patch) | |
tree | cb9e893a40ca9f52c982492523638f768dcabacc /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | c5da61cf5bab30059f22ea368702c445ee87171a (diff) | |
download | linux-cfb979f71736361ec564d47d0a41f07e09983e32.tar.xz |
drm/amd: Add debug mask for subviewport mclk switch
[Why&How]
Expose a new dc debug mask enum to force a subviewport memory clock switch
to facilitate easy testing.
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
-rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 2e02a6fc1717..1db21d13726d 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -248,6 +248,7 @@ enum DC_DEBUG_MASK { DC_DISABLE_DSC = 0x4, DC_DISABLE_CLOCK_GATING = 0x8, DC_DISABLE_PSR = 0x10, + DC_FORCE_SUBVP_MCLK_SWITCH = 0x20, }; enum amd_dpm_forced_level; |