From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751157AbdEaMEk convert rfc822-to-8bit (ORCPT ); Wed, 31 May 2017 08:04:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39584 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbdEaMEj (ORCPT ); Wed, 31 May 2017 08:04:39 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4EB0F4E35B Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=kraxel@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 4EB0F4E35B Message-ID: <1496232274.4100.11.camel@redhat.com> Subject: Re: [PATCH v6 5/6] drm/i915/gvt: Dmabuf support for GVT-g From: Gerd Hoffmann To: Xiaoguang Chen , alex.williamson@redhat.com, chris@chris-wilson.co.uk, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, zhenyuw@linux.intel.com, zhiyuan.lv@intel.com, intel-gvt-dev@lists.freedesktop.org, zhi.a.wang@intel.com, kevin.tian@intel.com Date: Wed, 31 May 2017 14:04:34 +0200 In-Reply-To: <1495874332-2851-6-git-send-email-xiaoguang.chen@intel.com> References: <1495874332-2851-1-git-send-email-xiaoguang.chen@intel.com> <1495874332-2851-6-git-send-email-xiaoguang.chen@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 31 May 2017 12:04:39 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2017-05-27 at 16:38 +0800, Xiaoguang Chen wrote: > +       if (plane_id == PLANE_PRIMARY) { Should be DRM_PLANE_TYPE_PRIMARY (likewise for the cursor).