OSDN Git Service

Merge "msm/drm: Move msm_drm_config configuration into the GPUs"
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / drivers / gpu / drm / msm / msm_gem.h
index 2045dc3..0b19d11 100644 (file)
 /* Additional internal-use only BO flags: */
 #define MSM_BO_STOLEN        0x10000000    /* try to use stolen/splash memory */
 
-struct msm_gem_aspace_ops {
-       int (*map)(struct msm_gem_address_space *, struct msm_gem_vma *,
-               struct sg_table *sgt, void *priv, unsigned int flags);
-
-       void (*unmap)(struct msm_gem_address_space *, struct msm_gem_vma *,
-               struct sg_table *sgt, void *priv);
-
-       void (*destroy)(struct msm_gem_address_space *);
-};
-
 struct msm_gem_address_space {
        const char *name;
        struct msm_mmu *mmu;
-       const struct msm_gem_aspace_ops *ops;
        struct kref kref;
+       struct drm_mm mm;
+       u64 va_len;
 };
 
 struct msm_gem_vma {