From patchwork Mon Sep 28 10:35:58 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 50359 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8S2er7g015911 for ; Mon, 28 Sep 2009 02:40:53 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CA14A9EFCD; Sun, 27 Sep 2009 19:40:52 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 8ED599EFAC for ; Sun, 27 Sep 2009 19:40:48 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 27 Sep 2009 19:25:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,463,1249282800"; d="scan'208";a="554257679" Received: from debian-t61.sh.intel.com (HELO localhost.localdomain) ([10.239.36.155]) by orsmga001.jf.intel.com with ESMTP; 27 Sep 2009 19:39:59 -0700 From: Zhenyu Wang To: intel-gfx@lists.freedesktop.org Date: Mon, 28 Sep 2009 18:35:58 +0800 Message-Id: <1254134158-5422-2-git-send-email-zhenyuw@linux.intel.com> X-Mailer: git-send-email 1.5.3.8 In-Reply-To: <1254134158-5422-1-git-send-email-zhenyuw@linux.intel.com> References: <1254134158-5422-1-git-send-email-zhenyuw@linux.intel.com> Subject: [Intel-gfx] [PATCH] Enable XvMC by default X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Don't require to explicitly enable it in xorg.conf, which is not practical now, but still can be disabled if wanted. Signed-off-by: Zhenyu Wang --- src/i830_driver.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/i830_driver.c b/src/i830_driver.c index 316a1fa..4be4617 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2764,7 +2764,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) xf86DPMSInit(pScreen, xf86DPMSSet, 0); #ifdef INTEL_XVMC - pI830->XvMCEnabled = FALSE; + pI830->XvMCEnabled = TRUE; from = ((pI830->directRenderingType == DRI_DRI2) && xf86GetOptValBool(pI830->Options, OPTION_XVMC, &pI830->XvMCEnabled) ? X_CONFIG : X_DEFAULT);