From patchwork Wed Sep 30 07:31:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, Yakui" X-Patchwork-Id: 50661 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 n8U7Xbpb003314 for ; Wed, 30 Sep 2009 07:33:37 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A52B39EAFA; Wed, 30 Sep 2009 00:33:36 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 147709E77C for ; Wed, 30 Sep 2009 00:33:34 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 30 Sep 2009 00:18:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,479,1249282800"; d="scan'208";a="453054071" Received: from yakui_zhao.sh.intel.com (HELO localhost.localdomain) ([10.239.13.79]) by orsmga002.jf.intel.com with ESMTP; 30 Sep 2009 00:39:15 -0700 From: yakui.zhao@intel.com To: cworth@cworth.org Date: Wed, 30 Sep 2009 15:31:57 +0800 Message-Id: <1254295917-15685-1-git-send-email-yakui.zhao@intel.com> X-Mailer: git-send-email 1.5.4.5 Cc: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] [Patch] KMS: Return false when the enum property value is not found 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 Index: xf86_video_intel/src/drmmode_display.c =================================================================== --- xf86_video_intel.orig/src/drmmode_display.c 2009-09-23 09:08:56.000000000 +0800 +++ xf86_video_intel/src/drmmode_display.c 2009-09-30 15:23:43.000000000 +0800 @@ -1143,6 +1143,7 @@ return TRUE; } } + return FALSE; } }