30 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2/**************************************************************************3 * Copyright (c) 2009-2011, Intel Corporation.4 * All Rights Reserved.5 *6 * Authors:7 * Benjamin Defnet <benjamin.r.defnet@intel.com>8 * Rajesh Poornachandran <rajesh.poornachandran@intel.com>9 *10 **************************************************************************/11 12#ifndef _PSB_IRQ_H_13#define _PSB_IRQ_H_14 15struct drm_crtc;16struct drm_device;17 18void gma_irq_preinstall(struct drm_device *dev);19void gma_irq_postinstall(struct drm_device *dev);20int gma_irq_install(struct drm_device *dev);21void gma_irq_uninstall(struct drm_device *dev);22 23int gma_crtc_enable_vblank(struct drm_crtc *crtc);24void gma_crtc_disable_vblank(struct drm_crtc *crtc);25u32 gma_crtc_get_vblank_counter(struct drm_crtc *crtc);26void gma_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);27void gma_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);28 29#endif /* _PSB_IRQ_H_ */30