[PATCH] drm/dp-helper: Deprecate old i2c-over-dp_aux heleprs

Jani Nikula jani.nikula at linux.intel.com
Tue May 13 00:49:37 PDT 2014


Typo in the subject bugs my OCD, otherwise agreed.

Jani.

On Wed, 07 May 2014, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Only gma500 is still using this, once that's converted we can kill all
> this code. If that conversion doesn't happen soonish I think we should
> just move this helper code into the gma500 driver itself to avoid
> abuse from new drivers.
>
> Cc: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
> Cc: Alan Cox <alan at linux.intel.com>
> Cc: Thierry Reding <treding at nvidia.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  drivers/gpu/drm/drm_dp_helper.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c
> index a13f1f51f68e..494219ccdf96 100644
> --- a/drivers/gpu/drm/drm_dp_helper.c
> +++ b/drivers/gpu/drm/drm_dp_helper.c
> @@ -213,6 +213,10 @@ i2c_dp_aux_prepare_bus(struct i2c_adapter *adapter)
>   *
>   * RETURNS:
>   * 0 on success, -ERRNO on failure.
> + *
> + * IMPORTANT:
> + * This interface is deprecated, please switch to the new dp aux helpers and
> + * drm_dp_aux_register_i2c_bus().
>   */
>  int
>  i2c_dp_aux_add_bus(struct i2c_adapter *adapter)
> -- 
> 1.9.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the dri-devel mailing list