summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Sun <sunran001@208suo.com>2023-08-02 06:25:59 +0000
committerAlex Deucher <alexander.deucher@amd.com>2023-08-09 09:43:11 -0400
commit0b6c14d496228b33bbad24ea91fe6d9a2df73ab0 (patch)
tree28c54b9bfd32229890238bfcef6289cbc8964457
parent06788a22aa8d49efa11b6dc6eca818719de0192f (diff)
drm/amd/display: Clean up errors in dce_clk_mgr.c
Fix the following errors reported by checkpatch: ERROR: spaces required around that '?' (ctx:VxE) Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c
index 07359eb89efc..e7acd6eec1fd 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c
@@ -640,7 +640,7 @@ static void dce11_pplib_apply_display_requirements(
* on power saving.
*
*/
- pp_display_cfg->min_dcfclock_khz = (context->stream_count > 4)?
+ pp_display_cfg->min_dcfclock_khz = (context->stream_count > 4) ?
pp_display_cfg->min_engine_clock_khz : 0;
pp_display_cfg->min_engine_clock_deep_sleep_khz