#include <linux/dma-buf.h>
#include <drm/drm_prime.h>
#include "msm_drv.h"
#include "msm_gem.h"
struct sg_table *msm_gem_prime_get_sg_table(struct drm_gem_object *obj)
{ … }
int msm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map)
{ … }
void msm_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map)
{ … }
struct drm_gem_object *msm_gem_prime_import_sg_table(struct drm_device *dev,
struct dma_buf_attachment *attach, struct sg_table *sg)
{ … }
int msm_gem_prime_pin(struct drm_gem_object *obj)
{ … }
void msm_gem_prime_unpin(struct drm_gem_object *obj)
{ … }