Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 40 lines (35 sloc) 1.381 kb
0c4490c @gregkh initial 4.40 import
authored
1 /**************************************************************************
2 * Copyright (c) 2007, Intel Corporation.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17 *
18 * Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to
19 * develop this driver.
20 *
21 **************************************************************************/
22 /*
23 * Authors: Super Zhang <super.zhang@intel.com>
24 * John Ye <john.ye@intel.com>
25 */
26
27 #include "psb_detear.h"
28
29 kern_blit_info psb_blit_info;
30
31 void psb_blit_2d_reg_write(struct drm_psb_private *dev_priv, uint32_t * cmdbuf)
32 {
33 int i;
34
35 for (i = 0; i < VIDEO_BLIT_2D_SIZE; i += 4) {
36 PSB_WSGX32(*cmdbuf++, PSB_SGX_2D_SLAVE_PORT + i);
37 }
38 (void)PSB_RSGX32(PSB_SGX_2D_SLAVE_PORT + i - 4);
39 }
Something went wrong with that request. Please try again.