summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/core
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2018-04-20 10:53:50 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:44:14 -0500
commitada8ce1530a7d1bf2e37560afa57bad911d36e81 (patch)
tree28d3dad3fe80707dcb7af4ab58d42d335ed0a711 /drivers/gpu/drm/amd/display/dc/core
parent403dc5e8aab7b3d18a625e516698ea49d2be432e (diff)
downloadop-kernel-dev-ada8ce1530a7d1bf2e37560afa57bad911d36e81.zip
op-kernel-dev-ada8ce1530a7d1bf2e37560afa57bad911d36e81.tar.gz
drm/amd/display: Couple formatting fixes
Things such as mis-indent, and space at beginning of line. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/core')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_resource.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
index 4de1b44..9eb731f 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
@@ -1798,9 +1798,9 @@ enum dc_status dc_validate_global_state(
return DC_ERROR_UNEXPECTED;
if (dc->res_pool->funcs->validate_global) {
- result = dc->res_pool->funcs->validate_global(dc, new_ctx);
- if (result != DC_OK)
- return result;
+ result = dc->res_pool->funcs->validate_global(dc, new_ctx);
+ if (result != DC_OK)
+ return result;
}
for (i = 0; i < new_ctx->stream_count; i++) {
OpenPOWER on IntegriCloud