drm: export tile-group functions
Subsystems (3)
PATCH 1/1 drm: export tile-group functions
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.
--- drivers/gpu/drm/drm_crtc.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_crtc.c +2 -0
@@ -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);
Signature · 6 lines
2.1.0 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
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
Quoted 29 lines · Rob Clark
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 <[email protected]>--- drivers/gpu/drm/drm_crtc.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/drm_crtc.c +2
-1@@ -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
Quoted 28 lines · Rob Clark
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,
-RQuoted 19 lines · Rob Clark
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 <[email protected]>--- drivers/gpu/drm/drm_crtc.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/drm_crtc.c +1
-0@@ -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);
Quoted 14 lines
Quoted 10 lines
drivers/gpu/drm/drm_crtc.c +1
-1/** * 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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel