[PATCH] drm: export tile-group functions

Rob Clark robdclark at gmail.com
Fri Mar 27 10:06:56 PDT 2015


btw, if no one has a problem with this, I can include it with msm pull
req when I send that..  one way or another we need it prior to the msm
dsi patches

BR,
-R


On Fri, Mar 27, 2015 at 1:04 PM, Rob Clark <robdclark at gmail.com> wrote:
> Normally these are called from within drm core, from the EDID parsing
> code.  But for dual-dsi in some drivers (at least drm/msm) we need to
> call these from the driver.  So they should be exported.
>
> Signed-off-by: Rob Clark <robdclark at gmail.com>
> ---
>  drivers/gpu/drm/drm_crtc.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
> index d576a4d..b3989e2 100644
> --- a/drivers/gpu/drm/drm_crtc.c
> +++ b/drivers/gpu/drm/drm_crtc.c
> @@ -5599,6 +5599,7 @@ struct drm_tile_group *drm_mode_get_tile_group(struct drm_device *dev,
>         mutex_unlock(&dev->mode_config.idr_mutex);
>         return NULL;
>  }
> +EXPORT_SYMBOL(drm_mode_get_tile_group);
>
>  /**
>   * drm_mode_create_tile_group - create a tile group from a displayid description
> @@ -5637,3 +5638,4 @@ struct drm_tile_group *drm_mode_create_tile_group(struct drm_device *dev,
>         mutex_unlock(&dev->mode_config.idr_mutex);
>         return tg;
>  }
> +EXPORT_SYMBOL(drm_mode_create_tile_group);
> --
> 2.1.0
>


More information about the dri-devel mailing list