Commit b8219745 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/display: fix warning when CONFIG_DRM_AMD_DC_DCN is not set

dm_dcn_crtc_high_irq() is only used when CONFIG_DRM_AMD_DC_DCN is set.
Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent defeb878
...@@ -485,7 +485,7 @@ static void dm_crtc_high_irq(void *interrupt_params) ...@@ -485,7 +485,7 @@ static void dm_crtc_high_irq(void *interrupt_params)
} }
} }
#if defined(CONFIG_DRM_AMD_DC_DCN)
/** /**
* dm_dcn_crtc_high_irq() - Handles VStartup interrupt for DCN generation ASICs * dm_dcn_crtc_high_irq() - Handles VStartup interrupt for DCN generation ASICs
* @interrupt params - interrupt parameters * @interrupt params - interrupt parameters
...@@ -547,6 +547,7 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params) ...@@ -547,6 +547,7 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params)
spin_unlock_irqrestore(&adev->ddev->event_lock, flags); spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
} }
#endif
static int dm_set_clockgating_state(void *handle, static int dm_set_clockgating_state(void *handle,
enum amd_clockgating_state state) enum amd_clockgating_state state)
......
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