From patchwork Fri Apr 28 07:47:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 13226039 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CCC4C77B60 for ; Fri, 28 Apr 2023 07:50:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B9A8310E374; Fri, 28 Apr 2023 07:50:24 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5DBD210E0CC; Fri, 28 Apr 2023 07:50:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682668223; x=1714204223; h=date:from:to:cc:subject:message-id:reply-to:mime-version; bh=KNnnlR7dkv9MICRYZzU5PtUppjnivrDSfIyMh7ZmhoA=; b=jVjwe/uPQPELJjKK/aIMZaeZt/ucMODInac/f0JmlkQu02Q6Euu9qYj+ FJNRLJtzsvvK5uEoxLgwhMZUeBHI0smsIJdN+apuCENZRFMXq1x6UBwDV HqAhI6TpQo+Br6dgixQHpwttG2SxMpQWB98Zm2RqceN7NLKafn20NpCNd gom/QbiOQaah9g7rEwszZaQsUbLbEV7Q5xbHYYySNTGar2Izv7SAdV6/x eEbfl/SYf4enGeExr49ENHKTcODmT+orXX1bek0D6zcddvmGLT+WXm9o4 Y5QJk0y5mn+taHI7CzU0FyfehkUZHAYqfuWTHIDIrJKYLCmNXpPVQPjSO A==; X-IronPort-AV: E=McAfee;i="6600,9927,10693"; a="346445098" X-IronPort-AV: E=Sophos;i="5.99,233,1677571200"; d="asc'?scan'208";a="346445098" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2023 00:50:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10693"; a="838762956" X-IronPort-AV: E=Sophos;i="5.99,233,1677571200"; d="asc'?scan'208";a="838762956" Received: from debian-skl.sh.intel.com (HELO debian-skl) ([10.239.160.45]) by fmsmga001.fm.intel.com with ESMTP; 28 Apr 2023 00:50:20 -0700 Date: Fri, 28 Apr 2023 15:47:55 +0800 From: Zhenyu Wang To: Joonas Lahtinen , "Vivi, Rodrigo" , Jani Nikula , Tvrtko Ursulin Message-ID: MIME-Version: 1.0 Content-Disposition: inline Subject: [Intel-gfx] [PULL] gvt-next-fixes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Zhenyu Wang Cc: intel-gfx , intel-gvt-dev , "Lv, Zhiyuan" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, Here's one single change for gvt to use idr based dmabuf object reference instead of old adhoc code. We've verified no regression for internal test. Thanks. --- The following changes since commit d944eafed618a8507270b324ad9d5405bb7f0b3e: drm/i915: Check pipe source size when using skl+ scalers (2023-04-24 14:48:42 +0300) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2023-04-28 for you to fetch changes up to 004040fdb55fa55463730c95d1384cb67f9396c3: drm/i915/gvt: Make use of idr_find and idr_for_each_entry in dmabuf (2023-04-28 15:21:17 +0800) ---------------------------------------------------------------- gvt-next-fixes-2023-04-28 - Use idr based dmabuf object reference (Cai Huoqing) ---------------------------------------------------------------- Cai Huoqing (1): drm/i915/gvt: Make use of idr_find and idr_for_each_entry in dmabuf drivers/gpu/drm/i915/gvt/dmabuf.c | 58 ++++++++------------------------------- drivers/gpu/drm/i915/gvt/dmabuf.h | 1 - drivers/gpu/drm/i915/gvt/gvt.h | 1 - drivers/gpu/drm/i915/gvt/vgpu.c | 1 - 4 files changed, 12 insertions(+), 49 deletions(-)