Skip to content

Commit 610e6f7

Browse files
committed
drm/amdgpu/display: fix warning when CONFIG_DRM_AMD_DC_DCN is not defined
Fixes: At top level: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:633:13: warning: ‘dm_dmub_outbox1_low_irq’ defined but not used [-Wunused-function] 633 | static void dm_dmub_outbox1_low_irq(void *interrupt_params) | ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: 81927e2 ("drm/amd/display: Support for DMUB AUX") Reviewed-by: Jude Shih <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: Jude Shih <[email protected]>
1 parent effbf6c commit 610e6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,6 @@ static void dm_dcn_vertical_interrupt0_high_irq(void *interrupt_params)
620620
amdgpu_dm_crtc_handle_crc_window_irq(&acrtc->base);
621621
}
622622
#endif
623-
#endif
624623

625624
/**
626625
* dm_dmub_outbox1_low_irq() - Handles Outbox interrupt
@@ -673,6 +672,7 @@ static void dm_dmub_outbox1_low_irq(void *interrupt_params)
673672

674673
ASSERT(count <= DMUB_TRACE_MAX_READ);
675674
}
675+
#endif
676676

677677
static int dm_set_clockgating_state(void *handle,
678678
enum amd_clockgating_state state)

0 commit comments

Comments
 (0)