#ifndef __MSM_KMS_H__
#define __MSM_KMS_H__
#include <linux/clk.h>
#include <linux/regulator/consumer.h>
#include "msm_drv.h"
#define MAX_PLANE …
struct msm_kms_funcs { … };
struct msm_kms;
struct msm_pending_timer { … };
struct msm_kms { … };
static inline int msm_kms_init(struct msm_kms *kms,
const struct msm_kms_funcs *funcs)
{ … }
static inline void msm_kms_destroy(struct msm_kms *kms)
{ … }
#define for_each_crtc_mask(dev, crtc, crtc_mask) …
#define for_each_crtc_mask_reverse(dev, crtc, crtc_mask) …
int msm_drm_kms_init(struct device *dev, const struct drm_driver *drv);
void msm_drm_kms_uninit(struct device *dev);
#endif