Commit 06788a22 authored by Ran Sun's avatar Ran Sun Committed by Alex Deucher

drm/amd/display: Clean up errors in display_mode_vba_30.c

Fix the following errors reported by checkpatch:

ERROR: else should follow close brace '}'
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 82a72b16
...@@ -784,8 +784,7 @@ static unsigned int dscComputeDelay(enum output_format_class pixelFormat, enum o ...@@ -784,8 +784,7 @@ static unsigned int dscComputeDelay(enum output_format_class pixelFormat, enum o
Delay = Delay + 1; Delay = Delay + 1;
// sft // sft
Delay = Delay + 1; Delay = Delay + 1;
} } else {
else {
// sfr // sfr
Delay = Delay + 2; Delay = Delay + 2;
// dsccif // dsccif
...@@ -3489,8 +3488,7 @@ static double TruncToValidBPP( ...@@ -3489,8 +3488,7 @@ static double TruncToValidBPP(
if (Format == dm_n422) { if (Format == dm_n422) {
MinDSCBPP = 7; MinDSCBPP = 7;
MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0; MaxDSCBPP = 2 * DSCInputBitPerComponent - 1.0 / 16.0;
} } else {
else {
MinDSCBPP = 8; MinDSCBPP = 8;
MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0; MaxDSCBPP = 3 * DSCInputBitPerComponent - 1.0 / 16.0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment