drm/amd/display: Rename dc validate_context and current_context

Rename all the dc validate_context to dc_state and
dc current_context to current_state.

Signed-off-by: Jerry Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Jerry Zuo
2017-08-25 16:16:10 -04:00
committed by Alex Deucher
parent 9cffc57319
commit 608ac7bb39
32 changed files with 263 additions and 264 deletions

View File

@@ -711,7 +711,7 @@ dm_atomic_state_clear(struct drm_atomic_state *state)
struct dm_atomic_state *dm_state = to_dm_atomic_state(state);
if (dm_state->context) {
dc_release_validate_context(dm_state->context);
dc_release_state(dm_state->context);
dm_state->context = NULL;
}
@@ -4098,7 +4098,7 @@ void amdgpu_dm_atomic_commit_tail(
}
if (dm_state->context)
WARN_ON(!dc_commit_context(dm->dc, dm_state->context));
WARN_ON(!dc_commit_state(dm->dc, dm_state->context));
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {