[Intel-gfx] [PATCH i-g-t 11/12] lib/igt_kms: Remove igt_pipe_get_property

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Wed Oct 11 10:11:18 UTC 2017


igt_pipe_get_property has been replaced by igt_pipe_obj_get_prop.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
 lib/igt_kms.c | 10 ----------
 lib/igt_kms.h |  3 ---
 2 files changed, 13 deletions(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index dbdc61bb1514..4906c749dda7 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -2011,16 +2011,6 @@ static igt_output_t *igt_pipe_get_output(igt_pipe_t *pipe)
 	return NULL;
 }
 
-bool igt_pipe_get_property(igt_pipe_t *pipe, const char *name,
-			   uint32_t *prop_id, uint64_t *value,
-			   drmModePropertyPtr *prop)
-{
-	return get_crtc_property(pipe->display->drm_fd,
-				 pipe->crtc_id,
-				 name,
-				 prop_id, value, prop);
-}
-
 static uint32_t igt_plane_get_fb_id(igt_plane_t *plane)
 {
 	return plane->values[IGT_PLANE_FB_ID];
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index ce1db08a0012..6122ab6dbe36 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -372,9 +372,6 @@ igt_plane_t *igt_output_get_plane_type(igt_output_t *output, int plane_type);
 igt_output_t *igt_output_from_connector(igt_display_t *display,
     drmModeConnector *connector);
 igt_plane_t *igt_pipe_get_plane_type(igt_pipe_t *pipe, int plane_type);
-bool igt_pipe_get_property(igt_pipe_t *pipe, const char *name,
-			   uint32_t *prop_id, uint64_t *value,
-			   drmModePropertyPtr *prop);
 
 void igt_pipe_request_out_fence(igt_pipe_t *pipe);
 
-- 
2.14.1



More information about the Intel-gfx mailing list