#include <linux/host1x.h>
#include <linux/iommu.h>
#include <linux/list.h>
#include <drm/drm_drv.h>
#include <drm/drm_file.h>
#include <drm/drm_utils.h>
#include "drm.h"
#include "uapi.h"
static void tegra_drm_mapping_release(struct kref *ref)
{ … }
void tegra_drm_mapping_put(struct tegra_drm_mapping *mapping)
{ … }
static void tegra_drm_channel_context_close(struct tegra_drm_context *context)
{ … }
void tegra_drm_uapi_close_file(struct tegra_drm_file *file)
{ … }
static struct tegra_drm_client *tegra_drm_find_client(struct tegra_drm *tegra, u32 class)
{ … }
int tegra_drm_ioctl_channel_open(struct drm_device *drm, void *data, struct drm_file *file)
{ … }
int tegra_drm_ioctl_channel_close(struct drm_device *drm, void *data, struct drm_file *file)
{ … }
int tegra_drm_ioctl_channel_map(struct drm_device *drm, void *data, struct drm_file *file)
{ … }
int tegra_drm_ioctl_channel_unmap(struct drm_device *drm, void *data, struct drm_file *file)
{ … }
int tegra_drm_ioctl_syncpoint_allocate(struct drm_device *drm, void *data, struct drm_file *file)
{ … }
int tegra_drm_ioctl_syncpoint_free(struct drm_device *drm, void *data, struct drm_file *file)
{ … }
int tegra_drm_ioctl_syncpoint_wait(struct drm_device *drm, void *data, struct drm_file *file)
{ … }