disp: msm: remove gem functions without callsites
Many upstream files and APIs have been removed in downstream driver. Some function definintions are left dangling without any caller. Remove the functions which are not used downstream. Change-Id: I9f936e7cdac3be6f854b3c67725164fad785f0d4 Signed-off-by: Steve Cohen <quic_cohens@quicinc.com>
This commit is contained in:

committato da
Jeykumar Sankaran

parent
a683fba2e8
commit
5fe7c2f8a0
@@ -157,13 +157,6 @@ static inline bool is_active(struct msm_gem_object *msm_obj)
|
||||
return msm_obj->gpu != NULL;
|
||||
}
|
||||
|
||||
static inline bool is_purgeable(struct msm_gem_object *msm_obj)
|
||||
{
|
||||
WARN_ON(!mutex_is_locked(&msm_obj->base.dev->struct_mutex));
|
||||
return (msm_obj->madv == MSM_MADV_DONTNEED) && msm_obj->sgt &&
|
||||
!msm_obj->base.dma_buf && !msm_obj->base.import_attach;
|
||||
}
|
||||
|
||||
static inline bool is_vunmapable(struct msm_gem_object *msm_obj)
|
||||
{
|
||||
return (msm_obj->vmap_count == 0) && msm_obj->vaddr;
|
||||
@@ -185,7 +178,6 @@ enum msm_gem_lock {
|
||||
OBJ_LOCK_SHRINKER,
|
||||
};
|
||||
|
||||
void msm_gem_purge(struct drm_gem_object *obj, enum msm_gem_lock subclass);
|
||||
void msm_gem_vunmap(struct drm_gem_object *obj, enum msm_gem_lock subclass);
|
||||
|
||||
/* Created per submit-ioctl, to track bo's and cmdstream bufs, etc,
|
||||
|
Fai riferimento in un nuovo problema
Block a user