From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugeni Dodonov Subject: [PATCH 0/2] Support SNA via a configuration option Date: Mon, 31 Oct 2011 15:10:17 -0200 Message-ID: <1320081019-2212-1-git-send-email-eugeni.dodonov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy6-pub.bluehost.com (oproxy6-pub.bluehost.com [67.222.54.6]) by gabe.freedesktop.org (Postfix) with SMTP id 786DCA08E8 for ; Mon, 31 Oct 2011 10:10:28 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: Eugeni Dodonov List-Id: intel-gfx@lists.freedesktop.org This patchset adds support for enabling SNA support via a configuration file option. This way, it is possible to switch between UXA and SNA via config file changes, instead of having to recompile and install full driver. Second patch goes a bit onwards and also unifies the options between SNA and UXA drivers into a single intelOptions structure. To reduce the universe entropy, those options are moved into intel_opts.h header, and the modules which need to use them do so by including this file. Eugeni Dodonov (2): Enable SNA via a configuration file option. Unify options handling between UXA and SNA src/common.h | 2 +- src/intel_driver.c | 151 +++++++++++++++++++++++++++---------------- src/intel_module.c | 14 +--- src/intel_opts.h | 67 +++++++++++++++++++ src/sna/sna.h | 15 ---- src/sna/sna_display.c | 2 + src/sna/sna_driver.c | 39 ++---------- src/sna/sna_module.h | 3 +- src/sna/sna_video.c | 2 + src/sna/sna_video_overlay.c | 2 + 10 files changed, 181 insertions(+), 116 deletions(-) create mode 100644 src/intel_opts.h -- 1.7.7.1