1 /* copyright (c) 2008, Intel Corporation 2 * 3 * This program is free software; you can redistribute it and/or modify it 4 * under the terms and conditions of the GNU General Public License, 5 * version 2, as published by the Free Software Foundation. 6 * 7 * This program is distributed in the hope it will be useful, but WITHOUT 8 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 9 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 10 * more details. 11 * 12 * You should have received a copy of the GNU General Public License along with 13 * this program; if not, write to the Free Software Foundation, Inc., 14 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 15 * 16 * Authors: 17 * Eric Anholt <eric@anholt.net> 18 */ 19 20 #ifndef _INTEL_DISPLAY_H_ 21 #define _INTEL_DISPLAY_H_ 22 23 bool psb_intel_pipe_has_type(struct drm_crtc *crtc, int type); 24 void psb_intel_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, 25 u16 *green, u16 *blue, uint32_t type, uint32_t size); 26 void psb_intel_crtc_destroy(struct drm_crtc *crtc); 27 28 #endif 29