summaryrefslogtreecommitdiff
path: root/src/i965_render.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-10-22 16:55:02 -0700
committerEric Anholt <eric@anholt.net>2010-02-23 17:09:20 -0800
commit3c71f98b9e5262675e61fafb317d0c35e62a873f (patch)
treed0d62f28260e08979ee85ac9571384cd0035af26 /src/i965_render.c
parentc2c670ef18755cf5c878edf8a6b7d1617f54fe73 (diff)
Add initial defines and probing for Sandybridge
Diffstat (limited to 'src/i965_render.c')
-rw-r--r--src/i965_render.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index 7866dd75..36235499 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -236,8 +236,14 @@ i965_check_composite(int op, PicturePtr source_picture, PicturePtr mask_picture,
PicturePtr dest_picture)
{
ScrnInfoPtr scrn = xf86Screens[dest_picture->pDrawable->pScreen->myNum];
+ intel_screen_private *intel = intel_get_screen_private(scrn);
uint32_t tmp1;
+ if (IS_GEN6(intel)) {
+ intel_debug_fallback(scrn, "Unsupported hardware\n");
+ return FALSE;
+ }
+
/* Check for unsupported compositing operations. */
if (op >= sizeof(i965_blend_op) / sizeof(i965_blend_op[0])) {
intel_debug_fallback(scrn,