#include <drm/drm_drv.h>
#include <drm/drm_vblank.h>
#include "power.h"
#include "psb_drv.h"
#include "psb_intel_reg.h"
#include "psb_irq.h"
#include "psb_reg.h"
static inline u32 gma_pipestat(int pipe)
{ … }
static inline u32 gma_pipeconf(int pipe)
{ … }
void gma_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask)
{ … }
void gma_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask)
{ … }
static void gma_pipe_event_handler(struct drm_device *dev, int pipe)
{ … }
static void gma_vdc_interrupt(struct drm_device *dev, uint32_t vdc_stat)
{ … }
static void gma_sgx_interrupt(struct drm_device *dev, u32 stat_1, u32 stat_2)
{ … }
static irqreturn_t gma_irq_handler(int irq, void *arg)
{ … }
void gma_irq_preinstall(struct drm_device *dev)
{ … }
void gma_irq_postinstall(struct drm_device *dev)
{ … }
int gma_irq_install(struct drm_device *dev)
{ … }
void gma_irq_uninstall(struct drm_device *dev)
{ … }
int gma_crtc_enable_vblank(struct drm_crtc *crtc)
{ … }
void gma_crtc_disable_vblank(struct drm_crtc *crtc)
{ … }
u32 gma_crtc_get_vblank_counter(struct drm_crtc *crtc)
{ … }