diff mbox

drm: export tile-group functions

Message ID 1427475849-6333-1-git-send-email-robdclark@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Rob Clark March 27, 2015, 5:04 p.m. UTC
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@gmail.com>
---
 drivers/gpu/drm/drm_crtc.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Clark March 27, 2015, 5:06 p.m. UTC | #1
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@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@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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Dave Airlie March 27, 2015, 9:54 p.m. UTC | #2
Acked-by: Dave Airlie <airlied@redhat.com>

On 28 March 2015 at 03:06, Rob Clark <robdclark@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@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@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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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);