Commit 1daf8c63 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/amd/display: fix typo in function name

s/amdgpu_dm_find_first_crct_matching_connector/
amdgpu_dm_find_first_crtc_matching_connector/

And while here, make it static.
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5cc6dcbd
...@@ -568,8 +568,8 @@ static int dm_suspend(void *handle) ...@@ -568,8 +568,8 @@ static int dm_suspend(void *handle)
return ret; return ret;
} }
struct amdgpu_dm_connector *amdgpu_dm_find_first_crct_matching_connector( static struct amdgpu_dm_connector *
struct drm_atomic_state *state, amdgpu_dm_find_first_crtc_matching_connector(struct drm_atomic_state *state,
struct drm_crtc *crtc) struct drm_crtc *crtc)
{ {
uint32_t i; uint32_t i;
...@@ -4110,7 +4110,7 @@ void amdgpu_dm_atomic_commit_tail( ...@@ -4110,7 +4110,7 @@ void amdgpu_dm_atomic_commit_tail(
dm_new_crtc_state = to_dm_crtc_state(new_crtc_state); dm_new_crtc_state = to_dm_crtc_state(new_crtc_state);
new_stream = dm_new_crtc_state->stream; new_stream = dm_new_crtc_state->stream;
aconnector = amdgpu_dm_find_first_crct_matching_connector( aconnector = amdgpu_dm_find_first_crtc_matching_connector(
state, state,
&new_crtcs[i]->base); &new_crtcs[i]->base);
if (!aconnector) { if (!aconnector) {
...@@ -4396,7 +4396,7 @@ static int dm_update_crtcs_state( ...@@ -4396,7 +4396,7 @@ static int dm_update_crtcs_state(
dm_new_crtc_state = to_dm_crtc_state(new_crtc_state); dm_new_crtc_state = to_dm_crtc_state(new_crtc_state);
acrtc = to_amdgpu_crtc(crtc); acrtc = to_amdgpu_crtc(crtc);
aconnector = amdgpu_dm_find_first_crct_matching_connector(state, crtc); aconnector = amdgpu_dm_find_first_crtc_matching_connector(state, crtc);
/* TODO This hack should go away */ /* TODO This hack should go away */
if (aconnector) { if (aconnector) {
......
...@@ -226,11 +226,6 @@ extern const struct amdgpu_ip_block_version dm_ip_block; ...@@ -226,11 +226,6 @@ extern const struct amdgpu_ip_block_version dm_ip_block;
void amdgpu_dm_update_connector_after_detect( void amdgpu_dm_update_connector_after_detect(
struct amdgpu_dm_connector *aconnector); struct amdgpu_dm_connector *aconnector);
struct amdgpu_dm_connector *amdgpu_dm_find_first_crct_matching_connector(
struct drm_atomic_state *state,
struct drm_crtc *crtc);
struct amdgpu_framebuffer; struct amdgpu_framebuffer;
struct amdgpu_display_manager; struct amdgpu_display_manager;
struct dc_validation_set; struct dc_validation_set;
......
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