diff options
| author | Nicholas Kazlauskas <[email protected]> | 2024-06-17 19:45:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-01 20:10:35 +0000 |
| commit | ea04ef19ebdcd22e8a21054a19c2c8fefae011ce (patch) | |
| tree | 8e78cfe001edd073807e32d1f3f92d3652189832 /drivers/gpu/drm/amd/display/dmub/src | |
| parent | drm/amd/display: un-block 8k with single dimm (diff) | |
| download | kernel-ea04ef19ebdcd22e8a21054a19c2c8fefae011ce.tar.gz kernel-ea04ef19ebdcd22e8a21054a19c2c8fefae011ce.zip | |
drm/amd/display: Add debug option for disabling SLDO optimizations
[Why]
DM can hook this up to disable SLDO optimizations in firmware during
DMCUB initialization for debug purposes.
[How]
Add the option and pass it through dmub_srv.
Reviewed-by: Hansen Dsouza <[email protected]>
Signed-off-by: Jerry Zuo <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/src')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c index 80da117356c0..916ed022e96b 100644 --- a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c +++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c @@ -424,6 +424,7 @@ void dmub_dcn35_enable_dmub_boot_options(struct dmub_srv *dmub, const struct dmu boot_options.bits.disable_clk_gate = params->disable_clock_gate; boot_options.bits.ips_disable = params->disable_ips; boot_options.bits.ips_sequential_ono = params->ips_sequential_ono; + boot_options.bits.disable_sldo_opt = params->disable_sldo_opt; REG_WRITE(DMCUB_SCRATCH14, boot_options.all); } |
