2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00

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.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Acked-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Rob Clark 2015-03-27 13:01:52 -04:00
parent 531db9ff3d
commit 81ddd1bc5c

View File

@ -5599,6 +5599,7 @@ struct drm_tile_group *drm_mode_get_tile_group(struct drm_device *dev,
mutex_unlock(&dev->mode_config.idr_mutex); mutex_unlock(&dev->mode_config.idr_mutex);
return NULL; return NULL;
} }
EXPORT_SYMBOL(drm_mode_get_tile_group);
/** /**
* drm_mode_create_tile_group - create a tile group from a displayid description * 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); mutex_unlock(&dev->mode_config.idr_mutex);
return tg; return tg;
} }
EXPORT_SYMBOL(drm_mode_create_tile_group);