From patchwork Sat Oct 10 06:55:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, Yakui" X-Patchwork-Id: 52911 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 n9A6uPiD032116 for ; Sat, 10 Oct 2009 06:56:25 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 40A979F0FF; Fri, 9 Oct 2009 23:56:23 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 7DC929F2F9 for ; Fri, 9 Oct 2009 23:56:20 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 09 Oct 2009 23:50:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,536,1249282800"; d="scan'208";a="501725637" Received: from yakui_zhao.sh.intel.com (HELO localhost.localdomain) ([10.239.13.141]) by fmsmga002.fm.intel.com with ESMTP; 09 Oct 2009 23:48:02 -0700 From: yakui.zhao@intel.com To: cworth@cworth.org Date: Sat, 10 Oct 2009 14:55:17 +0800 Message-Id: <1255157717-6651-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-10-10 14:52:04.000000000 +0800 +++ xf86_video_intel/src/drmmode_display.c 2009-10-10 14:52:58.000000000 +0800 @@ -1143,6 +1143,7 @@ return TRUE; } } + return FALSE; } }