drm/msm: remove msm_gem_free_work
Now that we don't need struct_mutex in the free path, we can get rid of the asynchronous free all together. Change-Id: I82406450e3a5d0d49d3fb753c621f55e8f4af088 Signed-off-by: Rob Clark <robdclark@chromium.org> Git-commit: c951a9b284b907604759628d273901064c60d09f Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
@@ -902,10 +902,6 @@ struct msm_drm_private {
|
||||
struct list_head inactive_list;
|
||||
struct mutex mm_lock;
|
||||
|
||||
/* worker for delayed free of objects: */
|
||||
struct work_struct free_work;
|
||||
struct llist_head free_list;
|
||||
|
||||
struct workqueue_struct *wq;
|
||||
|
||||
/* crtcs pending async atomic updates: */
|
||||
@@ -1145,7 +1141,6 @@ void *msm_gem_kernel_new_locked(struct drm_device *dev, uint32_t size,
|
||||
struct drm_gem_object **bo, uint64_t *iova);
|
||||
struct drm_gem_object *msm_gem_import(struct drm_device *dev,
|
||||
struct dma_buf *dmabuf, struct sg_table *sgt);
|
||||
void msm_gem_free_work(struct work_struct *work);
|
||||
|
||||
__printf(2, 3)
|
||||
void msm_gem_object_set_name(struct drm_gem_object *bo, const char *fmt, ...);
|
||||
|
Reference in New Issue
Block a user