summaryrefslogtreecommitdiff
path: root/src/i965_render.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-05-06 12:40:12 -0700
committerEric Anholt <eric@anholt.net>2011-05-09 22:56:42 -0700
commit79e59fb2a047b1e733a7b0dee608db3311391725 (patch)
tree31e0a69db52f599911c14439e64227765d0b76e3 /src/i965_render.c
parent792738adfc5164d30358f045875dfc9b199a46da (diff)
Add support for Ivybridge chipset.
This gets display and 2D blit acceleration up and running. No Render acceleration is provided yet.
Diffstat (limited to 'src/i965_render.c')
-rw-r--r--src/i965_render.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index bfcd3f21..b76107d0 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -182,6 +182,10 @@ i965_check_composite(int op,
int width, int height)
{
ScrnInfoPtr scrn = xf86Screens[dest_picture->pDrawable->pScreen->myNum];
+ intel_screen_private *intel = intel_get_screen_private(scrn);
+
+ if (IS_GEN7(intel))
+ return FALSE;
/* Check for unsupported compositing operations. */
if (op >= sizeof(i965_blend_op) / sizeof(i965_blend_op[0])) {