From mboxrd@z Thu Jan 1 00:00:00 1970 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 CC8F4C77B73 for ; Tue, 6 Jun 2023 12:52:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 129EE10E331; Tue, 6 Jun 2023 12:52:42 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id B086810E331 for ; Tue, 6 Jun 2023 12:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686055959; x=1717591959; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QEYX0Ex41ZXbR1YLfgJZbRaO+hNuoY7e64mWtN7i1j4=; b=Kwp+xjEAICGXyICZZOu0M+vHEUPsAeIBVlN8U8wnaPg9g0yX7h55Goxz pUYhhg5pf5XvtjDg1v007wAFD74HFEQj3l1CzfkMYu78VLqFurm9zDYll 3Bnt/REjlRu8njz+rVlU9IZIi26HhmOUaoxd9uXrTsfPOSd7APqImoFfd yTpnzQzmN7NvoEiHshuenABZrnqOoEAoueVLMSq1JgzZGcA48DgX/Q0fi fNPkcoGI2TzafkM852sEDCLD8DJqUxUectM1MZQpfj/1/IhwklYOhxED1 H4lQAdrC5v7dfQvWJIqsP/a3mvzNaV7Q1nN7MH53t90vgPEGnywknc3kV A==; X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="354155646" X-IronPort-AV: E=Sophos;i="6.00,221,1681196400"; d="scan'208";a="354155646" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 05:52:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="738774413" X-IronPort-AV: E=Sophos;i="6.00,221,1681196400"; d="scan'208";a="738774413" Received: from joe-255.igk.intel.com (HELO localhost) ([10.91.220.57]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 05:52:36 -0700 Date: Tue, 6 Jun 2023 14:52:35 +0200 From: Stanislaw Gruszka To: dri-devel@lists.freedesktop.org Subject: Re: [PATCH] accel/ivpu: Reserve all non-command bo's using DMA_RESV_USAGE_BOOKKEEP Message-ID: <20230606125235.GB324119@linux.intel.com> References: <20230413063810.3167511-1-stanislaw.gruszka@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230413063810.3167511-1-stanislaw.gruszka@linux.intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oded Gabbay , Jeffrey Hugo , Jacek Lawrynowicz Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Apr 13, 2023 at 08:38:10AM +0200, Stanislaw Gruszka wrote: > Use DMA_RESV_USAGE_BOOKKEEP reservation for buffer objects, except for > command buffers for which we use DMA_RESV_USAGE_WRITE (since VPU can > write to command buffer context save area). > > Fixes: 0ec8671837a6 ("accel/ivpu: Fix S3 system suspend when not idle") > Signed-off-by: Stanislaw Gruszka Applied to drm-misc-fixes