Skip to contentSkip to conversation

drm/gma500: Add first piece of blitter code

PATCH New Patrik Jakobsson 1 participant 1 message Mar 17, 2014

Subsystems (3)
lore
Share & tools
lore

Patrik Jakobsson

author maintainer
#0 lore raw

PATCH 4/16 drm/gma500: Add first piece of blitter code

Right now, all we need to know about the blitter is that it's not doing anything that can be messed up when fiddling with MMU mappings.

---
 drivers/gpu/drm/gma500/Makefile  |  1 +
 drivers/gpu/drm/gma500/blitter.c | 51 ++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/gma500/blitter.h | 22 +++++++++++++++++
 3 files changed, 74 insertions(+)
 create mode 100644 drivers/gpu/drm/gma500/blitter.c
 create mode 100644 drivers/gpu/drm/gma500/blitter.h
drivers/gpu/drm/gma500/Makefile +1 -0
index e9064dd..69c0d7f 100644
@@ -13,6 +13,7 @@ gma500_gfx-y += \
 	  intel_i2c.o \
 	  intel_gmbus.o \
 	  mmu.o \
+	  blitter.o \
 	  power.o \
 	  psb_drv.o \
 	  gma_display.o \
drivers/gpu/drm/gma500/blitter.c new file +51 -0

51 lines not on this page · raw message

drivers/gpu/drm/gma500/blitter.h new file +22 -0
new file mode 100644
index 0000000..b83648d
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2014, Patrik Jakobsson
+ * All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * Authors: Patrik Jakobsson <[email protected]>
+ */
+
+#ifndef __BLITTER_H
+#define __BLITTER_H
+
+extern int gma_blt_wait_idle(struct drm_psb_private *dev_priv);
+
+#endif
Signature · 1 line
1.8.1.2