1 /* 2 * Copyright (c) 2008, Intel Corporation 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms and conditions of the GNU General Public License, 6 * version 2, as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope it will be useful, but WITHOUT 9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11 * more details. 12 * 13 * You should have received a copy of the GNU General Public License along with 14 * this program; if not, write to the Free Software Foundation, Inc., 15 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 16 * 17 * Authors: 18 * Eric Anholt <eric@anholt.net> 19 * 20 **/ 21 #ifndef _PSB_SGX_H_ 22 #define _PSB_SGX_H_ 23 24 extern int psb_submit_video_cmdbuf(struct drm_device *dev, 25 struct ttm_buffer_object *cmd_buffer, 26 unsigned long cmd_offset, 27 unsigned long cmd_size, 28 struct ttm_fence_object *fence); 29 30 extern int drm_idle_check_interval; 31 32 #endif 33