1a61127c2SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 25c49fd3aSAlan Cox /************************************************************************** 35c49fd3aSAlan Cox * Copyright (c) 2009-2011, Intel Corporation. 45c49fd3aSAlan Cox * All Rights Reserved. 55c49fd3aSAlan Cox * 65c49fd3aSAlan Cox * Authors: 75c49fd3aSAlan Cox * Benjamin Defnet <benjamin.r.defnet@intel.com> 85c49fd3aSAlan Cox * Rajesh Poornachandran <rajesh.poornachandran@intel.com> 95c49fd3aSAlan Cox * 105c49fd3aSAlan Cox **************************************************************************/ 115c49fd3aSAlan Cox 129e8e4636SPatrik Jakobsson #ifndef _PSB_IRQ_H_ 139e8e4636SPatrik Jakobsson #define _PSB_IRQ_H_ 145c49fd3aSAlan Cox 1542eabbe5SThomas Zimmermann struct drm_crtc; 1651474335SSam Ravnborg struct drm_device; 175c49fd3aSAlan Cox 185d5fb746SPatrik Jakobsson void gma_irq_preinstall(struct drm_device *dev); 195d5fb746SPatrik Jakobsson void gma_irq_postinstall(struct drm_device *dev); 20*9b6a1657SHans de Goede int gma_irq_install(struct drm_device *dev); 215d5fb746SPatrik Jakobsson void gma_irq_uninstall(struct drm_device *dev); 225c49fd3aSAlan Cox 2352e527f2SPatrik Jakobsson int gma_crtc_enable_vblank(struct drm_crtc *crtc); 2452e527f2SPatrik Jakobsson void gma_crtc_disable_vblank(struct drm_crtc *crtc); 2552e527f2SPatrik Jakobsson u32 gma_crtc_get_vblank_counter(struct drm_crtc *crtc); 265d5fb746SPatrik Jakobsson void gma_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask); 275d5fb746SPatrik Jakobsson void gma_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask); 285c49fd3aSAlan Cox 299e8e4636SPatrik Jakobsson #endif /* _PSB_IRQ_H_ */ 30