Skip to content

Commit

Permalink
drm/lease: drop EXPORT_SYMBOL
Browse files Browse the repository at this point in the history
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.

Cc: Keith Packard <keithp@keithp.com>
Cc: Dave Airlie <airlied@gmail.com>
Acked-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181102143107.25722-1-daniel.vetter@ffwll.ch
  • Loading branch information
Daniel Vetter committed Nov 2, 2018
1 parent 9341c66 commit 6caec6a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/gpu/drm/drm_lease.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ struct drm_master *drm_lease_owner(struct drm_master *master)
master = master->lessor;
return master;
}
EXPORT_SYMBOL(drm_lease_owner);

/**
* _drm_find_lessee - find lessee by id (idr_mutex held)
Expand Down Expand Up @@ -117,7 +116,6 @@ bool _drm_lease_held(struct drm_file *file_priv, int id)

return _drm_lease_held_master(file_priv->master, id);
}
EXPORT_SYMBOL(_drm_lease_held);

/**
* drm_lease_held - check drm_mode_object lease status (idr_mutex not held)
Expand All @@ -144,7 +142,6 @@ bool drm_lease_held(struct drm_file *file_priv, int id)
mutex_unlock(&master->dev->mode_config.idr_mutex);
return ret;
}
EXPORT_SYMBOL(drm_lease_held);

/**
* drm_lease_filter_crtcs - restricted crtc set to leased values (idr_mutex not held)
Expand Down Expand Up @@ -184,7 +181,6 @@ uint32_t drm_lease_filter_crtcs(struct drm_file *file_priv, uint32_t crtcs_in)
mutex_unlock(&master->dev->mode_config.idr_mutex);
return crtcs_out;
}
EXPORT_SYMBOL(drm_lease_filter_crtcs);

/*
* drm_lease_create - create a new drm_master with leased objects (idr_mutex not held)
Expand Down

0 comments on commit 6caec6a

Please sign in to comment.