drm/amd/display: Fix Compile-time Warning
Fixed bracketing around condition statement. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: David Galiffi <David.Galiffi@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
86678d4627
commit
dd07556324
@ -1383,9 +1383,9 @@ bool dcn32_internal_validate_bw(struct dc *dc,
|
||||
}
|
||||
|
||||
if (fast_validate ||
|
||||
dc->debug.dml_disallow_alternate_prefetch_modes &&
|
||||
(dc->debug.dml_disallow_alternate_prefetch_modes &&
|
||||
(vlevel == context->bw_ctx.dml.soc.num_states ||
|
||||
vba->DRAMClockChangeSupport[vlevel][vba->maxMpcComb] == dm_dram_clock_change_unsupported)) {
|
||||
vba->DRAMClockChangeSupport[vlevel][vba->maxMpcComb] == dm_dram_clock_change_unsupported))) {
|
||||
/*
|
||||
* If dml_disallow_alternate_prefetch_modes is false, then we have already
|
||||
* tried alternate prefetch modes during full validation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user