From patchwork Thu Jul 9 08:26:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Peres X-Patchwork-Id: 6754141 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4E15BC05AC for ; Thu, 9 Jul 2015 08:27:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7CB4D205E3 for ; Thu, 9 Jul 2015 08:27:23 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 91D8D205D8 for ; Thu, 9 Jul 2015 08:27:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BC976EC31; Thu, 9 Jul 2015 01:27:21 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTP id 049966EC31 for ; Thu, 9 Jul 2015 01:27:20 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 09 Jul 2015 01:27:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,438,1432623600"; d="scan'208";a="602871545" Received: from linux.intel.com ([10.23.219.25]) by orsmga003.jf.intel.com with ESMTP; 09 Jul 2015 01:27:20 -0700 Received: from beast.fi.intel.com (unknown [10.237.72.157]) by linux.intel.com (Postfix) with ESMTP id 97E236A4083; Thu, 9 Jul 2015 01:26:39 -0700 (PDT) From: Martin Peres To: intel-gfx@lists.freedesktop.org Date: Thu, 9 Jul 2015 11:26:38 +0300 Message-Id: <1436430399-17198-1-git-send-email-martin.peres@linux.intel.com> X-Mailer: git-send-email 2.4.5 Subject: [Intel-gfx] [PATCH 1/2] uxa: fix the call to PixmapSyncDirtyHelper, broken by xserver's 90db5ed X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Martin Peres --- src/compat-api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compat-api.h b/src/compat-api.h index aa93bee..1ca4380 100644 --- a/src/compat-api.h +++ b/src/compat-api.h @@ -247,3 +247,7 @@ static inline void FreePixmap(PixmapPtr pixmap) #endif #endif + +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,17,99,0,0) +#define PixmapSyncDirtyHelper(d, dd) PixmapSyncDirtyHelper(d) +#endif