linux/drivers/gpu/drm/gma500/psb_irq.c

// SPDX-License-Identifier: GPL-2.0-only
/**************************************************************************
 * Copyright (c) 2007, Intel Corporation.
 * All Rights Reserved.
 *
 * Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to
 * develop this driver.
 *
 **************************************************************************/

#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"

/*
 * inline functions
 */

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)
{}

/*
 * Display controller interrupt handler for pipe event.
 */
static void gma_pipe_event_handler(struct drm_device *dev, int pipe)
{}

/*
 * Display controller interrupt handler.
 */
static void gma_vdc_interrupt(struct drm_device *dev, uint32_t vdc_stat)
{}

/*
 * SGX interrupt handler
 */
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)
{}

/* Called from drm generic code, passed a 'crtc', which
 * we use as a pipe index
 */
u32 gma_crtc_get_vblank_counter(struct drm_crtc *crtc)
{}