diff options
author | Ernst Sjöstrand <ernstp@gmail.com> | 2019-06-24 11:15:43 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-25 14:23:45 -0400 |
commit | 803a1412fe373e6fa9f20b4eba0827dd9c614a57 (patch) | |
tree | 93fa43aa071aaf3a0cd280de16d96dac71cb7428 | |
parent | ed9656fbc8b5b13a2350d9a7eb70f1b8d55e5803 (diff) |
drm/amd/amdgpu: Fix style issues in dcn20_resource.c
Inconsistent indentation and mixed use of brackets.
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c index a8ba7d15abbb..fb8aff7360ec 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | |||
@@ -2889,15 +2889,15 @@ static bool construct( | |||
2889 | dc->caps.force_dp_tps4_for_cp2520 = true; | 2889 | dc->caps.force_dp_tps4_for_cp2520 = true; |
2890 | dc->caps.hw_3d_lut = true; | 2890 | dc->caps.hw_3d_lut = true; |
2891 | 2891 | ||
2892 | if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV) | 2892 | if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV) { |
2893 | dc->debug = debug_defaults_drv; | 2893 | dc->debug = debug_defaults_drv; |
2894 | else if (dc->ctx->dce_environment == DCE_ENV_FPGA_MAXIMUS) { | 2894 | } else if (dc->ctx->dce_environment == DCE_ENV_FPGA_MAXIMUS) { |
2895 | pool->base.pipe_count = 4; | 2895 | pool->base.pipe_count = 4; |
2896 | |||
2897 | pool->base.mpcc_count = pool->base.pipe_count; | 2896 | pool->base.mpcc_count = pool->base.pipe_count; |
2898 | dc->debug = debug_defaults_diags; | 2897 | dc->debug = debug_defaults_diags; |
2899 | } else | 2898 | } else { |
2900 | dc->debug = debug_defaults_diags; | 2899 | dc->debug = debug_defaults_diags; |
2900 | } | ||
2901 | //dcn2.0x | 2901 | //dcn2.0x |
2902 | dc->work_arounds.dedcn20_305_wa = true; | 2902 | dc->work_arounds.dedcn20_305_wa = true; |
2903 | 2903 | ||