From patchwork Mon Jan 15 13:44:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Lawrynowicz X-Patchwork-Id: 13519669 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 6E4E3C3DA79 for ; Mon, 15 Jan 2024 13:44:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B94C510E2D1; Mon, 15 Jan 2024 13:44:39 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C4F210E2D0 for ; Mon, 15 Jan 2024 13:44:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705326278; x=1736862278; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=XRhJ7Nyvd/HqBZaHUCuDCEiG1UnHszxQMMOZCvAECNU=; b=cNoGsVXUA4lq9TTy8CLgL3p62t3pII60mjlEXRPe/7no6QrsqLYWkc7B gziT5lfwovIcalUekydN5SWHOwgClAdiQSg8xUIUqjSAGfMmj1yxiK+Jw 8orJ+SoR7dodH5DANeSy7Z41+qDVYfI3xSqxAMpU5Hz9w50I5GZyltkei 9O31SMpuMh5z7bBHeP1AIEOcle3bLM5IQeiv4/RkixiAKCbmyEzCDgAj7 h0irRxYvOKpGk/b8c4aa0UxDeKzYMZ4nworaUzfu63VAFDo6xLTdOlLV8 Isoxm6pSMyFAuDeMZ/un5k2IpsqFBSbeBsZjr/nfqYUX8HzgdpN8fYvWj w==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="403378717" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="403378717" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 05:44:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="25472201" Received: from jlawryno.igk.intel.com ([10.91.220.59]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 05:44:37 -0800 From: Jacek Lawrynowicz To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/9] accel/ivpu fixes for 6.8 Date: Mon, 15 Jan 2024 14:44:25 +0100 Message-ID: <20240115134434.493839-1-jacek.lawrynowicz@linux.intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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@gmail.com, quic_jhugo@quicinc.com, Jacek Lawrynowicz Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Various driver fixes: - Fixes for infinite loops, missing locks and DMA-API debug warnings - Deprecate DRM_IVPU_PARAM_CONTEXT_PRIORITY - Improve diagnostic messages v2 includes changes from v1 review comments and drops IRQ infinite loop patch. Jacek Lawrynowicz (4): accel/ivpu: Fix for missing lock around drm_gem_shmem_vmap() accel/ivpu: Free buffer sgt on unbind accel/ivpu: Disable buffer sharing among VPU contexts accel/ivpu: Improve buffer object debug logs Wachowski, Karol (5): accel/ivpu: Dump MMU events in case of VPU boot timeout accel/ivpu: Call diagnose failure in ivpu_mmu_cmdq_sync() accel/ivpu: Add debug prints for MMU map/unmap operations accel/ivpu: Add diagnostic messages when VPU fails to boot or suspend accel/ivpu: Deprecate DRM_IVPU_PARAM_CONTEXT_PRIORITY param drivers/accel/ivpu/ivpu_drv.c | 17 +--- drivers/accel/ivpu/ivpu_drv.h | 2 +- drivers/accel/ivpu/ivpu_gem.c | 126 +++++++++----------------- drivers/accel/ivpu/ivpu_gem.h | 1 - drivers/accel/ivpu/ivpu_job.c | 3 + drivers/accel/ivpu/ivpu_mmu.c | 10 ++ drivers/accel/ivpu/ivpu_mmu.h | 1 + drivers/accel/ivpu/ivpu_mmu_context.c | 9 ++ drivers/accel/ivpu/ivpu_pm.c | 4 +- include/uapi/drm/ivpu_accel.h | 25 ++++- 10 files changed, 96 insertions(+), 102 deletions(-) --- 2.43.0