[PATCH] drm: export tile-group functions

Dave Airlie airlied at gmail.com
Fri Mar 27 14:54:37 PDT 2015


Acked-by: Dave Airlie <airlied at redhat.com>

On 28 March 2015 at 03:06, Rob Clark <robdclark at gmail.com> wrote:
> 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
>>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list