summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc
diff options
context:
space:
mode:
authorMelissa Wen <mwen@igalia.com>2023-02-14 11:14:05 -0100
committerAlex Deucher <alexander.deucher@amd.com>2023-02-15 22:24:23 -0500
commit62f9286fc26fb271529ca28e233df65662874900 (patch)
tree2f6617c3f3d9d89720f0aacf458ca37e8562d865 /drivers/gpu/drm/amd/display/dc/inc
parentaf54167d2b35be289a6aa98c0ebbb9bc38a1bdce (diff)
downloadlinux-stable-62f9286fc26fb271529ca28e233df65662874900.tar.gz
linux-stable-62f9286fc26fb271529ca28e233df65662874900.tar.bz2
linux-stable-62f9286fc26fb271529ca28e233df65662874900.zip
drm/amd/display: remove unused func declaration from resource headers
The function resource_validate_ctx_update_pointer_after_copy() is declared in resource.h but never defined, therefore, remove its declaration from headers. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Melissa Wen <mwen@igalia.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/resource.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/resource.h b/drivers/gpu/drm/amd/display/dc/inc/resource.h
index 4ab029e3326d..fa6da93caa88 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/resource.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/resource.h
@@ -165,10 +165,6 @@ bool resource_validate_attach_surfaces(
struct dc_state *context,
const struct resource_pool *pool);
-void resource_validate_ctx_update_pointer_after_copy(
- const struct dc_state *src_ctx,
- struct dc_state *dst_ctx);
-
enum dc_status resource_map_clock_resources(
const struct dc *dc,
struct dc_state *context,