Re: [PATCH i-g-t v2 10/14] lib/igt_kms: Remove igt_pipe_get_property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Mika Kahola <mika.kahola@xxxxxxxxx>

On Thu, 2017-10-12 at 13:54 +0200, Maarten Lankhorst wrote:
> igt_pipe_get_property has been replaced by igt_pipe_obj_get_prop.
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> ---
>  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 176e6825a492..70b104b24f8d 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -2009,16 +2009,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 fda94cb640de..dbba0cd53a25 100644
> --- a/lib/igt_kms.h
> +++ b/lib/igt_kms.h
> @@ -370,9 +370,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);
>  
-- 
Mika Kahola - Intel OTC

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux