Leases are entirely implemented within drm.ko, no need to even tempt drivers into doing nasty things. And if there's really a need, we can always re-export these again.
Unified · Split
| @@ -39,7 +39,6 @@ struct drm_master *drm_lease_owner(struct drm_master *master) · 38 unmodified lines | ||
| 39 | 39 | master = master->lessor; |
| 40 | 40 | return master; |
| 41 | 41 | } |
| 42 | −EXPORT_SYMBOL(drm_lease_owner); | |
| 43 | 42 | |
| 44 | 43 | /** |
| 45 | 44 | * _drm_find_lessee - find lessee by id (idr_mutex held) |
| @@ -117,7 +116,6 @@ bool _drm_lease_held(struct drm_file *file_priv, int id) · 71 unmodified lines | ||
| 117 | 116 | |
| 118 | 117 | return _drm_lease_held_master(file_priv->master, id); |
| 119 | 118 | } |
| 120 | −EXPORT_SYMBOL(_drm_lease_held); | |
| 121 | 119 | |
| 122 | 120 | /** |
| 123 | 121 | * drm_lease_held - check drm_mode_object lease status (idr_mutex not held) |
| @@ -144,7 +142,6 @@ bool drm_lease_held(struct drm_file *file_priv, int id) · 20 unmodified lines | ||
| 144 | 142 | mutex_unlock(&master->dev->mode_config.idr_mutex); |
| 145 | 143 | return ret; |
| 146 | 144 | } |
| 147 | −EXPORT_SYMBOL(drm_lease_held); | |
| 148 | 145 | |
| 149 | 146 | /** |
| 150 | 147 | * drm_lease_filter_crtcs - restricted crtc set to leased values (idr_mutex not held) |
| @@ -184,7 +181,6 @@ uint32_t drm_lease_filter_crtcs(struct drm_file *file_priv, uint32_t crtcs_in) · 33 unmodified lines | ||
| 184 | 181 | mutex_unlock(&master->dev->mode_config.idr_mutex); |
| 185 | 182 | return crtcs_out; |
| 186 | 183 | } |
| 187 | −EXPORT_SYMBOL(drm_lease_filter_crtcs); | |
| 188 | 184 | |
| 189 | 185 | /* |
| 190 | 186 | * drm_lease_create - create a new drm_master with leased objects (idr_mutex not held) |