drm/amd/display: Remove unused enable_surface_flip_reporting
authorDr. David Alan Gilbert <linux@treblig.org>
Mon, 4 Nov 2024 02:38:48 +0000 (02:38 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:37:41 +0000 (10:37 -0500)
enable_surface_flip_reporting() has been unused since it was added by
commit 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_surface.c
drivers/gpu/drm/amd/display/dc/inc/core_types.h

index ccbb15f1638c8b73e45602333d8e3d42b6548f26..3299684f9a4e162e1271f4ebf887a7df36475a2c 100644 (file)
@@ -83,13 +83,6 @@ uint8_t  dc_plane_get_pipe_mask(struct dc_state *dc_state, const struct dc_plane
 /*******************************************************************************
  * Public functions
  ******************************************************************************/
-void enable_surface_flip_reporting(struct dc_plane_state *plane_state,
-               uint32_t controller_id)
-{
-       plane_state->irq_source = controller_id + DC_IRQ_SOURCE_PFLIP1 - 1;
-       /*register_flip_interrupt(surface);*/
-}
-
 struct dc_plane_state *dc_create_plane_state(const struct dc *dc)
 {
        struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state),
index 2edd5b38ce4f85ea591c357fedeb01dd7cea6f02..9bdef5ff0584e7f68d4a89d67318a0d237dea820 100644 (file)
@@ -45,9 +45,6 @@
 #define MAX_SVP_PHANTOM_STREAMS 2
 #define MAX_SVP_PHANTOM_PLANES 2
 
-void enable_surface_flip_reporting(struct dc_plane_state *plane_state,
-               uint32_t controller_id);
-
 #include "grph_object_id.h"
 #include "link_encoder.h"
 #include "stream_encoder.h"